File tree Expand file tree Collapse file tree 4 files changed +20
-29
lines changed Expand file tree Collapse file tree 4 files changed +20
-29
lines changed Original file line number Diff line number Diff line change @@ -169,31 +169,7 @@ extern template class SOT_CORE_DLLAPI FeaturePose<R3xSO3Representation>;
169169} /* namespace sot */
170170} /* namespace dynamicgraph */
171171
172-
173- using namespace std ;
174- using namespace dynamicgraph ;
175- using namespace dynamicgraph ::sot;
176-
177- typedef pinocchio::CartesianProductOperation<
178- pinocchio::VectorSpaceOperationTpl<3 , double >,
179- pinocchio::SpecialOrthogonalOperationTpl<3 , double > >
180- R3xSO3_t;
181- typedef pinocchio::SpecialEuclideanOperationTpl<3 , double > SE3_t;
182-
183- namespace dynamicgraph {
184- namespace sot {
185- namespace dg = dynamicgraph;
186-
187- template <Representation_t representation> struct LG_t {
188- typedef typename boost::mpl::if_c<representation == SE3Representation, SE3_t,
189- R3xSO3_t>::type type;
190- };
191-
192- typedef FeaturePose<R3xSO3Representation> FeaturePose_t;
193- typedef FeaturePose<SE3Representation> FeaturePoseSE3_t;
194- }
195- }
196-
172+ #include < sot/core/feature-pose.hxx>
197173
198174#endif // #ifndef __SOT_FEATURE_TRANSFORMATION_HH__
199175
Original file line number Diff line number Diff line change 2727#include < sot/core/factory.hh>
2828#include < sot/core/feature-pose.hh>
2929
30+ using namespace std ;
31+ using namespace dynamicgraph ;
32+ using namespace dynamicgraph ::sot;
33+
34+ typedef pinocchio::CartesianProductOperation<
35+ pinocchio::VectorSpaceOperationTpl<3 , double >,
36+ pinocchio::SpecialOrthogonalOperationTpl<3 , double > >
37+ R3xSO3_t;
38+ typedef pinocchio::SpecialEuclideanOperationTpl<3 , double > SE3_t;
39+
3040namespace dynamicgraph {
3141namespace sot {
3242namespace dg = dynamicgraph;
3343
44+ template <Representation_t representation> struct LG_t {
45+ typedef typename boost::mpl::if_c<representation == SE3Representation, SE3_t,
46+ R3xSO3_t>::type type;
47+ };
48+
49+ typedef FeaturePose<R3xSO3Representation> FeaturePose_t;
50+ typedef FeaturePose<SE3Representation> FeaturePoseSE3_t;
51+
52+
3453/* --------------------------------------------------------------------- */
3554/* --- CLASS ----------------------------------------------------------- */
3655/* --------------------------------------------------------------------- */
Original file line number Diff line number Diff line change 2828#include < sot/core/debug.hh>
2929#include < sot/core/factory.hh>
3030#include < sot/core/feature-pose.hh>
31- #include < sot/core/feature-pose.hxx>
3231
3332using namespace std ;
3433using namespace dynamicgraph ;
Original file line number Diff line number Diff line change 2727
2828#include < Eigen/SVD>
2929#include < dynamic-graph/linear-algebra.h>
30- #include < dynamic-graph/factory.h>
3130#include < sot/core/debug.hh>
3231#include < sot/core/feature-abstract.hh>
3332#include < sot/core/feature-generic.hh>
3433#include < sot/core/feature-pose.hh>
35- #include < sot/core/feature-pose.hxx>
3634#include < sot/core/gain-adaptive.hh>
3735#include < sot/core/sot.hh>
3836#include < sot/core/task.hh>
3937
4038using namespace std ;
4139using namespace dynamicgraph ::sot;
4240using namespace dynamicgraph ;
43- namespace dg = dynamicgraph;
4441
4542#define EIGEN_VECTOR_IS_APPROX (Va, Vb, precision ) \
4643 BOOST_CHECK_MESSAGE ((Va).isApprox(Vb, precision), \
You can’t perform that action at this time.
0 commit comments