spatial/force.hpp
Go to the documentation of this file.
1 //
2 // Copyright (c) 2015-2018 CNRS
3 // Copyright (c) 2016 Wandercraft, 86 rue de Paris 91400 Orsay, France.
4 //
5 
6 #ifndef __pinocchio_spatial_force_hpp__
7 #define __pinocchio_spatial_force_hpp__
8 
12 
13 #define FORCE_TYPEDEF_GENERIC(Derived, TYPENAME) \
14  typedef TYPENAME traits<Derived>::Scalar Scalar; \
15  typedef TYPENAME traits<Derived>::Vector3 Vector3; \
16  typedef TYPENAME traits<Derived>::Vector6 Vector6; \
17  typedef TYPENAME traits<Derived>::Matrix6 Matrix6; \
18  typedef TYPENAME traits<Derived>::ToVectorReturnType ToVectorReturnType; \
19  typedef TYPENAME traits<Derived>::ToVectorConstReturnType ToVectorConstReturnType; \
20  typedef TYPENAME traits<Derived>::AngularType AngularType; \
21  typedef TYPENAME traits<Derived>::LinearType LinearType; \
22  typedef TYPENAME traits<Derived>::ConstAngularType ConstAngularType; \
23  typedef TYPENAME traits<Derived>::ConstLinearType ConstLinearType; \
24  typedef TYPENAME traits<Derived>::ForcePlain ForcePlain; \
25  enum \
26  { \
27  LINEAR = traits<Derived>::LINEAR, \
28  ANGULAR = traits<Derived>::ANGULAR \
29  }
30 
31 #define FORCE_TYPEDEF_TPL(Derived) FORCE_TYPEDEF_GENERIC(Derived, typename)
32 
33 #define FORCE_TYPEDEF(Derived) FORCE_TYPEDEF_GENERIC(Derived, PINOCCHIO_MACRO_EMPTY_ARG)
34 
39 
40 #endif // ifndef __pinocchio_spatial_force_hpp__
fwd.hpp
motion.hpp
se3.hpp
force-ref.hpp
force-tpl.hpp
force-dense.hpp
force-base.hpp


pinocchio
Author(s):
autogenerated on Sat Jun 1 2024 02:40:35