6 #ifndef __pinocchio_motion_zero_hpp__ 7 #define __pinocchio_motion_zero_hpp__ 15 template<
typename Scalar,
int Options>
16 struct SE3GroupAction< BiasZeroTpl<Scalar,Options> >
18 typedef BiasZeroTpl<Scalar,Options> ReturnType;
21 template<
typename Scalar,
int Options,
typename MotionDerived>
22 struct MotionAlgebraAction< BiasZeroTpl<Scalar,Options>, MotionDerived>
24 typedef BiasZeroTpl<Scalar,Options> ReturnType;
28 template<
typename _Scalar,
int _Options>
36 typedef _Scalar Scalar;
37 typedef Eigen::Matrix<Scalar,3,1,Options> Vector3;
38 typedef Eigen::Matrix<Scalar,6,1,Options> Vector6;
39 typedef Eigen::Matrix<Scalar,3,3,Options> Matrix3;
40 typedef Eigen::Matrix<Scalar,6,6,Options> Matrix6;
41 typedef typename PINOCCHIO_EIGEN_REF_CONST_TYPE(Vector6) ToVectorConstReturnType;
42 typedef typename PINOCCHIO_EIGEN_REF_TYPE(Vector6) ToVectorReturnType;
43 typedef Matrix6 ActionMatrixType;
44 typedef Vector3 AngularType;
45 typedef const Vector3 ConstAngularType;
46 typedef Vector3 LinearType;
47 typedef const Vector3 ConstLinearType;
52 template<
typename Scalar,
int Options>
61 {
return other.linear().isZero() && other.angular().isZero(); }
78 template<
typename S2,
int O2,
typename D2>
84 template<
typename S2,
int O2>
90 template<
typename S2,
int O2,
typename D2>
96 template<
typename S2,
int O2>
104 template<
typename M1,
typename Scalar,
int Options>
107 {
return v.derived(); }
109 template<
typename Scalar,
int Options,
typename M1>
112 {
return v.derived(); }
116 #endif // ifndef __pinocchio_motion_zero_hpp__
Main pinocchio namespace.
Common traits structure to fully define base classes for CRTP.