6 #ifndef __pinocchio_spatial_fwd_hpp__ 7 #define __pinocchio_spatial_fwd_hpp__ 9 #include "pinocchio/fwd.hpp" 10 #include "pinocchio/macros.hpp" 18 template<
typename Type,
typename Scalar>
19 struct RHSScalarMultiplication
21 typedef Type ReturnType;
25 template<
typename Type,
typename Scalar>
26 struct LHSScalarMultiplication
28 typedef Type ReturnType;
38 template<
typename Scalar,
int Options=0>
struct SE3Tpl;
43 template<
typename Scalar,
int Options=0>
class MotionTpl;
45 template<
typename Scalar,
int Options=0>
struct PINOCCHIO_DEPRECATED
BiasZeroTpl;
47 template<
typename Derived>
class ForceBase;
49 template<
typename Vector6ArgType>
class ForceRef;
50 template<
typename Scalar,
int Options=0>
class ForceTpl;
52 template<
typename Scalar,
int Options=0>
class InertiaTpl;
63 #pragma GCC diagnostic push 64 #pragma GCC diagnostic ignored "-Wdeprecated-declarations" 66 #pragma GCC diagnostic pop 73 #define SPATIAL_TYPEDEF_TEMPLATE_GENERIC(derived,TYPENAME) \ 74 typedef TYPENAME traits<derived>::Scalar Scalar; \ 75 typedef TYPENAME traits<derived>::Vector3 Vector3; \ 76 typedef TYPENAME traits<derived>::Vector4 Vector4; \ 77 typedef TYPENAME traits<derived>::Vector6 Vector6; \ 78 typedef TYPENAME traits<derived>::Matrix3 Matrix3; \ 79 typedef TYPENAME traits<derived>::Matrix4 Matrix4; \ 80 typedef TYPENAME traits<derived>::Matrix6 Matrix6; \ 81 typedef TYPENAME traits<derived>::Angular_t Angular_t; \ 82 typedef TYPENAME traits<derived>::Linear_t Linear_t; \ 83 typedef TYPENAME traits<derived>::ConstAngular_t ConstAngular_t; \ 84 typedef TYPENAME traits<derived>::ConstLinear_t ConstLinear_t; \ 85 typedef TYPENAME traits<derived>::ActionMatrix_t ActionMatrix_t; \ 86 typedef TYPENAME traits<derived>::Quaternion_t Quaternion_t; \ 87 typedef TYPENAME traits<derived>::SE3 SE3; \ 88 typedef TYPENAME traits<derived>::Force Force; \ 89 typedef TYPENAME traits<derived>::Motion Motion; \ 90 typedef TYPENAME traits<derived>::Symmetric3 Symmetric3; \ 92 LINEAR = traits<derived>::LINEAR, \ 93 ANGULAR = traits<derived>::ANGULAR \ 96 #define SPATIAL_TYPEDEF_TEMPLATE(derived) \ 97 SPATIAL_TYPEDEF_TEMPLATE_GENERIC(derived,typename) 99 #define SPATIAL_TYPEDEF_NO_TEMPLATE(derived) \ 100 SPATIAL_TYPEDEF_TEMPLATE_GENERIC(derived,PINOCCHIO_MACRO_EMPTY_ARG) 106 template<
typename Class,
typename NewScalar,
typename Scalar>
107 struct cast_call_normalize_method;
112 #endif // ifndef __pinocchio_spatial_fwd_hpp__
BiasZeroTpl has been replaced by MotionZeroTpl. Please use this naming instead.
Base interface for forces representation.
Main pinocchio namespace.