From e2ce27f712248158ada9b534805242166cccf365 Mon Sep 17 00:00:00 2001 From: Duy-Nguyen Ta Date: Fri, 18 Sep 2015 22:38:08 -0400 Subject: [PATCH] move static member definition to cpp file --- gtsam_unstable/geometry/Event.cpp | 29 +++++++++++++++++++++++++++++ gtsam_unstable/geometry/Event.h | 3 --- 2 files changed, 29 insertions(+), 3 deletions(-) create mode 100644 gtsam_unstable/geometry/Event.cpp diff --git a/gtsam_unstable/geometry/Event.cpp b/gtsam_unstable/geometry/Event.cpp new file mode 100644 index 000000000..68d4d60ce --- /dev/null +++ b/gtsam_unstable/geometry/Event.cpp @@ -0,0 +1,29 @@ +/* ---------------------------------------------------------------------------- + + * GTSAM Copyright 2010, Georgia Tech Research Corporation, + * Atlanta, Georgia 30332-0415 + * All Rights Reserved + * Authors: Frank Dellaert, et al. (see THANKS for the full author list) + + * See LICENSE for the license information + + * -------------------------------------------------------------------------- */ + +/** + * @file Event + * @brief Space-time event + * @author Frank Dellaert + * @author Jay Chakravarty + * @date December 2014 + */ + +#include + +namespace gtsam { + +const double Event::Speed = 330; +const Matrix14 Event::JacobianZ = (Matrix14() << 0,0,0,1).finished(); + +} + + diff --git a/gtsam_unstable/geometry/Event.h b/gtsam_unstable/geometry/Event.h index 9d35331bb..3c622924a 100644 --- a/gtsam_unstable/geometry/Event.h +++ b/gtsam_unstable/geometry/Event.h @@ -99,9 +99,6 @@ public: } }; -const double Event::Speed = 330; -const Matrix14 Event::JacobianZ = (Matrix14() << 0,0,0,1).finished(); - // Define GTSAM traits template<> struct GTSAM_EXPORT traits : internal::Manifold {};