motion-ref.hpp
Go to the documentation of this file.
1 //
2 // Copyright (c) 2017-2019 CNRS INRIA
3 //
4 
5 #ifndef __pinocchio_spatial_motion_ref_hpp__
6 #define __pinocchio_spatial_motion_ref_hpp__
7 
8 namespace pinocchio
9 {
10 
11  template<typename Vector6ArgType>
12  struct traits<MotionRef<Vector6ArgType>>
13  {
14  typedef typename Vector6ArgType::Scalar Scalar;
15  typedef typename PINOCCHIO_EIGEN_PLAIN_TYPE(Vector6ArgType) Vector6;
16  enum
17  {
18  LINEAR = 0,
19  ANGULAR = 3,
21  };
22  typedef Eigen::Matrix<Scalar, 3, 1, Options> Vector3;
23  typedef Eigen::Matrix<Scalar, 4, 4, Options> Matrix4;
24  typedef Eigen::Matrix<Scalar, 6, 6, Options> Matrix6;
27  typedef typename Vector6ArgType::template FixedSegmentReturnType<3>::Type LinearType;
28  typedef typename Vector6ArgType::template FixedSegmentReturnType<3>::Type AngularType;
29  typedef typename Vector6ArgType::template ConstFixedSegmentReturnType<3>::Type ConstLinearType;
30  typedef typename Vector6ArgType::template ConstFixedSegmentReturnType<3>::Type ConstAngularType;
33  typedef typename PINOCCHIO_EIGEN_REF_TYPE(Vector6ArgType) DataRefType;
34  typedef DataRefType ToVectorReturnType;
35  typedef typename PINOCCHIO_EIGEN_REF_CONST_TYPE(Vector6ArgType) ConstDataRefType;
36  typedef ConstDataRefType ToVectorConstReturnType;
38 
39  }; // traits MotionRef
40 
41  template<typename Vector6ArgType>
42  struct SE3GroupAction<MotionRef<Vector6ArgType>>
43  {
44  typedef typename traits<MotionRef<Vector6ArgType>>::MotionPlain ReturnType;
45  };
46 
47  template<typename Vector6ArgType, typename MotionDerived>
48  struct MotionAlgebraAction<MotionRef<Vector6ArgType>, MotionDerived>
49  {
50  typedef typename traits<MotionRef<Vector6ArgType>>::MotionPlain ReturnType;
51  };
52 
53  namespace internal
54  {
55  template<typename Vector6ArgType, typename Scalar>
56  struct RHSScalarMultiplication<MotionRef<Vector6ArgType>, Scalar>
57  {
59  };
60 
61  template<typename Vector6ArgType, typename Scalar>
62  struct LHSScalarMultiplication<MotionRef<Vector6ArgType>, Scalar>
63  {
64  typedef typename traits<MotionRef<Vector6ArgType>>::MotionPlain ReturnType;
65  };
66  } // namespace internal
67 
68  template<typename Vector6ArgType>
69  class MotionRef : public MotionDense<MotionRef<Vector6ArgType>>
70  {
71  public:
72  EIGEN_MAKE_ALIGNED_OPERATOR_NEW
76 
77  using Base::operator=;
78  using Base::angular;
79  using Base::linear;
80 
81  using Base::__mequ__;
82  using Base::__minus__;
83  using Base::__mult__;
84  using Base::__opposite__;
85  using Base::__pequ__;
86  using Base::__plus__;
87 
89  MotionRef(typename PINOCCHIO_EIGEN_REF_TYPE(Vector6ArgType) v_like)
90  : m_ref(v_like)
91  {
92  EIGEN_STATIC_ASSERT(
93  Vector6ArgType::ColsAtCompileTime == 1, YOU_TRIED_CALLING_A_VECTOR_METHOD_ON_A_MATRIX);
94  assert(v_like.size() == 6);
95  }
96 
98  MotionRef(const MotionRef & other)
99  : m_ref(other.m_ref)
100  {
101  }
102 
103  ToVectorConstReturnType toVector_impl() const
104  {
105  return m_ref;
106  }
107  ToVectorReturnType toVector_impl()
108  {
109  return m_ref;
110  }
111 
112  // Getters
113  ConstAngularType angular_impl() const
114  {
115  return ConstAngularType(m_ref.derived(), ANGULAR);
116  }
117  ConstLinearType linear_impl() const
118  {
119  return ConstLinearType(m_ref.derived(), LINEAR);
120  }
121  AngularType angular_impl()
122  {
123  return m_ref.template segment<3>(ANGULAR);
124  }
125  LinearType linear_impl()
126  {
127  return m_ref.template segment<3>(LINEAR);
128  }
129 
130  template<typename V3>
131  void angular_impl(const Eigen::MatrixBase<V3> & w)
132  {
133  EIGEN_STATIC_ASSERT_VECTOR_SPECIFIC_SIZE(V3, 3);
134  angular_impl() = w;
135  }
136 
137  template<typename V3>
138  void linear_impl(const Eigen::MatrixBase<V3> & v)
139  {
140  EIGEN_STATIC_ASSERT_VECTOR_SPECIFIC_SIZE(V3, 3);
141  linear_impl() = v;
142  }
143 
144  // Specific operators for MotionTpl and MotionRef
145  template<typename S1, int O1>
146  MotionPlain __plus__(const MotionTpl<S1, O1> & v) const
147  {
148  return MotionPlain(m_ref + v.toVector());
149  }
150 
151  template<typename Vector6Like>
152  MotionPlain __plus__(const MotionRef<Vector6ArgType> & v) const
153  {
154  return MotionPlain(m_ref + v.toVector());
155  }
156 
157  template<typename S1, int O1>
158  MotionPlain __minus__(const MotionTpl<S1, O1> & v) const
159  {
160  return MotionPlain(m_ref - v.toVector());
161  }
162 
163  template<typename Vector6Like>
164  MotionPlain __minus__(const MotionRef<Vector6ArgType> & v) const
165  {
166  return MotionPlain(m_ref - v.toVector());
167  }
168 
169  template<typename S1, int O1>
171  {
172  m_ref += v.toVector();
173  return *this;
174  }
175 
176  template<typename Vector6Like>
178  {
179  m_ref += v.toVector();
180  return *this;
181  }
182 
183  template<typename S1, int O1>
185  {
186  m_ref -= v.toVector();
187  return *this;
188  }
189 
190  template<typename Vector6Like>
192  {
193  m_ref -= v.toVector();
194  return *this;
195  }
196 
197  template<typename OtherScalar>
198  MotionPlain __mult__(const OtherScalar & alpha) const
199  {
200  return MotionPlain(alpha * m_ref);
201  }
202 
204  {
205  return *this;
206  }
207 
208  inline PlainReturnType plain() const
209  {
210  return PlainReturnType(m_ref);
211  }
212 
213  protected:
215 
216  }; // class MotionRef<Vector6Like>
217 
218  template<typename Vector6ArgType>
219  struct traits<MotionRef<const Vector6ArgType>>
220  {
221  typedef typename Vector6ArgType::Scalar Scalar;
222  typedef typename PINOCCHIO_EIGEN_PLAIN_TYPE(Vector6ArgType) Vector6;
223  enum
224  {
225  LINEAR = 0,
226  ANGULAR = 3,
228  };
229  typedef Eigen::Matrix<Scalar, 3, 1, Options> Vector3;
230  typedef Eigen::Matrix<Scalar, 4, 4, Options> Matrix4;
231  typedef Eigen::Matrix<Scalar, 6, 6, Options> Matrix6;
234  typedef typename Vector6ArgType::template ConstFixedSegmentReturnType<3>::Type ConstLinearType;
235  typedef typename Vector6ArgType::template ConstFixedSegmentReturnType<3>::Type ConstAngularType;
240  typedef typename PINOCCHIO_EIGEN_REF_CONST_TYPE(Vector6ArgType) ConstDataRefType;
241  typedef ConstDataRefType ToVectorConstReturnType;
242  typedef ConstDataRefType DataRefType;
245 
246  }; // traits MotionRef<const Vector6ArgType>
247 
248  template<typename Vector6ArgType>
249  class MotionRef<const Vector6ArgType> : public MotionDense<MotionRef<const Vector6ArgType>>
250  {
251  public:
252  EIGEN_MAKE_ALIGNED_OPERATOR_NEW
256 
257  using Base::operator=;
258  using Base::angular;
259  using Base::linear;
260 
261  using Base::__minus__;
262  using Base::__mult__;
263  using Base::__opposite__;
264  using Base::__plus__;
265 
266  MotionRef(typename PINOCCHIO_EIGEN_REF_CONST_TYPE(Vector6ArgType) v_like)
267  : m_ref(v_like)
268  {
269  EIGEN_STATIC_ASSERT(
270  Vector6ArgType::ColsAtCompileTime == 1, YOU_TRIED_CALLING_A_VECTOR_METHOD_ON_A_MATRIX);
271  assert(v_like.size() == 6);
272  }
273 
275  MotionRef(const MotionRef & other)
276  : m_ref(other.m_ref)
277  {
278  }
279 
280  ToVectorConstReturnType toVector_impl() const
281  {
282  return m_ref;
283  }
284 
285  // Getters
286  ConstAngularType angular_impl() const
287  {
288  return ConstAngularType(m_ref.derived(), ANGULAR);
289  }
290  ConstLinearType linear_impl() const
291  {
292  return ConstLinearType(m_ref.derived(), LINEAR);
293  }
294 
295  // Specific operators for MotionTpl and MotionRef
296  template<typename S1, int O1>
297  MotionPlain __plus__(const MotionTpl<S1, O1> & v) const
298  {
299  return MotionPlain(m_ref + v.toVector());
300  }
301 
302  template<typename Vector6Like>
303  MotionPlain __plus__(const MotionRef<Vector6ArgType> & v) const
304  {
305  return MotionPlain(m_ref + v.toVector());
306  }
307 
308  template<typename S1, int O1>
309  MotionPlain __minus__(const MotionTpl<S1, O1> & v) const
310  {
311  return MotionPlain(m_ref - v.toVector());
312  }
313 
314  template<typename Vector6Like>
315  MotionPlain __minus__(const MotionRef<Vector6ArgType> & v) const
316  {
317  return MotionPlain(m_ref - v.toVector());
318  }
319 
320  template<typename OtherScalar>
321  MotionPlain __mult__(const OtherScalar & alpha) const
322  {
323  return MotionPlain(alpha * m_ref);
324  }
325 
326  const MotionRef & ref() const
327  {
328  return *this;
329  }
330 
331  inline PlainReturnType plain() const
332  {
333  return PlainReturnType(m_ref);
334  }
335 
336  protected:
338 
339  }; // class MotionRef<const Vector6Like>
340 
341 } // namespace pinocchio
342 
343 #endif // ifndef __pinocchio_spatial_motion_ref_hpp__
pinocchio::MotionRef::__plus__
MotionPlain __plus__(const MotionRef< Vector6ArgType > &v) const
Definition: motion-ref.hpp:152
pinocchio::MotionRef::MotionRef
MotionRef(const MotionRef &other)
Copy constructor from another MotionRef.
Definition: motion-ref.hpp:98
pinocchio::traits< MotionRef< Vector6ArgType > >::ToVectorReturnType
DataRefType ToVectorReturnType
Definition: motion-ref.hpp:34
pinocchio::MotionRef::MOTION_TYPEDEF_TPL
MOTION_TYPEDEF_TPL(MotionRef)
pinocchio::MotionRef::linear_impl
LinearType linear_impl()
Definition: motion-ref.hpp:125
pinocchio::traits< MotionRef< Vector6ArgType > >::ActionMatrixType
Matrix6 ActionMatrixType
Definition: motion-ref.hpp:25
pinocchio::MotionRef::DataRefType
traits< MotionRef >::DataRefType DataRefType
Definition: motion-ref.hpp:74
pinocchio::MotionRef< const Vector6ArgType >::Base
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef MotionDense< MotionRef > Base
Definition: motion-ref.hpp:253
pinocchio::traits< MotionRef< const Vector6ArgType > >::Vector3
Eigen::Matrix< Scalar, 3, 1, Options > Vector3
Definition: motion-ref.hpp:229
pinocchio::Options
Options
Definition: joint-configuration.hpp:1082
pinocchio::SE3GroupAction< MotionRef< Vector6ArgType > >::ReturnType
traits< MotionRef< Vector6ArgType > >::MotionPlain ReturnType
Definition: motion-ref.hpp:44
pinocchio::traits< MotionRef< const Vector6ArgType > >::ToVectorConstReturnType
ConstDataRefType ToVectorConstReturnType
Definition: motion-ref.hpp:241
pinocchio::internal::RHSScalarMultiplication< MotionRef< Vector6ArgType >, Scalar >::ReturnType
pinocchio::traits< MotionRef< Vector6ArgType > >::MotionPlain ReturnType
Definition: motion-ref.hpp:58
pinocchio::traits< MotionRef< const Vector6ArgType > >::MotionRefType
MotionRef< const Vector6ArgType > MotionRefType
Definition: motion-ref.hpp:244
pinocchio::internal::LHSScalarMultiplication< MotionRef< Vector6ArgType >, Scalar >::ReturnType
traits< MotionRef< Vector6ArgType > >::MotionPlain ReturnType
Definition: motion-ref.hpp:64
pinocchio::PINOCCHIO_EIGEN_REF_CONST_TYPE
PINOCCHIO_EIGEN_REF_CONST_TYPE(Matrix6Like) operator*(const Eigen
Definition: joint-free-flyer.hpp:144
pinocchio::MotionRef::toVector_impl
ToVectorReturnType toVector_impl()
Definition: motion-ref.hpp:107
pinocchio::MotionDense
Definition: context/casadi.hpp:36
pinocchio::python::Scalar
context::Scalar Scalar
Definition: admm-solver.cpp:29
pinocchio::traits< MotionRef< Vector6ArgType > >::ConstAngularType
Vector6ArgType::template ConstFixedSegmentReturnType< 3 >::Type ConstAngularType
Definition: motion-ref.hpp:30
pinocchio::MotionRef< const Vector6ArgType >::angular_impl
ConstAngularType angular_impl() const
Definition: motion-ref.hpp:286
pinocchio::traits< MotionRef< Vector6ArgType > >::Matrix4
Eigen::Matrix< Scalar, 4, 4, Options > Matrix4
Definition: motion-ref.hpp:23
pinocchio::traits< MotionRef< Vector6ArgType > >::LinearType
Vector6ArgType::template FixedSegmentReturnType< 3 >::Type LinearType
Definition: motion-ref.hpp:27
pinocchio::MotionRef::MotionRef
MotionRef(typename PINOCCHIO_EIGEN_REF_TYPE(Vector6ArgType) v_like)
Default constructor from a 6 dimensional vector.
Definition: motion-ref.hpp:89
pinocchio::MotionAlgebraAction
Return type of the ation of a Motion onto an object of type D.
Definition: spatial/motion.hpp:45
pinocchio::traits< MotionRef< const Vector6ArgType > >::DataRefType
ConstDataRefType DataRefType
Definition: motion-ref.hpp:242
pinocchio::traits< MotionRef< const Vector6ArgType > >::Matrix6
Eigen::Matrix< Scalar, 6, 6, Options > Matrix6
Definition: motion-ref.hpp:231
pinocchio::SE3GroupAction
Definition: spatial/se3.hpp:39
pinocchio::traits< MotionRef< Vector6ArgType > >::MotionPlain
MotionTpl< Scalar, Options > MotionPlain
Definition: motion-ref.hpp:31
pinocchio::MotionRef< const Vector6ArgType >::plain
PlainReturnType plain() const
Definition: motion-ref.hpp:331
pinocchio::traits< MotionRef< Vector6ArgType > >::AngularType
Vector6ArgType::template FixedSegmentReturnType< 3 >::Type AngularType
Definition: motion-ref.hpp:28
pinocchio::python::Options
@ Options
Definition: expose-contact-inverse-dynamics.cpp:22
pinocchio::traits< MotionRef< Vector6ArgType > >::ConstLinearType
Vector6ArgType::template ConstFixedSegmentReturnType< 3 >::Type ConstLinearType
Definition: motion-ref.hpp:29
reachable-workspace-with-collisions.alpha
float alpha
Definition: reachable-workspace-with-collisions.py:162
pinocchio::MotionRef::ref
MotionRef & ref()
Definition: motion-ref.hpp:203
pinocchio::MotionRef::plain
PlainReturnType plain() const
Definition: motion-ref.hpp:208
pinocchio::traits< MotionRef< const Vector6ArgType > >::ActionMatrixType
Matrix6 ActionMatrixType
Definition: motion-ref.hpp:232
pinocchio::traits< MotionRef< const Vector6ArgType > >::ToVectorReturnType
DataRefType ToVectorReturnType
Definition: motion-ref.hpp:243
pinocchio::MotionRef::angular_impl
void angular_impl(const Eigen::MatrixBase< V3 > &w)
Definition: motion-ref.hpp:131
pinocchio::MotionRef::m_ref
DataRefType m_ref
Definition: motion-ref.hpp:214
pinocchio::traits< MotionRef< const Vector6ArgType > >::LinearType
ConstLinearType LinearType
Definition: motion-ref.hpp:236
pinocchio::MotionAlgebraAction< MotionRef< Vector6ArgType >, MotionDerived >::ReturnType
traits< MotionRef< Vector6ArgType > >::MotionPlain ReturnType
Definition: motion-ref.hpp:50
pinocchio::traits< MotionRef< Vector6ArgType > >::Vector3
Eigen::Matrix< Scalar, 3, 1, Options > Vector3
Definition: motion-ref.hpp:22
pinocchio::MotionRef::Base
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef MotionDense< MotionRef > Base
Definition: motion-ref.hpp:73
pinocchio::MotionRef::__plus__
MotionPlain __plus__(const MotionTpl< S1, O1 > &v) const
Definition: motion-ref.hpp:146
pinocchio::MotionRef< const Vector6ArgType >::__minus__
MotionPlain __minus__(const MotionTpl< S1, O1 > &v) const
Definition: motion-ref.hpp:309
pinocchio::traits< MotionRef< const Vector6ArgType > >::Matrix4
Eigen::Matrix< Scalar, 4, 4, Options > Matrix4
Definition: motion-ref.hpp:230
pinocchio::MotionRef::__mequ__
MotionRef & __mequ__(const MotionRef< Vector6ArgType > &v)
Definition: motion-ref.hpp:191
pinocchio::MotionRef< const Vector6ArgType >::toVector_impl
ToVectorConstReturnType toVector_impl() const
Definition: motion-ref.hpp:280
ur5x4.w
w
Definition: ur5x4.py:50
pinocchio::MotionRef< const Vector6ArgType >::linear_impl
ConstLinearType linear_impl() const
Definition: motion-ref.hpp:290
pinocchio::MotionRef< const Vector6ArgType >::__plus__
MotionPlain __plus__(const MotionTpl< S1, O1 > &v) const
Definition: motion-ref.hpp:297
pinocchio::MotionRef::__minus__
MotionPlain __minus__(const MotionTpl< S1, O1 > &v) const
Definition: motion-ref.hpp:158
pinocchio::MotionRef< const Vector6ArgType >::m_ref
DataRefType m_ref
Definition: motion-ref.hpp:337
pinocchio::MotionRef< const Vector6ArgType >::__minus__
MotionPlain __minus__(const MotionRef< Vector6ArgType > &v) const
Definition: motion-ref.hpp:315
pinocchio::MotionRef::angular_impl
ConstAngularType angular_impl() const
Definition: motion-ref.hpp:113
pinocchio::traits< MotionRef< Vector6ArgType > >::MotionRefType
MotionRef< Vector6ArgType > MotionRefType
Definition: motion-ref.hpp:37
pinocchio::MotionRef< const Vector6ArgType >::ref
const MotionRef & ref() const
Definition: motion-ref.hpp:326
pinocchio::traits< MotionRef< Vector6ArgType > >::PlainReturnType
MotionPlain PlainReturnType
Definition: motion-ref.hpp:32
pinocchio::v
JointCollectionTpl const Eigen::MatrixBase< ConfigVectorType > const Eigen::MatrixBase< TangentVectorType > & v
Definition: joint-configuration.hpp:1084
pinocchio::traits< MotionRef< const Vector6ArgType > >::PlainReturnType
MotionPlain PlainReturnType
Definition: motion-ref.hpp:239
pinocchio::MotionRef< const Vector6ArgType >::__plus__
MotionPlain __plus__(const MotionRef< Vector6ArgType > &v) const
Definition: motion-ref.hpp:303
pinocchio::MotionRef< const Vector6ArgType >::__mult__
MotionPlain __mult__(const OtherScalar &alpha) const
Definition: motion-ref.hpp:321
pinocchio::internal::traits
Definition: fwd.hpp:83
pinocchio::MotionRef::toVector_impl
ToVectorConstReturnType toVector_impl() const
Definition: motion-ref.hpp:103
pinocchio::MotionRef::linear_impl
ConstLinearType linear_impl() const
Definition: motion-ref.hpp:117
pinocchio::MotionRef::__mult__
MotionPlain __mult__(const OtherScalar &alpha) const
Definition: motion-ref.hpp:198
pinocchio::MotionRef< const Vector6ArgType >::DataRefType
traits< MotionRef >::DataRefType DataRefType
Definition: motion-ref.hpp:254
pinocchio::MotionRef::__pequ__
MotionRef & __pequ__(const MotionTpl< S1, O1 > &v)
Definition: motion-ref.hpp:170
pinocchio::MotionRef< const Vector6ArgType >
Definition: motion-ref.hpp:249
pinocchio::internal::RHSScalarMultiplication
&#160;
Definition: context/casadi.hpp:45
pinocchio::traits< MotionRef< Vector6ArgType > >::Matrix6
Eigen::Matrix< Scalar, 6, 6, Options > Matrix6
Definition: motion-ref.hpp:24
pinocchio::traits< MotionRef< const Vector6ArgType > >::ConstLinearType
Vector6ArgType::template ConstFixedSegmentReturnType< 3 >::Type ConstLinearType
Definition: motion-ref.hpp:234
pinocchio::traits< MotionRef< Vector6ArgType > >::ToVectorConstReturnType
ConstDataRefType ToVectorConstReturnType
Definition: motion-ref.hpp:36
pinocchio::traits< MotionRef< const Vector6ArgType > >::AngularType
ConstAngularType AngularType
Definition: motion-ref.hpp:237
pinocchio::traits< MotionRef< const Vector6ArgType > >::MotionPlain
MotionTpl< Scalar, Options > MotionPlain
Definition: motion-ref.hpp:238
pinocchio::traits
Common traits structure to fully define base classes for CRTP.
Definition: fwd.hpp:71
pinocchio::MotionRef::linear_impl
void linear_impl(const Eigen::MatrixBase< V3 > &v)
Definition: motion-ref.hpp:138
pinocchio::traits< MotionRef< const Vector6ArgType > >::HomogeneousMatrixType
Matrix4 HomogeneousMatrixType
Definition: motion-ref.hpp:233
pinocchio::PINOCCHIO_EIGEN_PLAIN_TYPE
PINOCCHIO_EIGEN_PLAIN_TYPE(ConfigVectorType) integrate(const ModelTpl< Scalar
Integrate a configuration vector for the specified model for a tangent vector during one unit time.
PINOCCHIO_EIGEN_REF_TYPE
#define PINOCCHIO_EIGEN_REF_TYPE(D)
Definition: eigen-macros.hpp:32
pinocchio::internal::LHSScalarMultiplication
&#160;
Definition: context/casadi.hpp:47
pinocchio::MotionTpl< Scalar, Options >
pinocchio::traits< MotionRef< Vector6ArgType > >::Scalar
Vector6ArgType::Scalar Scalar
Definition: motion-ref.hpp:14
pinocchio::traits< MotionRef< const Vector6ArgType > >::ConstAngularType
Vector6ArgType::template ConstFixedSegmentReturnType< 3 >::Type ConstAngularType
Definition: motion-ref.hpp:235
pinocchio::MotionRef
Definition: context/casadi.hpp:38
pinocchio::MotionRef::__mequ__
MotionRef & __mequ__(const MotionTpl< S1, O1 > &v)
Definition: motion-ref.hpp:184
pinocchio::MotionRef< const Vector6ArgType >::MotionRef
MotionRef(const MotionRef &other)
Copy constructor from another MotionRef.
Definition: motion-ref.hpp:275
pinocchio::traits< MotionRef< const Vector6ArgType > >::Scalar
Vector6ArgType::Scalar Scalar
Definition: motion-ref.hpp:221
pinocchio::MotionRef< const Vector6ArgType >::MotionRef
MotionRef(typename PINOCCHIO_EIGEN_REF_CONST_TYPE(Vector6ArgType) v_like)
Definition: motion-ref.hpp:266
pinocchio::MotionRef::__pequ__
MotionRef & __pequ__(const MotionRef< Vector6ArgType > &v)
Definition: motion-ref.hpp:177
pinocchio::MotionRef::__minus__
MotionPlain __minus__(const MotionRef< Vector6ArgType > &v) const
Definition: motion-ref.hpp:164
pinocchio
Main pinocchio namespace.
Definition: timings.cpp:27
pinocchio::MotionRef::angular_impl
AngularType angular_impl()
Definition: motion-ref.hpp:121
pinocchio::traits< MotionRef< Vector6ArgType > >::HomogeneousMatrixType
Matrix4 HomogeneousMatrixType
Definition: motion-ref.hpp:26


pinocchio
Author(s):
autogenerated on Sun Dec 22 2024 03:41:11