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>
25 template<
typename Type,
typename Scalar>
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;
74 #define SPATIAL_TYPEDEF_TEMPLATE_GENERIC(derived,TYPENAME) \ 75 typedef TYPENAME traits<derived>::Scalar Scalar; \ 76 typedef TYPENAME traits<derived>::Vector3 Vector3; \ 77 typedef TYPENAME traits<derived>::Vector4 Vector4; \ 78 typedef TYPENAME traits<derived>::Vector6 Vector6; \ 79 typedef TYPENAME traits<derived>::Matrix3 Matrix3; \ 80 typedef TYPENAME traits<derived>::Matrix4 Matrix4; \ 81 typedef TYPENAME traits<derived>::Matrix6 Matrix6; \ 82 typedef TYPENAME traits<derived>::Angular_t Angular_t; \ 83 typedef TYPENAME traits<derived>::Linear_t Linear_t; \ 84 typedef TYPENAME traits<derived>::ConstAngular_t ConstAngular_t; \ 85 typedef TYPENAME traits<derived>::ConstLinear_t ConstLinear_t; \ 86 typedef TYPENAME traits<derived>::ActionMatrix_t ActionMatrix_t; \ 87 typedef TYPENAME traits<derived>::Quaternion_t Quaternion_t; \ 88 typedef TYPENAME traits<derived>::SE3 SE3; \ 89 typedef TYPENAME traits<derived>::Force Force; \ 90 typedef TYPENAME traits<derived>::Motion Motion; \ 91 typedef TYPENAME traits<derived>::Symmetric3 Symmetric3; \ 93 LINEAR = traits<derived>::LINEAR, \ 94 ANGULAR = traits<derived>::ANGULAR \ 97 #define SPATIAL_TYPEDEF_TEMPLATE(derived) \ 98 SPATIAL_TYPEDEF_TEMPLATE_GENERIC(derived,typename) 100 #define SPATIAL_TYPEDEF_NO_TEMPLATE(derived) \ 101 SPATIAL_TYPEDEF_TEMPLATE_GENERIC(derived,PINOCCHIO_MACRO_EMPTY_ARG) 107 template<
typename Class,
typename NewScalar,
typename Scalar>
113 #endif // ifndef __pinocchio_spatial_fwd_hpp__ InertiaTpl< double, 0 > Inertia
ForceTpl< double, 0 > Force
BiasZeroTpl has been replaced by MotionZeroTpl. Please use this naming instead.
#define PINOCCHIO_COMPILER_DIAGNOSTIC_POP
PINOCCHIO_COMPILER_DIAGNOSTIC_PUSH PINOCCHIO_COMPILER_DIAGNOSTIC_IGNORED_DEPRECECATED_DECLARATIONS typedef BiasZeroTpl< double, 0 > BiasZero
MotionTpl< double, 0 > Motion
Base interface for forces representation.
Main pinocchio namespace.
Symmetric3Tpl< double, 0 > Symmetric3
#define PINOCCHIO_COMPILER_DIAGNOSTIC_PUSH
macros for pragma push/pop/ignore deprecated warnings
#define PINOCCHIO_COMPILER_DIAGNOSTIC_IGNORED_DEPRECECATED_DECLARATIONS
MotionZeroTpl< double, 0 > MotionZero