joint-prismatic.hpp
Go to the documentation of this file.
1 //
2 // Copyright (c) 2015-2020 CNRS INRIA
3 // Copyright (c) 2015-2016 Wandercraft, 86 rue de Paris 91400 Orsay, France.
4 //
5 
6 #ifndef __pinocchio_multibody_joint_prismatic_hpp__
7 #define __pinocchio_multibody_joint_prismatic_hpp__
8 
9 #include "pinocchio/macros.hpp"
15 
16 namespace pinocchio
17 {
18 
19  template<typename Scalar, int Options, int _axis>
21 
22  template<typename Scalar, int Options, int axis>
24  {
26  };
27 
28  template<typename Scalar, int Options, int axis, typename MotionDerived>
30  {
32  };
33 
34  template<typename _Scalar, int _Options, int _axis>
35  struct traits<MotionPrismaticTpl<_Scalar, _Options, _axis>>
36  {
37  typedef _Scalar Scalar;
38  enum
39  {
40  Options = _Options
41  };
42  typedef Eigen::Matrix<Scalar, 3, 1, Options> Vector3;
43  typedef Eigen::Matrix<Scalar, 6, 1, Options> Vector6;
44  typedef Eigen::Matrix<Scalar, 4, 4, Options> Matrix4;
45  typedef Eigen::Matrix<Scalar, 6, 6, Options> Matrix6;
46  typedef typename PINOCCHIO_EIGEN_REF_CONST_TYPE(Vector6) ToVectorConstReturnType;
47  typedef typename PINOCCHIO_EIGEN_REF_TYPE(Vector6) ToVectorReturnType;
50  typedef const Vector3 ConstAngularType;
51  typedef const Vector3 ConstLinearType;
56  enum
57  {
58  LINEAR = 0,
59  ANGULAR = 3
60  };
61  }; // struct traits MotionPrismaticTpl
62 
63  template<typename _Scalar, int _Options, int _axis>
64  struct MotionPrismaticTpl : MotionBase<MotionPrismaticTpl<_Scalar, _Options, _axis>>
65  {
66  EIGEN_MAKE_ALIGNED_OPERATOR_NEW
68 
69  enum
70  {
71  axis = _axis
72  };
73 
76 
78  {
79  }
81  : m_v(v)
82  {
83  }
84 
85  inline PlainReturnType plain() const
86  {
87  return Axis() * m_v;
88  }
89 
90  template<typename OtherScalar>
91  MotionPrismaticTpl __mult__(const OtherScalar & alpha) const
92  {
93  return MotionPrismaticTpl(alpha * m_v);
94  }
95 
96  template<typename Derived>
97  void addTo(MotionDense<Derived> & other) const
98  {
99  typedef typename MotionDense<Derived>::Scalar OtherScalar;
100  other.linear()[_axis] += (OtherScalar)m_v;
101  }
102 
103  template<typename MotionDerived>
104  void setTo(MotionDense<MotionDerived> & other) const
105  {
106  for (Eigen::DenseIndex k = 0; k < 3; ++k)
107  {
108  other.linear()[k] = k == axis ? m_v : Scalar(0);
109  }
110  other.angular().setZero();
111  }
112 
113  template<typename S2, int O2, typename D2>
115  {
116  v.angular().setZero();
117  v.linear().noalias() = m_v * (m.rotation().col(axis));
118  }
119 
120  template<typename S2, int O2>
121  MotionPlain se3Action_impl(const SE3Tpl<S2, O2> & m) const
122  {
123  MotionPlain res;
124  se3Action_impl(m, res);
125  return res;
126  }
127 
128  template<typename S2, int O2, typename D2>
130  {
131  // Linear
132  v.linear().noalias() = m_v * (m.rotation().transpose().col(axis));
133 
134  // Angular
135  v.angular().setZero();
136  }
137 
138  template<typename S2, int O2>
139  MotionPlain se3ActionInverse_impl(const SE3Tpl<S2, O2> & m) const
140  {
141  MotionPlain res;
143  return res;
144  }
145 
146  template<typename M1, typename M2>
147  void motionAction(const MotionDense<M1> & v, MotionDense<M2> & mout) const
148  {
149  // Linear
150  CartesianAxis3::alphaCross(-m_v, v.angular(), mout.linear());
151 
152  // Angular
153  mout.angular().setZero();
154  }
155 
156  template<typename M1>
157  MotionPlain motionAction(const MotionDense<M1> & v) const
158  {
159  MotionPlain res;
160  motionAction(v, res);
161  return res;
162  }
163 
165  {
166  return m_v;
167  }
168  const Scalar & linearRate() const
169  {
170  return m_v;
171  }
172 
173  bool isEqual_impl(const MotionPrismaticTpl & other) const
174  {
175  return internal::comparison_eq(m_v, other.m_v);
176  }
177 
178  protected:
180  }; // struct MotionPrismaticTpl
181 
182  template<typename Scalar, int Options, int axis, typename MotionDerived>
183  typename MotionDerived::MotionPlain operator+(
185  {
186  typename MotionDerived::MotionPlain res(m2);
187  res += m1;
188  return res;
189  }
190 
191  template<typename MotionDerived, typename S2, int O2, int axis>
192  EIGEN_STRONG_INLINE typename MotionDerived::MotionPlain
194  {
195  return m2.motionAction(m1);
196  }
197 
198  template<typename Scalar, int Options, int axis>
200 
201  template<typename _Scalar, int _Options, int _axis>
202  struct traits<TransformPrismaticTpl<_Scalar, _Options, _axis>>
203  {
204  enum
205  {
206  axis = _axis,
207  Options = _Options,
208  LINEAR = 0,
209  ANGULAR = 3
210  };
211  typedef _Scalar Scalar;
213  typedef Eigen::Matrix<Scalar, 3, 1, Options> Vector3;
214  typedef Eigen::Matrix<Scalar, 3, 3, Options> Matrix3;
215  typedef typename Matrix3::IdentityReturnType AngularType;
219  typedef const Vector3 LinearRef;
220  typedef const Vector3 ConstLinearRef;
223  }; // traits TransformPrismaticTpl
224 
225  template<typename Scalar, int Options, int axis>
227  {
229  };
230 
231  template<typename _Scalar, int _Options, int axis>
232  struct TransformPrismaticTpl : SE3Base<TransformPrismaticTpl<_Scalar, _Options, axis>>
233  {
234  EIGEN_MAKE_ALIGNED_OPERATOR_NEW
236 
239 
241  {
242  }
245  {
246  }
247 
248  PlainType plain() const
249  {
250  PlainType res(PlainType::Identity());
251  res.rotation().setIdentity();
252  res.translation()[axis] = m_displacement;
253 
254  return res;
255  }
256 
257  operator PlainType() const
258  {
259  return plain();
260  }
261 
262  template<typename S2, int O2>
264  se3action(const SE3Tpl<S2, O2> & m) const
265  {
266  typedef typename SE3GroupAction<TransformPrismaticTpl>::ReturnType ReturnType;
267  ReturnType res(m);
268  res.translation()[axis] += m_displacement;
269 
270  return res;
271  }
272 
273  const Scalar & displacement() const
274  {
275  return m_displacement;
276  }
278  {
279  return m_displacement;
280  }
281 
282  ConstLinearRef translation() const
283  {
284  return CartesianAxis3() * displacement();
285  };
286  AngularType rotation() const
287  {
288  return AngularType(3, 3);
289  }
290 
291  bool isEqual(const TransformPrismaticTpl & other) const
292  {
294  }
295 
296  protected:
298  };
299 
300  template<typename Scalar, int Options, int axis>
302 
303  template<typename _Scalar, int _Options, int axis>
304  struct traits<JointMotionSubspacePrismaticTpl<_Scalar, _Options, axis>>
305  {
306  typedef _Scalar Scalar;
307  enum
308  {
309  Options = _Options
310  };
311  enum
312  {
313  LINEAR = 0,
314  ANGULAR = 3
315  };
317  typedef Eigen::Matrix<Scalar, 1, 1, Options> JointForce;
318  typedef Eigen::Matrix<Scalar, 6, 1, Options> DenseBase;
319  typedef Eigen::Matrix<Scalar, 1, 1, Options> ReducedSquaredMatrix;
320 
323 
324  typedef typename ReducedSquaredMatrix::IdentityReturnType StDiagonalMatrixSOperationReturnType;
325  }; // traits ConstraintRevolute
326 
327  template<typename Scalar, int Options, int axis>
329  {
330  typedef Eigen::Matrix<Scalar, 6, 1, Options> ReturnType;
331  };
332 
333  template<typename Scalar, int Options, int axis, typename MotionDerived>
335  {
336  typedef Eigen::Matrix<Scalar, 6, 1, Options> ReturnType;
337  };
338 
339  template<typename Scalar, int Options, int axis, typename ForceDerived>
341  {
342  typedef typename ForceDense<
343  ForceDerived>::ConstLinearType::template ConstFixedSegmentReturnType<1>::Type ReturnType;
344  };
345 
346  template<typename Scalar, int Options, int axis, typename ForceSet>
348  {
349  typedef typename Eigen::MatrixBase<ForceSet>::ConstRowXpr ReturnType;
350  };
351 
352  template<typename _Scalar, int _Options, int axis>
354  : JointMotionSubspaceBase<JointMotionSubspacePrismaticTpl<_Scalar, _Options, axis>>
355  {
356  EIGEN_MAKE_ALIGNED_OPERATOR_NEW
358  enum
359  {
360  NV = 1
361  };
362 
364 
366 
367  template<typename Vector1Like>
368  JointMotion __mult__(const Eigen::MatrixBase<Vector1Like> & v) const
369  {
370  EIGEN_STATIC_ASSERT_VECTOR_SPECIFIC_SIZE(Vector1Like, 1);
371  assert(v.size() == 1);
372  return JointMotion(v[0]);
373  }
374 
375  template<typename S2, int O2>
377  se3Action(const SE3Tpl<S2, O2> & m) const
378  {
381  v.linear() = m.rotation().col(axis);
382  v.angular().setZero();
383  return res;
384  }
385 
386  template<typename S2, int O2>
389  {
392  v.linear() = m.rotation().transpose().col(axis);
393  v.angular().setZero();
394  return res;
395  }
396 
397  int nv_impl() const
398  {
399  return NV;
400  }
401 
402  struct TransposeConst : JointMotionSubspaceTransposeBase<JointMotionSubspacePrismaticTpl>
403  {
406  : ref(ref)
407  {
408  }
409 
410  template<typename ForceDerived>
413  {
414  return f.linear().template segment<1>(axis);
415  }
416 
417  /* [CRBA] MatrixBase operator* (Constraint::Transpose S, ForceSet::Block) */
418  template<typename Derived>
420  operator*(const Eigen::MatrixBase<Derived> & F)
421  {
422  assert(F.rows() == 6);
423  return F.row(LINEAR + axis);
424  }
425 
426  }; // struct TransposeConst
428  {
429  return TransposeConst(*this);
430  }
431 
432  /* CRBA joint operators
433  * - ForceSet::Block = ForceSet
434  * - ForceSet operator* (Inertia Y,Constraint S)
435  * - MatrixBase operator* (Constraint::Transpose S, ForceSet::Block)
436  * - SE3::act(ForceSet::Block)
437  */
438  DenseBase matrix_impl() const
439  {
440  DenseBase S;
442  v << Axis();
443  return S;
444  }
445 
446  template<typename MotionDerived>
449  {
452  v = m.cross(Axis());
453  return res;
454  }
455 
457  {
458  return true;
459  }
460 
461  }; // struct JointMotionSubspacePrismaticTpl
462 
463  template<typename S1, int O1, typename S2, int O2, int axis>
465  {
466  typedef Eigen::Matrix<S2, 6, 1, O2> ReturnType;
467  };
468 
469  /* [CRBA] ForceSet operator* (Inertia Y,Constraint S) */
470  namespace impl
471  {
472  template<typename S1, int O1, typename S2, int O2>
474  {
478  static inline ReturnType run(const Inertia & Y, const Constraint & /*constraint*/)
479  {
480  ReturnType res;
481 
482  /* Y(:,0) = ( 1,0, 0, 0 , z , -y ) */
483  const S1 &m = Y.mass(), &y = Y.lever()[1], &z = Y.lever()[2];
484  res << m, S1(0), S1(0), S1(0), m * z, -m * y;
485 
486  return res;
487  }
488  };
489 
490  template<typename S1, int O1, typename S2, int O2>
492  {
496  static inline ReturnType run(const Inertia & Y, const Constraint & /*constraint*/)
497  {
498  ReturnType res;
499 
500  /* Y(:,1) = ( 0,1, 0, -z , 0 , x) */
501  const S1 &m = Y.mass(), &x = Y.lever()[0], &z = Y.lever()[2];
502 
503  res << S1(0), m, S1(0), -m * z, S1(0), m * x;
504 
505  return res;
506  }
507  };
508 
509  template<typename S1, int O1, typename S2, int O2>
511  {
515  static inline ReturnType run(const Inertia & Y, const Constraint & /*constraint*/)
516  {
517  ReturnType res;
518 
519  /* Y(:,2) = ( 0,0, 1, y , -x , 0) */
520  const S1 &m = Y.mass(), &x = Y.lever()[0], &y = Y.lever()[1];
521 
522  res << S1(0), S1(0), m, m * y, -m * x, S1(0);
523 
524  return res;
525  }
526  };
527  } // namespace impl
528 
529  template<typename M6Like, typename S2, int O2, int axis>
530  struct MultiplicationOp<Eigen::MatrixBase<M6Like>, JointMotionSubspacePrismaticTpl<S2, O2, axis>>
531  {
532  typedef typename M6Like::ConstColXpr ReturnType;
533  };
534 
535  /* [ABA] operator* (Inertia Y,Constraint S) */
536  namespace impl
537  {
538  template<typename M6Like, typename Scalar, int Options, int axis>
540  Eigen::MatrixBase<M6Like>,
541  JointMotionSubspacePrismaticTpl<Scalar, Options, axis>>
542  {
544  typedef
546  static inline ReturnType
547  run(const Eigen::MatrixBase<M6Like> & Y, const Constraint & /*constraint*/)
548  {
549  EIGEN_STATIC_ASSERT_MATRIX_SPECIFIC_SIZE(M6Like, 6, 6);
550  return Y.derived().col(Inertia::LINEAR + axis);
551  }
552  };
553  } // namespace impl
554 
555  template<typename _Scalar, int _Options, int _axis>
557  {
558  typedef _Scalar Scalar;
559 
560  enum
561  {
562  Options = _Options,
563  axis = _axis
564  };
565  };
566 
567  template<typename _Scalar, int _Options, int axis>
568  struct traits<JointPrismaticTpl<_Scalar, _Options, axis>>
569  {
570  enum
571  {
572  NQ = 1,
573  NV = 1
574  };
575  typedef _Scalar Scalar;
576  enum
577  {
578  Options = _Options
579  };
586 
587  // [ABA]
588  typedef Eigen::Matrix<Scalar, 6, NV, Options> U_t;
589  typedef Eigen::Matrix<Scalar, NV, NV, Options> D_t;
590  typedef Eigen::Matrix<Scalar, 6, NV, Options> UD_t;
591 
592  typedef Eigen::Matrix<Scalar, NQ, 1, Options> ConfigVector_t;
593  typedef Eigen::Matrix<Scalar, NV, 1, Options> TangentVector_t;
594 
596  };
597 
598  template<typename _Scalar, int _Options, int axis>
599  struct traits<JointDataPrismaticTpl<_Scalar, _Options, axis>>
600  {
602  typedef _Scalar Scalar;
603  };
604 
605  template<typename _Scalar, int _Options, int axis>
606  struct traits<JointModelPrismaticTpl<_Scalar, _Options, axis>>
607  {
609  typedef _Scalar Scalar;
610  };
611 
612  template<typename _Scalar, int _Options, int axis>
613  struct JointDataPrismaticTpl
614  : public JointDataBase<JointDataPrismaticTpl<_Scalar, _Options, axis>>
615  {
616  EIGEN_MAKE_ALIGNED_OPERATOR_NEW
620 
621  ConfigVector_t joint_q;
622  TangentVector_t joint_v;
623 
624  Constraint_t S;
625  Transformation_t M;
626  Motion_t v;
627  Bias_t c;
628 
629  // [ABA] specific data
630  U_t U;
631  D_t Dinv;
632  UD_t UDinv;
633  D_t StU;
634 
636  : joint_q(ConfigVector_t::Zero())
637  , joint_v(TangentVector_t::Zero())
638  , M((Scalar)0)
639  , v((Scalar)0)
640  , U(U_t::Zero())
641  , Dinv(D_t::Zero())
642  , UDinv(UD_t::Zero())
643  , StU(D_t::Zero())
644  {
645  }
646 
647  static std::string classname()
648  {
649  return std::string("JointDataP") + axisLabel<axis>();
650  }
651  std::string shortname() const
652  {
653  return classname();
654  }
655 
656  }; // struct JointDataPrismaticTpl
657 
658  template<typename NewScalar, typename Scalar, int Options, int axis>
660  {
662  };
663 
664  template<typename _Scalar, int _Options, int axis>
666  : public JointModelBase<JointModelPrismaticTpl<_Scalar, _Options, axis>>
667  {
668  EIGEN_MAKE_ALIGNED_OPERATOR_NEW
671 
673  using Base::id;
674  using Base::idx_q;
675  using Base::idx_v;
676  using Base::setIndexes;
677 
678  typedef Eigen::Matrix<Scalar, 3, 1, _Options> Vector3;
679 
680  JointDataDerived createData() const
681  {
682  return JointDataDerived();
683  }
684 
685  const std::vector<bool> hasConfigurationLimit() const
686  {
687  return {true};
688  }
689 
690  const std::vector<bool> hasConfigurationLimitInTangent() const
691  {
692  return {true};
693  }
694 
695  template<typename ConfigVector>
696  void calc(JointDataDerived & data, const typename Eigen::MatrixBase<ConfigVector> & qs) const
697  {
698  data.joint_q[0] = qs[idx_q()];
699  data.M.displacement() = data.joint_q[0];
700  }
701 
702  template<typename TangentVector>
703  void
704  calc(JointDataDerived & data, const Blank, const typename Eigen::MatrixBase<TangentVector> & vs)
705  const
706  {
707  data.joint_v[0] = vs[idx_v()];
708  data.v.linearRate() = data.joint_v[0];
709  }
710 
711  template<typename ConfigVector, typename TangentVector>
712  void calc(
713  JointDataDerived & data,
714  const typename Eigen::MatrixBase<ConfigVector> & qs,
715  const typename Eigen::MatrixBase<TangentVector> & vs) const
716  {
717  calc(data, qs.derived());
718 
719  data.joint_v[0] = vs[idx_v()];
720  data.v.linearRate() = data.joint_v[0];
721  }
722 
723  template<typename VectorLike, typename Matrix6Like>
724  void calc_aba(
725  JointDataDerived & data,
726  const Eigen::MatrixBase<VectorLike> & armature,
727  const Eigen::MatrixBase<Matrix6Like> & I,
728  const bool update_I) const
729  {
730  data.U = I.col(Inertia::LINEAR + axis);
731  data.Dinv[0] = Scalar(1) / (I(Inertia::LINEAR + axis, Inertia::LINEAR + axis) + armature[0]);
732  data.UDinv.noalias() = data.U * data.Dinv[0];
733 
734  if (update_I)
735  PINOCCHIO_EIGEN_CONST_CAST(Matrix6Like, I).noalias() -= data.UDinv * data.U.transpose();
736  }
737 
738  static std::string classname()
739  {
740  return std::string("JointModelP") + axisLabel<axis>();
741  }
742  std::string shortname() const
743  {
744  return classname();
745  }
746 
748  {
749  switch (axis)
750  {
751  case 0:
752  return Vector3::UnitX();
753  case 1:
754  return Vector3::UnitY();
755  case 2:
756  return Vector3::UnitZ();
757  default:
758  assert(false && "must never happen");
759  break;
760  }
761  }
762 
764  template<typename NewScalar>
766  {
768  ReturnType res;
769  res.setIndexes(id(), idx_q(), idx_v());
770  return res;
771  }
772 
773  }; // struct JointModelPrismaticTpl
774 
778 
782 
786 
787 } // namespace pinocchio
788 
789 #include <boost/type_traits.hpp>
790 
791 namespace boost
792 {
793  template<typename Scalar, int Options, int axis>
794  struct has_nothrow_constructor<::pinocchio::JointModelPrismaticTpl<Scalar, Options, axis>>
795  : public integral_constant<bool, true>
796  {
797  };
798 
799  template<typename Scalar, int Options, int axis>
800  struct has_nothrow_copy<::pinocchio::JointModelPrismaticTpl<Scalar, Options, axis>>
801  : public integral_constant<bool, true>
802  {
803  };
804 
805  template<typename Scalar, int Options, int axis>
806  struct has_nothrow_constructor<::pinocchio::JointDataPrismaticTpl<Scalar, Options, axis>>
807  : public integral_constant<bool, true>
808  {
809  };
810 
811  template<typename Scalar, int Options, int axis>
812  struct has_nothrow_copy<::pinocchio::JointDataPrismaticTpl<Scalar, Options, axis>>
813  : public integral_constant<bool, true>
814  {
815  };
816 } // namespace boost
817 
818 #endif // ifndef __pinocchio_multibody_joint_prismatic_hpp__
pinocchio::traits< JointPrismaticTpl< _Scalar, _Options, axis > >::Motion_t
MotionPrismaticTpl< Scalar, Options, axis > Motion_t
Definition: joint-prismatic.hpp:584
pinocchio::JointModelPrismaticTpl::calc_aba
void calc_aba(JointDataDerived &data, const Eigen::MatrixBase< VectorLike > &armature, const Eigen::MatrixBase< Matrix6Like > &I, const bool update_I) const
Definition: joint-prismatic.hpp:724
pinocchio::traits< JointPrismaticTpl< _Scalar, _Options, axis > >::U_t
Eigen::Matrix< Scalar, 6, NV, Options > U_t
Definition: joint-prismatic.hpp:588
pinocchio::traits< TransformPrismaticTpl< _Scalar, _Options, _axis > >::Scalar
_Scalar Scalar
Definition: joint-prismatic.hpp:211
pinocchio::InertiaTpl
Definition: spatial/fwd.hpp:58
pinocchio::MotionPrismaticTpl::linearRate
Scalar & linearRate()
Definition: joint-prismatic.hpp:164
pinocchio::JointDataPrismaticTpl::shortname
std::string shortname() const
Definition: joint-prismatic.hpp:651
PINOCCHIO_JOINT_DATA_BASE_ACCESSOR_DEFAULT_RETURN_TYPE
#define PINOCCHIO_JOINT_DATA_BASE_ACCESSOR_DEFAULT_RETURN_TYPE
Definition: joint-data-base.hpp:137
pinocchio::MotionPrismaticTpl::se3ActionInverse_impl
void se3ActionInverse_impl(const SE3Tpl< S2, O2 > &m, MotionDense< D2 > &v) const
Definition: joint-prismatic.hpp:129
pinocchio::TransformPrismaticTpl
Definition: joint-prismatic.hpp:199
Eigen
pinocchio::MultiplicationOp
Forward declaration of the multiplication operation return type. Should be overloaded,...
Definition: binary-op.hpp:15
test-cpp2pybind11.m
m
Definition: test-cpp2pybind11.py:25
pinocchio::traits< MotionPrismaticTpl< _Scalar, _Options, _axis > >::ConstLinearType
const typedef Vector3 ConstLinearType
Definition: joint-prismatic.hpp:51
pinocchio::JointMotionSubspacePrismaticTpl::TransposeConst
Definition: joint-prismatic.hpp:402
pinocchio::impl::LhsMultiplicationOp< InertiaTpl< S1, O1 >, JointMotionSubspacePrismaticTpl< S2, O2, 0 > >::Constraint
JointMotionSubspacePrismaticTpl< S2, O2, 0 > Constraint
Definition: joint-prismatic.hpp:476
pinocchio::JointPX
JointPrismaticTpl< context::Scalar, context::Options, 0 > JointPX
Definition: joint-prismatic.hpp:775
pinocchio::JointModelPrismaticTpl::Vector3
Eigen::Matrix< Scalar, 3, 1, _Options > Vector3
Definition: joint-prismatic.hpp:678
pinocchio::MotionPrismaticTpl
Definition: joint-prismatic.hpp:20
pinocchio::MotionPrismaticTpl::isEqual_impl
bool isEqual_impl(const MotionPrismaticTpl &other) const
Definition: joint-prismatic.hpp:173
pinocchio::JointDataPrismaticTpl::PINOCCHIO_JOINT_DATA_TYPEDEF_TEMPLATE
PINOCCHIO_JOINT_DATA_TYPEDEF_TEMPLATE(JointDerived)
pinocchio::traits< TransformPrismaticTpl< _Scalar, _Options, _axis > >::Vector3
Eigen::Matrix< Scalar, 3, 1, Options > Vector3
Definition: joint-prismatic.hpp:213
pinocchio::traits< JointPrismaticTpl< _Scalar, _Options, axis > >::JointDataDerived
JointDataPrismaticTpl< Scalar, Options, axis > JointDataDerived
Definition: joint-prismatic.hpp:580
macros.hpp
pinocchio::idx_q
int idx_q(const JointModelTpl< Scalar, Options, JointCollectionTpl > &jmodel)
Visit a JointModelTpl through JointIdxQVisitor to get the index in the full model configuration space...
pinocchio::JointDataPrismaticTpl::S
Constraint_t S
Definition: joint-prismatic.hpp:624
pinocchio::JointModelBase
Definition: joint-model-base.hpp:75
pinocchio::JointDataPrismaticTpl::v
Motion_t v
Definition: joint-prismatic.hpp:626
pinocchio::JointModelPrismaticTpl::JointDerived
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef JointPrismaticTpl< _Scalar, _Options, axis > JointDerived
Definition: joint-prismatic.hpp:669
pinocchio::traits< MotionPrismaticTpl< _Scalar, _Options, _axis > >::LinearType
Vector3 LinearType
Definition: joint-prismatic.hpp:49
pinocchio::ConstraintForceOp
Return type of the Constraint::Transpose * Force operation.
Definition: joint-motion-subspace-base.hpp:46
pinocchio::idx_v
int idx_v(const JointModelTpl< Scalar, Options, JointCollectionTpl > &jmodel)
Visit a JointModelTpl through JointIdxVVisitor to get the index in the full model tangent space corre...
pinocchio::Options
Options
Definition: joint-configuration.hpp:1082
y
y
pinocchio::MotionPrismaticTpl::CartesianAxis3
Axis::CartesianAxis3 CartesianAxis3
Definition: joint-prismatic.hpp:75
pinocchio::JointDataPrismaticTpl
Definition: multibody/joint/fwd.hpp:91
pinocchio::JointMotionSubspaceBase
Definition: joint-motion-subspace-base.hpp:59
pinocchio::TransformPrismaticTpl::displacement
Scalar & displacement()
Definition: joint-prismatic.hpp:277
PINOCCHIO_EIGEN_CONST_CAST
#define PINOCCHIO_EIGEN_CONST_CAST(TYPE, OBJ)
Macro for an automatic const_cast.
Definition: eigen-macros.hpp:51
pinocchio::SE3Tpl
Definition: context/casadi.hpp:29
pinocchio::JointDataPrismaticTpl::M
Transformation_t M
Definition: joint-prismatic.hpp:625
pinocchio::JointPrismaticTpl
Definition: joint-prismatic.hpp:556
pinocchio::SE3GroupAction::ReturnType
D ReturnType
Definition: spatial/se3.hpp:41
pinocchio::JointDataBase
Definition: joint-data-base.hpp:161
pinocchio::traits< TransformPrismaticTpl< _Scalar, _Options, _axis > >::HomogeneousMatrixType
traits< PlainType >::HomogeneousMatrixType HomogeneousMatrixType
Definition: joint-prismatic.hpp:222
pinocchio::JointDataPrismaticTpl::UDinv
UD_t UDinv
Definition: joint-prismatic.hpp:632
pinocchio::MotionPrismaticTpl::axis
@ axis
Definition: joint-prismatic.hpp:71
pinocchio::PINOCCHIO_EIGEN_REF_CONST_TYPE
PINOCCHIO_EIGEN_REF_CONST_TYPE(Matrix6Like) operator*(const Eigen
Definition: joint-free-flyer.hpp:144
setup.data
data
Definition: cmake/cython/setup.in.py:48
pinocchio::impl::LhsMultiplicationOp< Eigen::MatrixBase< M6Like >, JointMotionSubspacePrismaticTpl< Scalar, Options, axis > >::run
static ReturnType run(const Eigen::MatrixBase< M6Like > &Y, const Constraint &)
Definition: joint-prismatic.hpp:547
pinocchio::MotionPrismaticTpl::addTo
void addTo(MotionDense< Derived > &other) const
Definition: joint-prismatic.hpp:97
pinocchio::JointModelPrismaticTpl::calc
void calc(JointDataDerived &data, const typename Eigen::MatrixBase< ConfigVector > &qs) const
Definition: joint-prismatic.hpp:696
inertia.hpp
pinocchio::impl::LhsMultiplicationOp< InertiaTpl< S1, O1 >, JointMotionSubspacePrismaticTpl< S2, O2, 1 > >::Inertia
InertiaTpl< S1, O1 > Inertia
Definition: joint-prismatic.hpp:493
pinocchio::JointMotionSubspacePrismaticTpl::TransposeConst::operator*
ConstraintForceSetOp< JointMotionSubspacePrismaticTpl, Derived >::ReturnType operator*(const Eigen::MatrixBase< Derived > &F)
Definition: joint-prismatic.hpp:420
pinocchio::JointModelPrismaticTpl::getMotionAxis
Vector3 getMotionAxis() const
Definition: joint-prismatic.hpp:747
pinocchio::JointModelPrismaticTpl::cast
JointModelPrismaticTpl< NewScalar, Options, axis > cast() const
Definition: joint-prismatic.hpp:765
pinocchio::MotionDense
Definition: context/casadi.hpp:36
pinocchio::python::Scalar
context::Scalar Scalar
Definition: admm-solver.cpp:29
pinocchio::MotionPrismaticTpl::motionAction
MotionPlain motionAction(const MotionDense< M1 > &v) const
Definition: joint-prismatic.hpp:157
pinocchio::traits< JointPrismaticTpl< _Scalar, _Options, axis > >::JointModelDerived
JointModelPrismaticTpl< Scalar, Options, axis > JointModelDerived
Definition: joint-prismatic.hpp:581
pinocchio::MotionPrismaticTpl::linearRate
const Scalar & linearRate() const
Definition: joint-prismatic.hpp:168
pinocchio::operator+
MotionDerived::MotionPlain operator+(const MotionHelicalUnalignedTpl< S1, O1 > &m1, const MotionDense< MotionDerived > &m2)
Definition: joint-helical-unaligned.hpp:211
boost
pinocchio::impl::LhsMultiplicationOp< InertiaTpl< S1, O1 >, JointMotionSubspacePrismaticTpl< S2, O2, 0 > >::ReturnType
MultiplicationOp< Inertia, Constraint >::ReturnType ReturnType
Definition: joint-prismatic.hpp:477
pinocchio::impl::LhsMultiplicationOp< InertiaTpl< S1, O1 >, JointMotionSubspacePrismaticTpl< S2, O2, 2 > >::run
static ReturnType run(const Inertia &Y, const Constraint &)
Definition: joint-prismatic.hpp:515
pinocchio::JointModelPrismaticTpl::calc
void calc(JointDataDerived &data, const Blank, const typename Eigen::MatrixBase< TangentVector > &vs) const
Definition: joint-prismatic.hpp:704
pinocchio::ConstraintForceOp::ReturnType
ReturnTypeNotDefined ReturnType
Definition: joint-motion-subspace-base.hpp:48
pinocchio::JointModelBase::setIndexes
void setIndexes(JointIndex id, int q, int v)
Definition: joint-model-base.hpp:186
pinocchio::JointModelPrismaticTpl::hasConfigurationLimit
const std::vector< bool > hasConfigurationLimit() const
Definition: joint-prismatic.hpp:685
pinocchio::JointPY
JointPrismaticTpl< context::Scalar, context::Options, 1 > JointPY
Definition: joint-prismatic.hpp:779
pinocchio::res
ReturnType res
Definition: spatial/classic-acceleration.hpp:57
pinocchio::JointMotionSubspacePrismaticTpl::motionAction
MotionAlgebraAction< JointMotionSubspacePrismaticTpl, MotionDerived >::ReturnType motionAction(const MotionDense< MotionDerived > &m) const
Definition: joint-prismatic.hpp:448
pinocchio::JointDataPrismaticTpl::classname
static std::string classname()
Definition: joint-prismatic.hpp:647
pinocchio::MotionAlgebraAction
Return type of the ation of a Motion onto an object of type D.
Definition: spatial/motion.hpp:45
pinocchio::JointMotionSubspacePrismaticTpl::se3Action
SE3GroupAction< JointMotionSubspacePrismaticTpl >::ReturnType se3Action(const SE3Tpl< S2, O2 > &m) const
Definition: joint-prismatic.hpp:377
pinocchio::MotionPrismaticTpl::__mult__
MotionPrismaticTpl __mult__(const OtherScalar &alpha) const
Definition: joint-prismatic.hpp:91
pinocchio::JointPrismaticTpl::axis
@ axis
Definition: joint-prismatic.hpp:563
pinocchio::JointMotionSubspacePrismaticTpl
Definition: joint-prismatic.hpp:301
pinocchio::impl::LhsMultiplicationOp
Definition: binary-op.hpp:20
autodiff-rnea.f
f
Definition: autodiff-rnea.py:24
pinocchio::Blank
Blank type.
Definition: fwd.hpp:76
pinocchio::JointMotionSubspacePrismaticTpl::TransposeConst::ref
const JointMotionSubspacePrismaticTpl & ref
Definition: joint-prismatic.hpp:404
pinocchio::MotionDense::linear
ConstLinearType linear() const
Definition: motion-base.hpp:36
pinocchio::TransformPrismaticTpl::PINOCCHIO_SE3_TYPEDEF_TPL
EIGEN_MAKE_ALIGNED_OPERATOR_NEW PINOCCHIO_SE3_TYPEDEF_TPL(TransformPrismaticTpl)
pinocchio::JointMotionSubspacePrismaticTpl::nv_impl
int nv_impl() const
Definition: joint-prismatic.hpp:397
pinocchio::traits< JointMotionSubspacePrismaticTpl< _Scalar, _Options, axis > >::Scalar
_Scalar Scalar
Definition: joint-prismatic.hpp:306
pinocchio::JointDataPrismaticTpl::joint_v
TangentVector_t joint_v
Definition: joint-prismatic.hpp:622
pinocchio::traits< MotionPrismaticTpl< _Scalar, _Options, _axis > >::ConstAngularType
const typedef Vector3 ConstAngularType
Definition: joint-prismatic.hpp:50
pinocchio::traits< MotionPrismaticTpl< _Scalar, _Options, _axis > >::ActionMatrixType
Matrix6 ActionMatrixType
Definition: joint-prismatic.hpp:52
pinocchio::SE3GroupAction
Definition: spatial/se3.hpp:39
pinocchio::JointDataPrismaticTpl::c
Bias_t c
Definition: joint-prismatic.hpp:627
pinocchio::MotionZeroTpl
Definition: context/casadi.hpp:23
PINOCCHIO_JOINT_DATA_BASE_DEFAULT_ACCESSOR
#define PINOCCHIO_JOINT_DATA_BASE_DEFAULT_ACCESSOR
Definition: joint-data-base.hpp:55
pinocchio::MotionAlgebraAction::ReturnType
D ReturnType
Definition: spatial/motion.hpp:47
pinocchio::JointMotionSubspacePrismaticTpl::se3ActionInverse
SE3GroupAction< JointMotionSubspacePrismaticTpl >::ReturnType se3ActionInverse(const SE3Tpl< S2, O2 > &m) const
Definition: joint-prismatic.hpp:388
pinocchio::TransformPrismaticTpl::CartesianAxis3
Axis::CartesianAxis3 CartesianAxis3
Definition: joint-prismatic.hpp:238
pinocchio::TransformPrismaticTpl::TransformPrismaticTpl
TransformPrismaticTpl()
Definition: joint-prismatic.hpp:240
pinocchio::JointMotionSubspacePrismaticTpl::JointMotionSubspacePrismaticTpl
JointMotionSubspacePrismaticTpl()
Definition: joint-prismatic.hpp:365
pinocchio::traits< JointDataPrismaticTpl< _Scalar, _Options, axis > >::Scalar
_Scalar Scalar
Definition: joint-prismatic.hpp:602
pinocchio::MultiplicationOp< Eigen::MatrixBase< M6Like >, JointMotionSubspacePrismaticTpl< S2, O2, axis > >::ReturnType
M6Like::ConstColXpr ReturnType
Definition: joint-prismatic.hpp:532
pinocchio::JointDataPrismaticTpl::JointDerived
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef JointPrismaticTpl< _Scalar, _Options, axis > JointDerived
Definition: joint-prismatic.hpp:617
pinocchio::ConstraintForceSetOp::ReturnType
ReturnTypeNotDefined ReturnType
Definition: joint-motion-subspace-base.hpp:55
simulation-contact-dynamics.S
S
Definition: simulation-contact-dynamics.py:80
pinocchio::impl::LhsMultiplicationOp< InertiaTpl< S1, O1 >, JointMotionSubspacePrismaticTpl< S2, O2, 2 > >::Inertia
InertiaTpl< S1, O1 > Inertia
Definition: joint-prismatic.hpp:512
pinocchio::JointModelPrismaticTpl
Definition: multibody/joint/fwd.hpp:89
reachable-workspace-with-collisions.alpha
float alpha
Definition: reachable-workspace-with-collisions.py:162
pinocchio::traits< JointMotionSubspacePrismaticTpl< _Scalar, _Options, axis > >::ConstMatrixReturnType
const typedef DenseBase ConstMatrixReturnType
Definition: joint-prismatic.hpp:322
pinocchio::traits< JointMotionSubspacePrismaticTpl< _Scalar, _Options, axis > >::ReducedSquaredMatrix
Eigen::Matrix< Scalar, 1, 1, Options > ReducedSquaredMatrix
Definition: joint-prismatic.hpp:319
pinocchio::traits< JointPrismaticTpl< _Scalar, _Options, axis > >::UD_t
Eigen::Matrix< Scalar, 6, NV, Options > UD_t
Definition: joint-prismatic.hpp:590
pinocchio::JointModelPrismaticTpl::shortname
std::string shortname() const
Definition: joint-prismatic.hpp:742
pinocchio::traits< JointModelPrismaticTpl< _Scalar, _Options, axis > >::Scalar
_Scalar Scalar
Definition: joint-prismatic.hpp:609
pinocchio::traits< JointMotionSubspacePrismaticTpl< _Scalar, _Options, axis > >::StDiagonalMatrixSOperationReturnType
ReducedSquaredMatrix::IdentityReturnType StDiagonalMatrixSOperationReturnType
Definition: joint-prismatic.hpp:324
pinocchio::traits< TransformPrismaticTpl< _Scalar, _Options, _axis > >::ConstLinearRef
const typedef Vector3 ConstLinearRef
Definition: joint-prismatic.hpp:220
pinocchio::traits< JointPrismaticTpl< _Scalar, _Options, axis > >::Constraint_t
JointMotionSubspacePrismaticTpl< Scalar, Options, axis > Constraint_t
Definition: joint-prismatic.hpp:582
pinocchio::traits< JointPrismaticTpl< _Scalar, _Options, axis > >::Transformation_t
TransformPrismaticTpl< Scalar, Options, axis > Transformation_t
Definition: joint-prismatic.hpp:583
pinocchio::traits< MotionPrismaticTpl< _Scalar, _Options, _axis > >::MotionPlain
MotionTpl< Scalar, Options > MotionPlain
Definition: joint-prismatic.hpp:54
pinocchio::JointMotionSubspacePrismaticTpl::isEqual
bool isEqual(const JointMotionSubspacePrismaticTpl &) const
Definition: joint-prismatic.hpp:456
pinocchio::MotionPrismaticTpl::setTo
void setTo(MotionDense< MotionDerived > &other) const
Definition: joint-prismatic.hpp:104
pinocchio::TransformPrismaticTpl::rotation
AngularType rotation() const
Definition: joint-prismatic.hpp:286
pinocchio::JointDataPY
JointDataPrismaticTpl< context::Scalar, context::Options, 1 > JointDataPY
Definition: joint-prismatic.hpp:780
pinocchio::traits< TransformPrismaticTpl< _Scalar, _Options, _axis > >::ConstAngularRef
AngularType ConstAngularRef
Definition: joint-prismatic.hpp:217
pinocchio::TransformPrismaticTpl::plain
PlainType plain() const
Definition: joint-prismatic.hpp:248
axis-label.hpp
pinocchio::TransformPrismaticTpl::isEqual
bool isEqual(const TransformPrismaticTpl &other) const
Definition: joint-prismatic.hpp:291
pinocchio::JointModelPY
JointModelPrismaticTpl< context::Scalar, context::Options, 1 > JointModelPY
Definition: joint-prismatic.hpp:781
pinocchio::traits< MotionPrismaticTpl< _Scalar, _Options, _axis > >::Matrix6
Eigen::Matrix< Scalar, 6, 6, Options > Matrix6
Definition: joint-prismatic.hpp:45
joint-base.hpp
x
x
pinocchio::impl::LhsMultiplicationOp< InertiaTpl< S1, O1 >, JointMotionSubspacePrismaticTpl< S2, O2, 0 > >::run
static ReturnType run(const Inertia &Y, const Constraint &)
Definition: joint-prismatic.hpp:478
pinocchio::traits< TransformPrismaticTpl< _Scalar, _Options, _axis > >::LinearRef
const typedef Vector3 LinearRef
Definition: joint-prismatic.hpp:219
axis
axis
pinocchio::TransformPrismaticTpl::TransformPrismaticTpl
TransformPrismaticTpl(const Scalar &displacement)
Definition: joint-prismatic.hpp:243
pinocchio::JointMotionSubspacePrismaticTpl::Axis
SpatialAxis< LINEAR+axis > Axis
Definition: joint-prismatic.hpp:363
pinocchio::ConstraintForceOp< JointMotionSubspacePrismaticTpl< Scalar, Options, axis >, ForceDerived >::ReturnType
ForceDense< ForceDerived >::ConstLinearType::template ConstFixedSegmentReturnType< 1 >::Type ReturnType
Definition: joint-prismatic.hpp:343
pinocchio::JointModelPrismaticTpl::hasConfigurationLimitInTangent
const std::vector< bool > hasConfigurationLimitInTangent() const
Definition: joint-prismatic.hpp:690
pinocchio::traits< TransformPrismaticTpl< _Scalar, _Options, _axis > >::AngularRef
AngularType AngularRef
Definition: joint-prismatic.hpp:216
pinocchio::JointModelPZ
JointModelPrismaticTpl< context::Scalar, context::Options, 2 > JointModelPZ
Definition: joint-prismatic.hpp:785
pinocchio::JointMotionSubspacePrismaticTpl::TransposeConst::operator*
ConstraintForceOp< JointMotionSubspacePrismaticTpl, ForceDerived >::ReturnType operator*(const ForceDense< ForceDerived > &f) const
Definition: joint-prismatic.hpp:412
pinocchio::MotionPrismaticTpl::m_v
Scalar m_v
Definition: joint-prismatic.hpp:179
pinocchio::ConstraintForceSetOp< JointMotionSubspacePrismaticTpl< Scalar, Options, axis >, ForceSet >::ReturnType
Eigen::MatrixBase< ForceSet >::ConstRowXpr ReturnType
Definition: joint-prismatic.hpp:349
pinocchio::traits< TransformPrismaticTpl< _Scalar, _Options, _axis > >::PlainType
SE3Tpl< Scalar, Options > PlainType
Definition: joint-prismatic.hpp:212
pinocchio::JointModelPrismaticTpl::Base
JointModelBase< JointModelPrismaticTpl > Base
Definition: joint-prismatic.hpp:672
pinocchio::JointDataPX
JointDataPrismaticTpl< context::Scalar, context::Options, 0 > JointDataPX
Definition: joint-prismatic.hpp:776
pinocchio::traits< MotionPrismaticTpl< _Scalar, _Options, _axis > >::PlainReturnType
MotionPlain PlainReturnType
Definition: joint-prismatic.hpp:55
pinocchio::traits< JointDataPrismaticTpl< _Scalar, _Options, axis > >::JointDerived
JointPrismaticTpl< _Scalar, _Options, axis > JointDerived
Definition: joint-prismatic.hpp:601
pinocchio::JointModelPrismaticTpl::calc
void calc(JointDataDerived &data, const typename Eigen::MatrixBase< ConfigVector > &qs, const typename Eigen::MatrixBase< TangentVector > &vs) const
Definition: joint-prismatic.hpp:712
pinocchio::JointDataPrismaticTpl::JointDataPrismaticTpl
JointDataPrismaticTpl()
Definition: joint-prismatic.hpp:635
pinocchio::traits< MotionPrismaticTpl< _Scalar, _Options, _axis > >::AngularType
Vector3 AngularType
Definition: joint-prismatic.hpp:48
pinocchio::JointModelBase::idx_v
int idx_v() const
Definition: joint-model-base.hpp:164
pinocchio::ForceSetTpl
Definition: force-set.hpp:14
pinocchio::v
JointCollectionTpl const Eigen::MatrixBase< ConfigVectorType > const Eigen::MatrixBase< TangentVectorType > & v
Definition: joint-configuration.hpp:1084
pinocchio::internal::comparison_eq
bool comparison_eq(const LhsType &lhs_value, const RhsType &rhs_value)
Definition: utils/static-if.hpp:120
pinocchio::traits< TransformPrismaticTpl< _Scalar, _Options, _axis > >::ActionMatrixType
traits< PlainType >::ActionMatrixType ActionMatrixType
Definition: joint-prismatic.hpp:221
pinocchio::traits< JointPrismaticTpl< _Scalar, _Options, axis > >::D_t
Eigen::Matrix< Scalar, NV, NV, Options > D_t
Definition: joint-prismatic.hpp:589
pinocchio::ConstraintForceSetOp
Return type of the Constraint::Transpose * ForceSet operation.
Definition: joint-motion-subspace-base.hpp:53
pinocchio::JointDataPrismaticTpl::StU
D_t StU
Definition: joint-prismatic.hpp:633
pinocchio::JointDataPrismaticTpl::joint_q
PINOCCHIO_JOINT_DATA_BASE_DEFAULT_ACCESSOR ConfigVector_t joint_q
Definition: joint-prismatic.hpp:621
pinocchio::MotionPrismaticTpl::MotionPrismaticTpl
MotionPrismaticTpl(const Scalar &v)
Definition: joint-prismatic.hpp:80
pinocchio::TransformPrismaticTpl::se3action
SE3GroupAction< TransformPrismaticTpl >::ReturnType se3action(const SE3Tpl< S2, O2 > &m) const
Definition: joint-prismatic.hpp:264
pinocchio::JointMotionSubspacePrismaticTpl::matrix_impl
DenseBase matrix_impl() const
Definition: joint-prismatic.hpp:438
pinocchio::MotionPrismaticTpl::se3ActionInverse_impl
MotionPlain se3ActionInverse_impl(const SE3Tpl< S2, O2 > &m) const
Definition: joint-prismatic.hpp:139
pinocchio::traits< TransformPrismaticTpl< _Scalar, _Options, _axis > >::AngularType
Matrix3::IdentityReturnType AngularType
Definition: joint-prismatic.hpp:215
joint-motion-subspace.hpp
pinocchio::SE3Base
Base class for rigid transformation.
Definition: se3-base.hpp:30
pinocchio::TransformPrismaticTpl::Axis
SpatialAxis< axis+LINEAR > Axis
Definition: joint-prismatic.hpp:237
pinocchio::JointModelBase::idx_q
int idx_q() const
Definition: joint-model-base.hpp:160
pinocchio::traits< JointPrismaticTpl< _Scalar, _Options, axis > >::Bias_t
MotionZeroTpl< Scalar, Options > Bias_t
Definition: joint-prismatic.hpp:585
pinocchio::traits< JointModelPrismaticTpl< _Scalar, _Options, axis > >::JointDerived
JointPrismaticTpl< _Scalar, _Options, axis > JointDerived
Definition: joint-prismatic.hpp:608
pinocchio::JointPZ
JointPrismaticTpl< context::Scalar, context::Options, 2 > JointPZ
Definition: joint-prismatic.hpp:783
pinocchio::JointModelPrismaticTpl::createData
JointDataDerived createData() const
Definition: joint-prismatic.hpp:680
pinocchio::traits< JointMotionSubspacePrismaticTpl< _Scalar, _Options, axis > >::JointForce
Eigen::Matrix< Scalar, 1, 1, Options > JointForce
Definition: joint-prismatic.hpp:317
pinocchio::SE3GroupAction< JointMotionSubspacePrismaticTpl< Scalar, Options, axis > >::ReturnType
Eigen::Matrix< Scalar, 6, 1, Options > ReturnType
Definition: joint-prismatic.hpp:330
pinocchio::impl::LhsMultiplicationOp< InertiaTpl< S1, O1 >, JointMotionSubspacePrismaticTpl< S2, O2, 0 > >::Inertia
InertiaTpl< S1, O1 > Inertia
Definition: joint-prismatic.hpp:475
pinocchio::MultiplicationOp< InertiaTpl< S1, O1 >, JointMotionSubspacePrismaticTpl< S2, O2, axis > >::ReturnType
Eigen::Matrix< S2, 6, 1, O2 > ReturnType
Definition: joint-prismatic.hpp:466
pinocchio::JointModelPrismaticTpl::PINOCCHIO_JOINT_TYPEDEF_TEMPLATE
PINOCCHIO_JOINT_TYPEDEF_TEMPLATE(JointDerived)
pinocchio::JointPrismaticTpl::Scalar
_Scalar Scalar
Definition: joint-prismatic.hpp:558
pinocchio::ForceDense
Definition: context/casadi.hpp:34
pinocchio::MotionPrismaticTpl::plain
PlainReturnType plain() const
Definition: joint-prismatic.hpp:85
pinocchio::CastType< NewScalar, JointModelPrismaticTpl< Scalar, Options, axis > >::type
JointModelPrismaticTpl< NewScalar, Options, axis > type
Definition: joint-prismatic.hpp:661
spatial-axis.hpp
pinocchio::JointModelPrismaticTpl::classname
static std::string classname()
Definition: joint-prismatic.hpp:738
pinocchio::JointDataPrismaticTpl::U
U_t U
Definition: joint-prismatic.hpp:630
pinocchio::SE3GroupAction< TransformPrismaticTpl< Scalar, Options, axis > >::ReturnType
traits< TransformPrismaticTpl< Scalar, Options, axis > >::PlainType ReturnType
Definition: joint-prismatic.hpp:228
pinocchio::traits< JointPrismaticTpl< _Scalar, _Options, axis > >::TangentVector_t
Eigen::Matrix< Scalar, NV, 1, Options > TangentVector_t
Definition: joint-prismatic.hpp:593
pinocchio::traits< TransformPrismaticTpl< _Scalar, _Options, _axis > >::Matrix3
Eigen::Matrix< Scalar, 3, 3, Options > Matrix3
Definition: joint-prismatic.hpp:214
pinocchio::JointMotionSubspacePrismaticTpl::NV
@ NV
Definition: joint-prismatic.hpp:360
pinocchio::operator^
EIGEN_STRONG_INLINE MotionDerived::MotionPlain operator^(const MotionDense< MotionDerived > &m1, const MotionHelicalUnalignedTpl< S2, O2 > &m2)
Definition: joint-helical-unaligned.hpp:220
pinocchio::TransformPrismaticTpl::displacement
const Scalar & displacement() const
Definition: joint-prismatic.hpp:273
pinocchio::traits< MotionPrismaticTpl< _Scalar, _Options, _axis > >::Matrix4
Eigen::Matrix< Scalar, 4, 4, Options > Matrix4
Definition: joint-prismatic.hpp:44
PINOCCHIO_CONSTRAINT_TYPEDEF_TPL
#define PINOCCHIO_CONSTRAINT_TYPEDEF_TPL(DERIVED)
Definition: joint-motion-subspace-base.hpp:36
pinocchio::traits< JointPrismaticTpl< _Scalar, _Options, axis > >::Scalar
_Scalar Scalar
Definition: joint-prismatic.hpp:575
pinocchio::impl::LhsMultiplicationOp< InertiaTpl< S1, O1 >, JointMotionSubspacePrismaticTpl< S2, O2, 2 > >::ReturnType
MultiplicationOp< Inertia, Constraint >::ReturnType ReturnType
Definition: joint-prismatic.hpp:514
pinocchio::JointMotionSubspacePrismaticTpl::__mult__
JointMotion __mult__(const Eigen::MatrixBase< Vector1Like > &v) const
Definition: joint-prismatic.hpp:368
pinocchio::MotionPrismaticTpl::Axis
SpatialAxis< _axis+LINEAR > Axis
Definition: joint-prismatic.hpp:74
pinocchio::traits< JointPrismaticTpl< _Scalar, _Options, axis > >::ConfigVector_t
Eigen::Matrix< Scalar, NQ, 1, Options > ConfigVector_t
Definition: joint-prismatic.hpp:592
Y
Y
pinocchio::MotionPrismaticTpl::motionAction
void motionAction(const MotionDense< M1 > &v, MotionDense< M2 > &mout) const
Definition: joint-prismatic.hpp:147
pinocchio::traits< MotionPrismaticTpl< _Scalar, _Options, _axis > >::Scalar
_Scalar Scalar
Definition: joint-prismatic.hpp:37
pinocchio::JointMotionSubspacePrismaticTpl::transpose
TransposeConst transpose() const
Definition: joint-prismatic.hpp:427
pinocchio::traits< MotionPrismaticTpl< _Scalar, _Options, _axis > >::HomogeneousMatrixType
Matrix4 HomogeneousMatrixType
Definition: joint-prismatic.hpp:53
pinocchio::JointModelPX
JointModelPrismaticTpl< context::Scalar, context::Options, 0 > JointModelPX
Definition: joint-prismatic.hpp:777
pinocchio::traits
Common traits structure to fully define base classes for CRTP.
Definition: fwd.hpp:71
pinocchio::impl::LhsMultiplicationOp< InertiaTpl< S1, O1 >, JointMotionSubspacePrismaticTpl< S2, O2, 1 > >::ReturnType
MultiplicationOp< Inertia, Constraint >::ReturnType ReturnType
Definition: joint-prismatic.hpp:495
pinocchio::impl::LhsMultiplicationOp< Eigen::MatrixBase< M6Like >, JointMotionSubspacePrismaticTpl< Scalar, Options, axis > >::ReturnType
MultiplicationOp< Eigen::MatrixBase< M6Like >, Constraint >::ReturnType ReturnType
Definition: joint-prismatic.hpp:545
pinocchio::traits< MotionPrismaticTpl< _Scalar, _Options, _axis > >::Vector6
Eigen::Matrix< Scalar, 6, 1, Options > Vector6
Definition: joint-prismatic.hpp:43
pinocchio::TransformPrismaticTpl::m_displacement
Scalar m_displacement
Definition: joint-prismatic.hpp:297
PINOCCHIO_EIGEN_REF_TYPE
#define PINOCCHIO_EIGEN_REF_TYPE(D)
Definition: eigen-macros.hpp:32
pinocchio::MotionAlgebraAction< JointMotionSubspacePrismaticTpl< Scalar, Options, axis >, MotionDerived >::ReturnType
Eigen::Matrix< Scalar, 6, 1, Options > ReturnType
Definition: joint-prismatic.hpp:336
pinocchio::JointMotionSubspacePrismaticTpl::TransposeConst::TransposeConst
TransposeConst(const JointMotionSubspacePrismaticTpl &ref)
Definition: joint-prismatic.hpp:405
pinocchio::impl::LhsMultiplicationOp< InertiaTpl< S1, O1 >, JointMotionSubspacePrismaticTpl< S2, O2, 1 > >::run
static ReturnType run(const Inertia &Y, const Constraint &)
Definition: joint-prismatic.hpp:496
pinocchio::impl::LhsMultiplicationOp< InertiaTpl< S1, O1 >, JointMotionSubspacePrismaticTpl< S2, O2, 2 > >::Constraint
JointMotionSubspacePrismaticTpl< S2, O2, 2 > Constraint
Definition: joint-prismatic.hpp:513
pinocchio::JointMotionSubspaceTransposeBase
Definition: joint-motion-subspace-base.hpp:185
pinocchio::MotionTpl< Scalar, Options >
pinocchio::CastType
Type of the cast of a class C templated by Scalar and Options, to a new NewScalar type....
Definition: fwd.hpp:99
dcrba.NV
NV
Definition: dcrba.py:536
pinocchio::MotionPrismaticTpl::MotionPrismaticTpl
MotionPrismaticTpl()
Definition: joint-prismatic.hpp:77
dpendulum.NQ
int NQ
Definition: dpendulum.py:9
pinocchio::impl::LhsMultiplicationOp< InertiaTpl< S1, O1 >, JointMotionSubspacePrismaticTpl< S2, O2, 1 > >::Constraint
JointMotionSubspacePrismaticTpl< S2, O2, 1 > Constraint
Definition: joint-prismatic.hpp:494
pinocchio::MotionPrismaticTpl::MOTION_TYPEDEF_TPL
EIGEN_MAKE_ALIGNED_OPERATOR_NEW MOTION_TYPEDEF_TPL(MotionPrismaticTpl)
pinocchio::JointPrismaticTpl::Options
@ Options
Definition: joint-prismatic.hpp:562
meshcat-viewer.qs
qs
Definition: meshcat-viewer.py:128
pinocchio::MotionRef
Definition: context/casadi.hpp:38
pinocchio::SpatialAxis
Definition: spatial-axis.hpp:16
pinocchio::impl::LhsMultiplicationOp< Eigen::MatrixBase< M6Like >, JointMotionSubspacePrismaticTpl< Scalar, Options, axis > >::Constraint
JointMotionSubspacePrismaticTpl< Scalar, Options, axis > Constraint
Definition: joint-prismatic.hpp:543
pinocchio::traits< MotionPrismaticTpl< _Scalar, _Options, _axis > >::Vector3
Eigen::Matrix< Scalar, 3, 1, Options > Vector3
Definition: joint-prismatic.hpp:42
pinocchio::MotionAlgebraAction< MotionPrismaticTpl< Scalar, Options, axis >, MotionDerived >::ReturnType
MotionTpl< Scalar, Options > ReturnType
Definition: joint-prismatic.hpp:31
pinocchio::MotionPrismaticTpl::se3Action_impl
void se3Action_impl(const SE3Tpl< S2, O2 > &m, MotionDense< D2 > &v) const
Definition: joint-prismatic.hpp:114
pinocchio::traits< JointMotionSubspacePrismaticTpl< _Scalar, _Options, axis > >::DenseBase
Eigen::Matrix< Scalar, 6, 1, Options > DenseBase
Definition: joint-prismatic.hpp:318
pinocchio::traits< JointMotionSubspacePrismaticTpl< _Scalar, _Options, axis > >::MatrixReturnType
DenseBase MatrixReturnType
Definition: joint-prismatic.hpp:321
pinocchio::MotionDense::angular
ConstAngularType angular() const
Definition: motion-base.hpp:32
pinocchio::JointDataPrismaticTpl::Dinv
D_t Dinv
Definition: joint-prismatic.hpp:631
pinocchio::TransformPrismaticTpl::translation
ConstLinearRef translation() const
Definition: joint-prismatic.hpp:282
pinocchio::SE3GroupAction< MotionPrismaticTpl< Scalar, Options, axis > >::ReturnType
MotionTpl< Scalar, Options > ReturnType
Definition: joint-prismatic.hpp:25
pinocchio::CartesianAxis::alphaCross
static void alphaCross(const Scalar &s, const Eigen::MatrixBase< V3_in > &vin, const Eigen::MatrixBase< V3_out > &vout)
pinocchio
Main pinocchio namespace.
Definition: timings.cpp:27
pinocchio::JointDataPZ
JointDataPrismaticTpl< context::Scalar, context::Options, 2 > JointDataPZ
Definition: joint-prismatic.hpp:784
pinocchio::traits< JointMotionSubspacePrismaticTpl< _Scalar, _Options, axis > >::JointMotion
MotionPrismaticTpl< Scalar, Options, axis > JointMotion
Definition: joint-prismatic.hpp:316
pinocchio::MotionPrismaticTpl::se3Action_impl
MotionPlain se3Action_impl(const SE3Tpl< S2, O2 > &m) const
Definition: joint-prismatic.hpp:121
pinocchio::JointModelBase::id
JointIndex id() const
Definition: joint-model-base.hpp:168
pinocchio::traits< TransformPrismaticTpl< _Scalar, _Options, _axis > >::LinearType
Vector3 LinearType
Definition: joint-prismatic.hpp:218
pinocchio::CartesianAxis
Definition: cartesian-axis.hpp:14


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