joint-helical-unaligned.hpp
Go to the documentation of this file.
1 //
2 // Copyright (c) 2022-2023 INRIA
3 //
4 
5 #ifndef __pinocchio_multibody_joint_helical_unaligned_hpp__
6 #define __pinocchio_multibody_joint_helical_unaligned_hpp__
7 
8 #include "pinocchio/fwd.hpp"
12 
15 
16 #include <iostream>
17 
18 namespace pinocchio
19 {
20 
21  template<typename Scalar, int Options>
23 
24  template<typename Scalar, int Options>
26  {
28  };
29 
30  template<typename Scalar, int Options, typename MotionDerived>
32  {
34  };
35 
36  template<typename _Scalar, int _Options>
37  struct traits<MotionHelicalUnalignedTpl<_Scalar, _Options>>
38  {
39  typedef _Scalar Scalar;
40  enum
41  {
42  Options = _Options
43  };
44  typedef Eigen::Matrix<Scalar, 3, 1, Options> Vector3;
45  typedef Eigen::Matrix<Scalar, 6, 1, Options> Vector6;
46  typedef Eigen::Matrix<Scalar, 4, 4, Options> Matrix4;
47  typedef Eigen::Matrix<Scalar, 6, 6, Options> Matrix6;
48  typedef typename PINOCCHIO_EIGEN_REF_CONST_TYPE(Vector6) ToVectorConstReturnType;
49  typedef typename PINOCCHIO_EIGEN_REF_TYPE(Vector6) ToVectorReturnType;
52  typedef const Vector3 ConstAngularType;
53  typedef const Vector3 ConstLinearType;
58  enum
59  {
60  LINEAR = 0,
61  ANGULAR = 3
62  };
63  }; // traits MotionHelicalUnalignedTpl
64 
65  template<typename _Scalar, int _Options>
66  struct MotionHelicalUnalignedTpl : MotionBase<MotionHelicalUnalignedTpl<_Scalar, _Options>>
67  {
68  EIGEN_MAKE_ALIGNED_OPERATOR_NEW
69 
71 
73  {
74  }
75 
76  template<typename Vector3Like, typename OtherScalar>
78  const Eigen::MatrixBase<Vector3Like> & axis, const OtherScalar & w, const OtherScalar & v)
79  : m_axis(axis)
80  , m_w(w)
81  , m_v(v)
82  {
83  }
84 
85  inline PlainReturnType plain() const
86  {
87  return PlainReturnType(m_axis * m_v, m_axis * m_w);
88  }
89 
90  template<typename OtherScalar>
91  MotionHelicalUnalignedTpl __mult__(const OtherScalar & alpha) const
92  {
94  }
95 
96  template<typename MotionDerived>
98  {
99  for (Eigen::DenseIndex k = 0; k < 3; ++k)
100  {
101  m.angular().noalias() = m_axis * m_w;
102  m.linear().noalias() = m_axis * m_v;
103  }
104  }
105 
106  template<typename MotionDerived>
107  inline void addTo(MotionDense<MotionDerived> & v) const
108  {
109  v.angular() += m_axis * m_w;
110  v.linear() += m_axis * m_v;
111  }
112 
113  template<typename S2, int O2, typename D2>
114  inline void se3Action_impl(const SE3Tpl<S2, O2> & m, MotionDense<D2> & v) const
115  {
116  v.angular().noalias() = m_w * m.rotation() * m_axis;
117  v.linear().noalias() = m.translation().cross(v.angular()) + m_v * m.rotation() * m_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.angular().noalias() = m_axis.cross(m.translation());
133  v.angular() *= m_w;
134  v.linear().noalias() =
135  m.rotation().transpose() * v.angular() + m_v * (m.rotation().transpose() * m_axis);
136 
137  // Angular
138  v.angular().noalias() = m.rotation().transpose() * m_axis * m_w;
139  }
140 
141  template<typename S2, int O2>
142  MotionPlain se3ActionInverse_impl(const SE3Tpl<S2, O2> & m) const
143  {
144  MotionPlain res;
146  return res;
147  }
148 
149  template<typename M1, typename M2>
150  void motionAction(const MotionDense<M1> & v, MotionDense<M2> & mout) const
151  {
152  // Linear
153  mout.linear().noalias() = v.linear().cross(m_axis);
154  mout.linear() *= m_w;
155  mout.angular().noalias() = v.angular().cross(m_axis);
156  mout.angular() *= m_v;
157  mout.linear() += mout.angular();
158 
159  // Angular
160  mout.angular().noalias() = v.angular().cross(m_axis);
161  mout.angular() *= m_w;
162  }
163 
164  template<typename M1>
165  MotionPlain motionAction(const MotionDense<M1> & v) const
166  {
167  MotionPlain res;
168  motionAction(v, res);
169  return res;
170  }
171 
173  {
174  return m_w;
175  }
176  const Scalar & angularRate() const
177  {
178  return m_w;
179  }
180 
182  {
183  return m_v;
184  }
185  const Scalar & linearRate() const
186  {
187  return m_v;
188  }
189 
191  {
192  return m_axis;
193  }
194  const Vector3 & axis() const
195  {
196  return m_axis;
197  }
198 
199  bool isEqual_impl(const MotionHelicalUnalignedTpl & other) const
200  {
201  return internal::comparison_eq(m_axis, other.m_axis)
202  && internal::comparison_eq(m_w, other.m_w) && internal::comparison_eq(m_v, other.m_v);
203  }
204 
205  protected:
208 
209  }; // struct MotionHelicalUnalignedTpl
210 
211  template<typename S1, int O1, typename MotionDerived>
212  typename MotionDerived::MotionPlain
214  {
215  typename MotionDerived::MotionPlain res(m2);
216  res += m1;
217  return res;
218  }
219 
220  template<typename MotionDerived, typename S2, int O2>
221  EIGEN_STRONG_INLINE typename MotionDerived::MotionPlain
223  {
224  return m2.motionAction(m1);
225  }
226 
227  template<typename Scalar, int Options>
229 
230  template<typename Scalar, int Options>
232  {
233  typedef Eigen::Matrix<Scalar, 6, 1, Options> ReturnType;
234  };
235 
236  template<typename Scalar, int Options, typename MotionDerived>
238  {
239  typedef Eigen::Matrix<Scalar, 6, 1, Options> ReturnType;
240  };
241 
242  template<typename Scalar, int Options, typename ForceDerived>
244  {
245  typedef typename Eigen::Matrix<Scalar, 1, 1> ReturnType;
246  };
247 
248  template<typename Scalar, int Options, typename ForceSet>
250  {
251  typedef typename Eigen::Matrix<Scalar, Eigen::Dynamic, Eigen::Dynamic> ReturnType;
252  };
253 
254  template<typename _Scalar, int _Options>
256  {
257  typedef _Scalar Scalar;
258  enum
259  {
260  Options = _Options
261  };
262  enum
263  {
264  LINEAR = 0,
265  ANGULAR = 3
266  };
267 
269  typedef Eigen::Matrix<Scalar, 1, 1, Options> JointForce;
270  typedef Eigen::Matrix<Scalar, 6, 1, Options> DenseBase;
271  typedef Eigen::Matrix<Scalar, 1, 1, Options> ReducedSquaredMatrix;
272 
275 
276  typedef Eigen::Matrix<Scalar, 3, 1, Options> Vector3;
277 
278  typedef typename ReducedSquaredMatrix::IdentityReturnType StDiagonalMatrixSOperationReturnType;
279  }; // traits JointMotionSubspaceHelicalUnalignedTpl
280 
281  template<typename _Scalar, int _Options>
283  : JointMotionSubspaceBase<JointMotionSubspaceHelicalUnalignedTpl<_Scalar, _Options>>
284  {
285  EIGEN_MAKE_ALIGNED_OPERATOR_NEW
286 
288  enum
289  {
290  NV = 1
291  };
292 
294  {
295  }
296 
298 
299  template<typename Vector3Like>
301  const Eigen::MatrixBase<Vector3Like> & axis, const Scalar & h)
302  : m_axis(axis)
303  , m_pitch(h)
304  {
305  }
306 
307  template<typename Vector1Like>
308  JointMotion __mult__(const Eigen::MatrixBase<Vector1Like> & v) const
309  {
310  EIGEN_STATIC_ASSERT_VECTOR_SPECIFIC_SIZE(Vector1Like, 1);
311  assert(v.size() == 1);
312  return JointMotion(m_axis, v[0], Scalar(v[0] * m_pitch));
313  }
314 
315  template<typename S1, int O1>
317  se3Action(const SE3Tpl<S1, O1> & m) const
318  {
319  typedef
321  ReturnType res;
322  res.template segment<3>(ANGULAR).noalias() = m.rotation() * m_axis;
323  res.template segment<3>(LINEAR).noalias() =
324  m.translation().cross(res.template segment<3>(ANGULAR)) + m_pitch * (m.rotation() * m_axis);
325  return res;
326  }
327 
328  template<typename S1, int O1>
331  {
332  typedef
334 
335  ReturnType res;
336  res.template segment<3>(ANGULAR).noalias() = m.rotation().transpose() * m_axis;
337  res.template segment<3>(LINEAR).noalias() =
338  -m.rotation().transpose() * m.translation().cross(m_axis)
339  + m.rotation().transpose() * m_axis * m_pitch;
340 
341  return res;
342  }
343 
344  int nv_impl() const
345  {
346  return NV;
347  }
348 
349  struct TransposeConst : JointMotionSubspaceTransposeBase<JointMotionSubspaceHelicalUnalignedTpl>
350  {
353  : ref(ref)
354  {
355  }
356 
357  template<typename ForceDerived>
360  {
361  typedef typename ConstraintForceOp<
362  JointMotionSubspaceHelicalUnalignedTpl, ForceDerived>::ReturnType ReturnType;
363  ReturnType res;
364  res[0] = ref.axis().dot(f.angular()) + ref.axis().dot(f.linear()) * ref.m_pitch;
365  return res;
366  }
367 
369  template<typename Derived>
371  operator*(const Eigen::MatrixBase<Derived> & F) const
372  {
373  assert(F.rows() == 6);
374  return (
375  ref.axis().transpose() * F.template middleRows<3>(ANGULAR)
376  + (ref.axis().transpose() * F.template middleRows<3>(LINEAR) * ref.m_pitch));
377  }
378  }; // struct TransposeConst
379 
381  {
382  return TransposeConst(*this);
383  }
384 
385  /* CRBA joint operators
386  * - ForceSet::Block = ForceSet
387  * - ForceSet operator* (Inertia Y,Constraint S)
388  * - MatrixBase operator* (Constraint::Transpose S, ForceSet::Block)
389  * - SE3::act(ForceSet::Block)
390  */
391  DenseBase matrix_impl() const
392  {
393  DenseBase S;
394  S.template segment<3>(LINEAR) = m_axis * m_pitch;
395  S.template segment<3>(ANGULAR) = m_axis;
396  return S;
397  }
398 
399  template<typename MotionDerived>
402  {
403  const typename MotionDerived::ConstLinearType v = m.linear();
404  const typename MotionDerived::ConstAngularType w = m.angular();
405 
406  DenseBase res;
407  res.template segment<3>(LINEAR).noalias() = v.cross(m_axis);
408  res.template segment<3>(ANGULAR).noalias() = w.cross(m_axis * m_pitch);
409  res.template segment<3>(LINEAR).noalias() += res.template segment<3>(ANGULAR);
410  res.template segment<3>(ANGULAR).noalias() = w.cross(m_axis);
411 
412  return res;
413  }
414 
416  {
417  return internal::comparison_eq(m_axis, other.m_axis)
419  }
420 
422  {
423  return m_axis;
424  }
425  const Vector3 & axis() const
426  {
427  return m_axis;
428  }
429 
430  Scalar & h()
431  {
432  return m_pitch;
433  }
434  const Scalar & h() const
435  {
436  return m_pitch;
437  }
438 
441 
442  }; // struct JointMotionSubspaceHelicalUnalignedTpl
443 
444  template<typename _Scalar, int _Options>
445  Eigen::Matrix<_Scalar, 1, 1, _Options> operator*(
447  S_transpose,
449  {
450  Eigen::Matrix<_Scalar, 1, 1, _Options> res;
451  res(0) = (S_transpose.ref.axis() * S_transpose.ref.h()).dot(S.axis() * S.h())
452  + (S_transpose.ref.axis().dot(S.axis()));
453  return res;
454  }
455 
456  template<typename S1, int O1, typename S2, int O2>
458  {
459  typedef Eigen::Matrix<S2, 6, 1, O2> ReturnType;
460  };
461 
462  /* [CRBA] ForceSet operator* (Inertia Y,Constraint S) */
463  namespace impl
464  {
465  template<typename S1, int O1, typename S2, int O2>
467  {
472  static inline ReturnType run(const Inertia & Y, const Constraint & cru)
473  {
474  ReturnType res;
475  /* YS = [ m -mcx ; mcx I-mcxcx ] [ h ; w ] = [mh-mcxw ; mcxh+Iw-mcxcxw ] */
476 
477  const S2 & m_pitch = cru.h();
478  const typename Inertia::Scalar & m = Y.mass();
479  const typename Inertia::Vector3 & c = Y.lever();
480  const typename Inertia::Symmetric3 & I = Y.inertia();
481 
482  res.template segment<3>(Inertia::LINEAR) = -m * c.cross(cru.axis());
483  res.template segment<3>(Inertia::ANGULAR).noalias() = I * cru.axis();
484  res.template segment<3>(Inertia::ANGULAR) += c.cross(cru.axis()) * m * m_pitch;
485  res.template segment<3>(Inertia::ANGULAR) +=
486  c.cross(res.template segment<3>(Inertia::LINEAR));
487  res.template segment<3>(Inertia::LINEAR) += m * m_pitch * cru.axis();
488  return res;
489  }
490  };
491  } // namespace impl
492 
493  template<typename M6Like, typename Scalar, int Options>
495  Eigen::MatrixBase<M6Like>,
497  {
498  typedef const Eigen::Matrix<Scalar, 6, 1> ReturnType;
499  };
500 
501  /* [ABA] operator* (Inertia Y,Constraint S) */
502  namespace impl
503  {
504  template<typename M6Like, typename Scalar, int Options>
506  Eigen::MatrixBase<M6Like>,
508  {
510  typedef Eigen::Matrix<Scalar, 6, 1> ReturnType;
511  static inline ReturnType run(const Eigen::MatrixBase<M6Like> & Y, const Constraint & cru)
512  {
513  EIGEN_STATIC_ASSERT_MATRIX_SPECIFIC_SIZE(M6Like, 6, 6);
514  return Y.derived().template middleCols<3>(Constraint::ANGULAR) * cru.axis()
515  + Y.derived().template middleCols<3>(Constraint::LINEAR) * cru.axis() * cru.h();
516  }
517  };
518  } // namespace impl
519 
520  template<typename Scalar, int Options>
522 
523  template<typename _Scalar, int _Options>
524  struct traits<JointHelicalUnalignedTpl<_Scalar, _Options>>
525  {
526  enum
527  {
528  NQ = 1,
529  NV = 1
530  };
531  typedef _Scalar Scalar;
532  enum
533  {
534  Options = _Options
535  };
542 
543  // [ABA]
544  typedef Eigen::Matrix<Scalar, 6, NV, Options> U_t;
545  typedef Eigen::Matrix<Scalar, NV, NV, Options> D_t;
546  typedef Eigen::Matrix<Scalar, 6, NV, Options> UD_t;
547 
548  typedef Eigen::Matrix<Scalar, NQ, 1, Options> ConfigVector_t;
549  typedef Eigen::Matrix<Scalar, NV, 1, Options> TangentVector_t;
550 
552  };
553 
554  template<typename _Scalar, int _Options>
555  struct traits<JointDataHelicalUnalignedTpl<_Scalar, _Options>>
556  {
558  typedef _Scalar Scalar;
559  };
560 
561  template<typename _Scalar, int _Options>
562  struct traits<JointModelHelicalUnalignedTpl<_Scalar, _Options>>
563  {
565  typedef _Scalar Scalar;
566  };
567 
568  template<typename _Scalar, int _Options>
570  : public JointDataBase<JointDataHelicalUnalignedTpl<_Scalar, _Options>>
571  {
572  EIGEN_MAKE_ALIGNED_OPERATOR_NEW
576 
577  ConfigVector_t joint_q;
578  TangentVector_t joint_v;
579 
580  Constraint_t S;
581  Transformation_t M;
582  Motion_t v;
583  Bias_t c;
584 
585  // [ABA] specific data
586  U_t U;
587  D_t Dinv;
588  UD_t UDinv;
589  D_t StU;
590 
592  : joint_q(ConfigVector_t::Zero())
593  , joint_v(TangentVector_t::Zero())
594  , S(Constraint_t::Vector3::Zero(), (Scalar)0)
595  , M(Transformation_t::Identity())
596  , v(Constraint_t::Vector3::Zero(), (Scalar)0, (Scalar)0)
597  , U(U_t::Zero())
598  , Dinv(D_t::Zero())
599  , UDinv(UD_t::Zero())
600  , StU(D_t::Zero())
601  {
602  }
603 
604  template<typename Vector3Like>
605  JointDataHelicalUnalignedTpl(const Eigen::MatrixBase<Vector3Like> & axis)
606  : joint_q(ConfigVector_t::Zero())
607  , joint_v(TangentVector_t::Zero())
608  , S(axis, (Scalar)0)
609  , M(Transformation_t::Identity())
610  , v(axis, (Scalar)0, (Scalar)0)
611  , U(U_t::Zero())
612  , Dinv(D_t::Zero())
613  , UDinv(UD_t::Zero())
614  , StU(D_t::Zero())
615  {
616  }
617 
618  static std::string classname()
619  {
620  return std::string("JointDataHelicalUnaligned");
621  }
622  std::string shortname() const
623  {
624  return classname();
625  }
626 
627  }; // struct JointDataHelicalUnalignedTpl
628 
629  PINOCCHIO_JOINT_CAST_TYPE_SPECIALIZATION(JointModelHelicalUnalignedTpl);
630  template<typename _Scalar, int _Options>
631  struct JointModelHelicalUnalignedTpl
632  : public JointModelBase<JointModelHelicalUnalignedTpl<_Scalar, _Options>>
633  {
634  EIGEN_MAKE_ALIGNED_OPERATOR_NEW
637  typedef Eigen::Matrix<Scalar, 3, 1, _Options> Vector3;
638 
640  using Base::id;
641  using Base::idx_q;
642  using Base::idx_v;
643  using Base::setIndexes;
644 
646  {
647  }
648 
649  template<typename Vector3Like>
650  JointModelHelicalUnalignedTpl(const Eigen::MatrixBase<Vector3Like> & axis)
651  : axis(axis)
652  , m_pitch((Scalar)0)
653  {
654  EIGEN_STATIC_ASSERT_VECTOR_ONLY(Vector3Like);
655  assert(isUnitary(axis) && "Rotation axis is not unitary");
656  }
657 
659  const Scalar & x, const Scalar & y, const Scalar & z, const Scalar & h)
660  : axis(x, y, z)
661  , m_pitch(h)
662  {
663  normalize(axis);
664  assert(isUnitary(axis) && "Rotation axis is not unitary");
665  }
666 
667  template<typename Vector3Like>
668  JointModelHelicalUnalignedTpl(const Eigen::MatrixBase<Vector3Like> & axis, const Scalar & h)
669  : axis(axis)
670  , m_pitch(h)
671  {
672  EIGEN_STATIC_ASSERT_VECTOR_ONLY(Vector3Like);
673  assert(isUnitary(axis) && "Rotation axis is not unitary");
674  }
675 
676  const std::vector<bool> hasConfigurationLimit() const
677  {
678  return {true, true};
679  }
680 
681  const std::vector<bool> hasConfigurationLimitInTangent() const
682  {
683  return {true, true};
684  }
685 
686  JointDataDerived createData() const
687  {
688  return JointDataDerived();
689  }
690 
691  using Base::isEqual;
692  bool isEqual(const JointModelHelicalUnalignedTpl & other) const
693  {
694  return Base::isEqual(other) && internal::comparison_eq(axis, other.axis)
695  && internal::comparison_eq(m_pitch, other.m_pitch);
696  }
697 
698  template<typename ConfigVector>
699  void calc(JointDataDerived & data, const typename Eigen::MatrixBase<ConfigVector> & qs) const
700  {
701  data.joint_q[0] = qs[idx_q()];
702 
703  toRotationMatrix(axis, data.joint_q[0], data.M.rotation());
704  data.M.translation() = axis * data.joint_q[0] * m_pitch;
705  data.S.h() = m_pitch;
706  data.S.axis() = axis;
707  }
708 
709  template<typename TangentVector>
710  void
711  calc(JointDataDerived & data, const Blank, const typename Eigen::MatrixBase<TangentVector> & vs)
712  const
713  {
714  data.v.angularRate() = static_cast<Scalar>(vs[idx_v()]);
715  data.v.axis() = axis;
716  data.v.linearRate() = static_cast<Scalar>(vs[idx_v()] * m_pitch);
717  }
718 
719  template<typename ConfigVector, typename TangentVector>
720  void calc(
721  JointDataDerived & data,
722  const typename Eigen::MatrixBase<ConfigVector> & qs,
723  const typename Eigen::MatrixBase<TangentVector> & vs) const
724  {
725  calc(data, qs.derived());
726  data.v.angularRate() = static_cast<Scalar>(vs[idx_v()]);
727  data.v.axis() = axis;
728  data.v.linearRate() = static_cast<Scalar>(vs[idx_v()] * m_pitch);
729  }
730 
731  template<typename VectorLike, typename Matrix6Like>
732  void calc_aba(
733  JointDataDerived & data,
734  const Eigen::MatrixBase<VectorLike> & armature,
735  const Eigen::MatrixBase<Matrix6Like> & I,
736  const bool update_I) const
737  {
738  data.U.noalias() = I.template middleCols<3>(Motion::ANGULAR) * axis
739  + m_pitch * I.template middleCols<3>(Motion::LINEAR) * axis;
740  data.StU[0] = axis.dot(data.U.template segment<3>(Motion::ANGULAR))
741  + m_pitch * axis.dot(data.U.template segment<3>(Motion::LINEAR)) + armature[0];
742  data.Dinv[0] = Scalar(1) / data.StU[0];
743  data.UDinv.noalias() = data.U * data.Dinv;
744  if (update_I)
745  PINOCCHIO_EIGEN_CONST_CAST(Matrix6Like, I).noalias() -= data.UDinv * data.U.transpose();
746  }
747 
748  static std::string classname()
749  {
750  return std::string("JointModelHelicalUnaligned");
751  }
752  std::string shortname() const
753  {
754  return classname();
755  }
756 
758  template<typename NewScalar>
760  {
762  ReturnType res(axis.template cast<NewScalar>(), ScalarCast<NewScalar, Scalar>::cast(m_pitch));
763  res.setIndexes(id(), idx_q(), idx_v());
764  return res;
765  }
766 
769 
770  }; // struct JointModelHelicalUnalignedTpl
771 
772 } // namespace pinocchio
773 
774 #include <boost/type_traits.hpp>
775 
776 namespace boost
777 {
778  template<typename Scalar, int Options>
779  struct has_nothrow_constructor<::pinocchio::JointModelHelicalUnalignedTpl<Scalar, Options>>
780  : public integral_constant<bool, true>
781  {
782  };
783 
784  template<typename Scalar, int Options>
785  struct has_nothrow_copy<::pinocchio::JointModelHelicalUnalignedTpl<Scalar, Options>>
786  : public integral_constant<bool, true>
787  {
788  };
789 
790  template<typename Scalar, int Options>
791  struct has_nothrow_constructor<::pinocchio::JointDataHelicalUnalignedTpl<Scalar, Options>>
792  : public integral_constant<bool, true>
793  {
794  };
795 
796  template<typename Scalar, int Options>
797  struct has_nothrow_copy<::pinocchio::JointDataHelicalUnalignedTpl<Scalar, Options>>
798  : public integral_constant<bool, true>
799  {
800  };
801 } // namespace boost
802 
803 #endif // ifndef __pinocchio_multibody_joint_helical_unaligned_hpp__
pinocchio::traits< JointMotionSubspaceHelicalUnalignedTpl< _Scalar, _Options > >::StDiagonalMatrixSOperationReturnType
ReducedSquaredMatrix::IdentityReturnType StDiagonalMatrixSOperationReturnType
Definition: joint-helical-unaligned.hpp:278
pinocchio::InertiaTpl
Definition: spatial/fwd.hpp:58
pinocchio::impl::LhsMultiplicationOp< Eigen::MatrixBase< M6Like >, JointMotionSubspaceHelicalUnalignedTpl< Scalar, Options > >::run
static ReturnType run(const Eigen::MatrixBase< M6Like > &Y, const Constraint &cru)
Definition: joint-helical-unaligned.hpp:511
PINOCCHIO_JOINT_DATA_BASE_ACCESSOR_DEFAULT_RETURN_TYPE
#define PINOCCHIO_JOINT_DATA_BASE_ACCESSOR_DEFAULT_RETURN_TYPE
Definition: joint-data-base.hpp:137
pinocchio::traits< JointHelicalUnalignedTpl< _Scalar, _Options > >::TangentVector_t
Eigen::Matrix< Scalar, NV, 1, Options > TangentVector_t
Definition: joint-helical-unaligned.hpp:549
pinocchio::JointMotionSubspaceHelicalUnalignedTpl
Definition: joint-helical-unaligned.hpp:228
pinocchio::traits< JointModelHelicalUnalignedTpl< _Scalar, _Options > >::JointDerived
JointHelicalUnalignedTpl< _Scalar, _Options > JointDerived
Definition: joint-helical-unaligned.hpp:564
Eigen
pinocchio::MultiplicationOp
Forward declaration of the multiplication operation return type. Should be overloaded,...
Definition: binary-op.hpp:15
pinocchio::JointDataHelicalUnalignedTpl::JointDataHelicalUnalignedTpl
JointDataHelicalUnalignedTpl()
Definition: joint-helical-unaligned.hpp:591
pinocchio::traits< JointMotionSubspaceHelicalUnalignedTpl< _Scalar, _Options > >::ReducedSquaredMatrix
Eigen::Matrix< Scalar, 1, 1, Options > ReducedSquaredMatrix
Definition: joint-helical-unaligned.hpp:271
test-cpp2pybind11.m
m
Definition: test-cpp2pybind11.py:25
pinocchio::MotionHelicalUnalignedTpl::m_v
Scalar m_v
Definition: joint-helical-unaligned.hpp:207
pinocchio::JointModelHelicalUnalignedTpl::JointModelHelicalUnalignedTpl
JointModelHelicalUnalignedTpl()
Definition: joint-helical-unaligned.hpp:645
pinocchio::MotionHelicalUnalignedTpl::angularRate
Scalar & angularRate()
Definition: joint-helical-unaligned.hpp:172
pinocchio::traits< JointHelicalUnalignedTpl< _Scalar, _Options > >::JointDataDerived
JointDataHelicalUnalignedTpl< Scalar, Options > JointDataDerived
Definition: joint-helical-unaligned.hpp:536
pinocchio::JointDataHelicalUnalignedTpl::M
Transformation_t M
Definition: joint-helical-unaligned.hpp:581
pinocchio::MotionAlgebraAction< JointMotionSubspaceHelicalUnalignedTpl< Scalar, Options >, MotionDerived >::ReturnType
Eigen::Matrix< Scalar, 6, 1, Options > ReturnType
Definition: joint-helical-unaligned.hpp:239
pinocchio::traits< MotionHelicalUnalignedTpl< _Scalar, _Options > >::MotionPlain
MotionTpl< Scalar, Options > MotionPlain
Definition: joint-helical-unaligned.hpp:55
rotation.hpp
pinocchio::isUnitary
bool isUnitary(const Eigen::MatrixBase< MatrixLike > &mat, const typename MatrixLike::RealScalar &prec=Eigen::NumTraits< typename MatrixLike::Scalar >::dummy_precision())
Check whether the input matrix is Unitary within the given precision.
Definition: math/matrix.hpp:155
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::JointModelHelicalUnalignedTpl::calc
void calc(JointDataDerived &data, const typename Eigen::MatrixBase< ConfigVector > &qs) const
Definition: joint-helical-unaligned.hpp:699
pinocchio::JointModelBase
Definition: joint-model-base.hpp:75
pinocchio::ConstraintForceSetOp< JointMotionSubspaceHelicalUnalignedTpl< Scalar, Options >, ForceSet >::ReturnType
Eigen::Matrix< Scalar, Eigen::Dynamic, Eigen::Dynamic > ReturnType
Definition: joint-helical-unaligned.hpp:251
pinocchio::traits< JointHelicalUnalignedTpl< _Scalar, _Options > >::ConfigVector_t
Eigen::Matrix< Scalar, NQ, 1, Options > ConfigVector_t
Definition: joint-helical-unaligned.hpp:548
pinocchio::JointDataHelicalUnalignedTpl::S
Constraint_t S
Definition: joint-helical-unaligned.hpp:580
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::JointMotionSubspaceBase
Definition: joint-motion-subspace-base.hpp:59
c
Vec3f c
PINOCCHIO_EIGEN_CONST_CAST
#define PINOCCHIO_EIGEN_CONST_CAST(TYPE, OBJ)
Macro for an automatic const_cast.
Definition: eigen-macros.hpp:51
pinocchio::traits< JointDataHelicalUnalignedTpl< _Scalar, _Options > >::JointDerived
JointHelicalUnalignedTpl< _Scalar, _Options > JointDerived
Definition: joint-helical-unaligned.hpp:557
pinocchio::SE3Tpl
Definition: context/casadi.hpp:29
fwd.hpp
pinocchio::SE3GroupAction::ReturnType
D ReturnType
Definition: spatial/se3.hpp:41
pinocchio::JointDataBase
Definition: joint-data-base.hpp:161
pinocchio::ConstraintForceOp< JointMotionSubspaceHelicalUnalignedTpl< Scalar, Options >, ForceDerived >::ReturnType
Eigen::Matrix< Scalar, 1, 1 > ReturnType
Definition: joint-helical-unaligned.hpp:245
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::JointMotionSubspaceHelicalUnalignedTpl::TransposeConst::operator*
ConstraintForceSetOp< JointMotionSubspaceHelicalUnalignedTpl, Derived >::ReturnType operator*(const Eigen::MatrixBase< Derived > &F) const
[CRBA] MatrixBase operator* (Constraint::Transpose S, ForceSet::Block)
Definition: joint-helical-unaligned.hpp:371
inertia.hpp
pinocchio::JointMotionSubspaceHelicalUnalignedTpl::se3ActionInverse
SE3GroupAction< JointMotionSubspaceHelicalUnalignedTpl >::ReturnType se3ActionInverse(const SE3Tpl< S1, O1 > &m) const
Definition: joint-helical-unaligned.hpp:330
pinocchio::JointDataHelicalUnalignedTpl::StU
D_t StU
Definition: joint-helical-unaligned.hpp:589
pinocchio::MotionHelicalUnalignedTpl::__mult__
MotionHelicalUnalignedTpl __mult__(const OtherScalar &alpha) const
Definition: joint-helical-unaligned.hpp:91
pinocchio::impl::LhsMultiplicationOp< InertiaTpl< S1, O1 >, JointMotionSubspaceHelicalUnalignedTpl< S2, O2 > >::Vector3
JointMotionSubspaceHelicalUnalignedTpl< S2, O2 >::Vector3 Vector3
Definition: joint-helical-unaligned.hpp:470
pinocchio::MotionDense
Definition: context/casadi.hpp:36
pinocchio::python::Scalar
context::Scalar Scalar
Definition: admm-solver.cpp:29
pinocchio::JointModelHelicalUnalignedTpl::calc
void calc(JointDataDerived &data, const typename Eigen::MatrixBase< ConfigVector > &qs, const typename Eigen::MatrixBase< TangentVector > &vs) const
Definition: joint-helical-unaligned.hpp:720
pinocchio::JointModelHelicalUnalignedTpl::isEqual
bool isEqual(const JointModelHelicalUnalignedTpl &other) const
Definition: joint-helical-unaligned.hpp:692
pinocchio::impl::LhsMultiplicationOp< InertiaTpl< S1, O1 >, JointMotionSubspaceHelicalUnalignedTpl< S2, O2 > >::run
static ReturnType run(const Inertia &Y, const Constraint &cru)
Definition: joint-helical-unaligned.hpp:472
pinocchio::JointDataHelicalUnalignedTpl
Definition: multibody/joint/fwd.hpp:69
pinocchio::operator+
MotionDerived::MotionPlain operator+(const MotionHelicalUnalignedTpl< S1, O1 > &m1, const MotionDense< MotionDerived > &m2)
Definition: joint-helical-unaligned.hpp:213
pinocchio::JointMotionSubspaceHelicalUnalignedTpl::motionAction
MotionAlgebraAction< JointMotionSubspaceHelicalUnalignedTpl, MotionDerived >::ReturnType motionAction(const MotionDense< MotionDerived > &m) const
Definition: joint-helical-unaligned.hpp:401
boost
pinocchio::JointMotionSubspaceHelicalUnalignedTpl::transpose
TransposeConst transpose() const
Definition: joint-helical-unaligned.hpp:380
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::res
ReturnType res
Definition: spatial/classic-acceleration.hpp:57
pinocchio::JointModelHelicalUnalignedTpl::JointDerived
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef JointHelicalUnalignedTpl< _Scalar, _Options > JointDerived
Definition: joint-helical-unaligned.hpp:635
pinocchio::MotionHelicalUnalignedTpl::se3Action_impl
MotionPlain se3Action_impl(const SE3Tpl< S2, O2 > &m) const
Definition: joint-helical-unaligned.hpp:121
pinocchio::MotionAlgebraAction
Return type of the ation of a Motion onto an object of type D.
Definition: spatial/motion.hpp:45
pinocchio::traits< JointMotionSubspaceHelicalUnalignedTpl< _Scalar, _Options > >::Vector3
Eigen::Matrix< Scalar, 3, 1, Options > Vector3
Definition: joint-helical-unaligned.hpp:276
pinocchio::JointModelHelicalUnalignedTpl::axis
Vector3 axis
Definition: joint-helical-unaligned.hpp:767
pinocchio::impl::LhsMultiplicationOp< InertiaTpl< S1, O1 >, JointMotionSubspaceHelicalUnalignedTpl< S2, O2 > >::Inertia
InertiaTpl< S1, O1 > Inertia
Definition: joint-helical-unaligned.hpp:468
pinocchio::operator*
TridiagonalSymmetricMatrixApplyOnTheLeftReturnType< LhsMatrixType, TridiagonalSymmetricMatrixTpl< S, O > > operator*(const Eigen::MatrixBase< LhsMatrixType > &lhs, const TridiagonalSymmetricMatrixTpl< S, O > &rhs)
Definition: math/tridiagonal-matrix.hpp:319
pinocchio::traits< JointMotionSubspaceHelicalUnalignedTpl< _Scalar, _Options > >::DenseBase
Eigen::Matrix< Scalar, 6, 1, Options > DenseBase
Definition: joint-helical-unaligned.hpp:270
pinocchio::JointDataHelicalUnalignedTpl::joint_v
TangentVector_t joint_v
Definition: joint-helical-unaligned.hpp:578
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::JointMotionSubspaceHelicalUnalignedTpl::Vector3
traits< JointMotionSubspaceHelicalUnalignedTpl >::Vector3 Vector3
Definition: joint-helical-unaligned.hpp:297
pinocchio::traits< MotionHelicalUnalignedTpl< _Scalar, _Options > >::ConstAngularType
const typedef Vector3 ConstAngularType
Definition: joint-helical-unaligned.hpp:52
pinocchio::MotionDense::linear
ConstLinearType linear() const
Definition: motion-base.hpp:36
pinocchio::JointModelHelicalUnalignedTpl::hasConfigurationLimit
const std::vector< bool > hasConfigurationLimit() const
Definition: joint-helical-unaligned.hpp:676
pinocchio::traits< MotionHelicalUnalignedTpl< _Scalar, _Options > >::Vector3
Eigen::Matrix< Scalar, 3, 1, Options > Vector3
Definition: joint-helical-unaligned.hpp:44
pinocchio::JointModelHelicalUnalignedTpl::hasConfigurationLimitInTangent
const std::vector< bool > hasConfigurationLimitInTangent() const
Definition: joint-helical-unaligned.hpp:681
pinocchio::SE3GroupAction
Definition: spatial/se3.hpp:39
pinocchio::MotionHelicalUnalignedTpl::motionAction
MotionPlain motionAction(const MotionDense< M1 > &v) const
Definition: joint-helical-unaligned.hpp:165
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::MotionHelicalUnalignedTpl::addTo
void addTo(MotionDense< MotionDerived > &v) const
Definition: joint-helical-unaligned.hpp:107
pinocchio::MotionAlgebraAction::ReturnType
D ReturnType
Definition: spatial/motion.hpp:47
pinocchio::JointMotionSubspaceHelicalUnalignedTpl::TransposeConst::ref
const JointMotionSubspaceHelicalUnalignedTpl & ref
Definition: joint-helical-unaligned.hpp:351
pinocchio::JointDataHelicalUnalignedTpl::shortname
std::string shortname() const
Definition: joint-helical-unaligned.hpp:622
pinocchio::JointDataHelicalUnalignedTpl::classname
static std::string classname()
Definition: joint-helical-unaligned.hpp:618
pinocchio::traits< MotionHelicalUnalignedTpl< _Scalar, _Options > >::Matrix6
Eigen::Matrix< Scalar, 6, 6, Options > Matrix6
Definition: joint-helical-unaligned.hpp:47
pinocchio::python::context::Symmetric3
Symmetric3Tpl< Scalar, Options > Symmetric3
Definition: bindings/python/context/generic.hpp:59
pinocchio::JointMotionSubspaceHelicalUnalignedTpl::__mult__
JointMotion __mult__(const Eigen::MatrixBase< Vector1Like > &v) const
Definition: joint-helical-unaligned.hpp:308
pinocchio::MotionAlgebraAction< MotionHelicalUnalignedTpl< Scalar, Options >, MotionDerived >::ReturnType
MotionTpl< Scalar, Options > ReturnType
Definition: joint-helical-unaligned.hpp:33
pinocchio::MotionHelicalUnalignedTpl::MOTION_TYPEDEF_TPL
EIGEN_MAKE_ALIGNED_OPERATOR_NEW MOTION_TYPEDEF_TPL(MotionHelicalUnalignedTpl)
pinocchio::traits< MotionHelicalUnalignedTpl< _Scalar, _Options > >::PlainReturnType
MotionPlain PlainReturnType
Definition: joint-helical-unaligned.hpp:56
pinocchio::ConstraintForceSetOp::ReturnType
ReturnTypeNotDefined ReturnType
Definition: joint-motion-subspace-base.hpp:55
simulation-contact-dynamics.S
S
Definition: simulation-contact-dynamics.py:80
matrix.hpp
reachable-workspace-with-collisions.alpha
float alpha
Definition: reachable-workspace-with-collisions.py:162
pinocchio::MotionHelicalUnalignedTpl::isEqual_impl
bool isEqual_impl(const MotionHelicalUnalignedTpl &other) const
Definition: joint-helical-unaligned.hpp:199
pinocchio::PINOCCHIO_JOINT_CAST_TYPE_SPECIALIZATION
PINOCCHIO_JOINT_CAST_TYPE_SPECIALIZATION(JointModelFreeFlyerTpl)
Free-flyer joint in .
pinocchio::JointModelHelicalUnalignedTpl::Vector3
Eigen::Matrix< Scalar, 3, 1, _Options > Vector3
Definition: joint-helical-unaligned.hpp:637
pinocchio::JointModelHelicalUnalignedTpl::calc_aba
void calc_aba(JointDataDerived &data, const Eigen::MatrixBase< VectorLike > &armature, const Eigen::MatrixBase< Matrix6Like > &I, const bool update_I) const
Definition: joint-helical-unaligned.hpp:732
pinocchio::traits< JointMotionSubspaceHelicalUnalignedTpl< _Scalar, _Options > >::MatrixReturnType
DenseBase MatrixReturnType
Definition: joint-helical-unaligned.hpp:273
pinocchio::traits< JointHelicalUnalignedTpl< _Scalar, _Options > >::D_t
Eigen::Matrix< Scalar, NV, NV, Options > D_t
Definition: joint-helical-unaligned.hpp:545
pinocchio::JointMotionSubspaceHelicalUnalignedTpl::matrix_impl
DenseBase matrix_impl() const
Definition: joint-helical-unaligned.hpp:391
pinocchio::traits< JointMotionSubspaceHelicalUnalignedTpl< _Scalar, _Options > >::JointMotion
MotionHelicalUnalignedTpl< Scalar, Options > JointMotion
Definition: joint-helical-unaligned.hpp:268
pinocchio::JointModelHelicalUnalignedTpl::Base
JointModelBase< JointModelHelicalUnalignedTpl > Base
Definition: joint-helical-unaligned.hpp:639
pinocchio::traits< MotionHelicalUnalignedTpl< _Scalar, _Options > >::ActionMatrixType
Matrix6 ActionMatrixType
Definition: joint-helical-unaligned.hpp:54
pinocchio::JointMotionSubspaceHelicalUnalignedTpl::JointMotionSubspaceHelicalUnalignedTpl
JointMotionSubspaceHelicalUnalignedTpl(const Eigen::MatrixBase< Vector3Like > &axis, const Scalar &h)
Definition: joint-helical-unaligned.hpp:300
pinocchio::impl::LhsMultiplicationOp< Eigen::MatrixBase< M6Like >, JointMotionSubspaceHelicalUnalignedTpl< Scalar, Options > >::Constraint
JointMotionSubspaceHelicalUnalignedTpl< Scalar, Options > Constraint
Definition: joint-helical-unaligned.hpp:509
pinocchio::JointModelHelicalUnalignedTpl
Definition: multibody/joint/fwd.hpp:65
pinocchio::JointDataHelicalUnalignedTpl::PINOCCHIO_JOINT_DATA_TYPEDEF_TEMPLATE
PINOCCHIO_JOINT_DATA_TYPEDEF_TEMPLATE(JointDerived)
pinocchio::JointMotionSubspaceHelicalUnalignedTpl::JointMotionSubspaceHelicalUnalignedTpl
JointMotionSubspaceHelicalUnalignedTpl()
Definition: joint-helical-unaligned.hpp:293
joint-base.hpp
x
x
pinocchio::JointMotionSubspaceHelicalUnalignedTpl::axis
const Vector3 & axis() const
Definition: joint-helical-unaligned.hpp:425
pinocchio::JointMotionSubspaceHelicalUnalignedTpl::TransposeConst
Definition: joint-helical-unaligned.hpp:349
pinocchio::MotionHelicalUnalignedTpl::se3Action_impl
void se3Action_impl(const SE3Tpl< S2, O2 > &m, MotionDense< D2 > &v) const
Definition: joint-helical-unaligned.hpp:114
pinocchio::MotionHelicalUnalignedTpl::linearRate
Scalar & linearRate()
Definition: joint-helical-unaligned.hpp:181
pinocchio::context::Vector3
Eigen::Matrix< Scalar, 3, 1, Options > Vector3
Definition: context/generic.hpp:53
pinocchio::traits< JointHelicalUnalignedTpl< _Scalar, _Options > >::U_t
Eigen::Matrix< Scalar, 6, NV, Options > U_t
Definition: joint-helical-unaligned.hpp:544
pinocchio::traits< MotionHelicalUnalignedTpl< _Scalar, _Options > >::Matrix4
Eigen::Matrix< Scalar, 4, 4, Options > Matrix4
Definition: joint-helical-unaligned.hpp:46
axis
axis
pinocchio::JointMotionSubspaceHelicalUnalignedTpl::se3Action
SE3GroupAction< JointMotionSubspaceHelicalUnalignedTpl >::ReturnType se3Action(const SE3Tpl< S1, O1 > &m) const
Definition: joint-helical-unaligned.hpp:317
pinocchio::traits< JointMotionSubspaceHelicalUnalignedTpl< _Scalar, _Options > >::JointForce
Eigen::Matrix< Scalar, 1, 1, Options > JointForce
Definition: joint-helical-unaligned.hpp:269
ur5x4.w
w
Definition: ur5x4.py:50
pinocchio::traits< MotionHelicalUnalignedTpl< _Scalar, _Options > >::LinearType
Vector3 LinearType
Definition: joint-helical-unaligned.hpp:51
pinocchio::traits< JointMotionSubspaceHelicalUnalignedTpl< _Scalar, _Options > >::ConstMatrixReturnType
const typedef DenseBase ConstMatrixReturnType
Definition: joint-helical-unaligned.hpp:274
pinocchio::SE3GroupAction< MotionHelicalUnalignedTpl< Scalar, Options > >::ReturnType
MotionTpl< Scalar, Options > ReturnType
Definition: joint-helical-unaligned.hpp:27
pinocchio::traits< JointHelicalUnalignedTpl< _Scalar, _Options > >::Bias_t
MotionZeroTpl< Scalar, Options > Bias_t
Definition: joint-helical-unaligned.hpp:541
pinocchio::impl::LhsMultiplicationOp< InertiaTpl< S1, O1 >, JointMotionSubspaceHelicalUnalignedTpl< S2, O2 > >::ReturnType
MultiplicationOp< Inertia, Constraint >::ReturnType ReturnType
Definition: joint-helical-unaligned.hpp:471
pinocchio::JointDataHelicalUnalignedTpl::UDinv
UD_t UDinv
Definition: joint-helical-unaligned.hpp:588
pinocchio::JointDataHelicalUnalignedTpl::JointDataHelicalUnalignedTpl
JointDataHelicalUnalignedTpl(const Eigen::MatrixBase< Vector3Like > &axis)
Definition: joint-helical-unaligned.hpp:605
pinocchio::MotionHelicalUnalignedTpl::MotionHelicalUnalignedTpl
MotionHelicalUnalignedTpl()
Definition: joint-helical-unaligned.hpp:72
pinocchio::MotionHelicalUnalignedTpl::se3ActionInverse_impl
MotionPlain se3ActionInverse_impl(const SE3Tpl< S2, O2 > &m) const
Definition: joint-helical-unaligned.hpp:142
ur5x4.h
h
Definition: ur5x4.py:50
pinocchio::JointMotionSubspaceHelicalUnalignedTpl::TransposeConst::operator*
ConstraintForceOp< JointMotionSubspaceHelicalUnalignedTpl, ForceDerived >::ReturnType operator*(const ForceDense< ForceDerived > &f) const
Definition: joint-helical-unaligned.hpp:359
pinocchio::JointModelHelicalUnalignedTpl::shortname
std::string shortname() const
Definition: joint-helical-unaligned.hpp:752
pinocchio::toRotationMatrix
void toRotationMatrix(const Eigen::MatrixBase< Vector3 > &axis, const Scalar &cos_value, const Scalar &sin_value, const Eigen::MatrixBase< Matrix3 > &res)
Computes a rotation matrix from a vector and values of sin and cos orientations values.
Definition: rotation.hpp:26
pinocchio::JointDataHelicalUnalignedTpl::joint_q
PINOCCHIO_JOINT_DATA_BASE_DEFAULT_ACCESSOR ConfigVector_t joint_q
Definition: joint-helical-unaligned.hpp:577
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< JointHelicalUnalignedTpl< _Scalar, _Options > >::Scalar
_Scalar Scalar
Definition: joint-helical-unaligned.hpp:531
pinocchio::traits< MotionHelicalUnalignedTpl< _Scalar, _Options > >::HomogeneousMatrixType
Matrix4 HomogeneousMatrixType
Definition: joint-helical-unaligned.hpp:57
pinocchio::JointMotionSubspaceHelicalUnalignedTpl::h
Scalar & h()
Definition: joint-helical-unaligned.hpp:430
pinocchio::JointMotionSubspaceHelicalUnalignedTpl::m_pitch
Scalar m_pitch
Definition: joint-helical-unaligned.hpp:440
pinocchio::ConstraintForceSetOp
Return type of the Constraint::Transpose * ForceSet operation.
Definition: joint-motion-subspace-base.hpp:53
pinocchio::JointDataHelicalUnalignedTpl::c
Bias_t c
Definition: joint-helical-unaligned.hpp:583
pinocchio::traits< JointHelicalUnalignedTpl< _Scalar, _Options > >::Transformation_t
SE3Tpl< Scalar, Options > Transformation_t
Definition: joint-helical-unaligned.hpp:539
pinocchio::JointModelHelicalUnalignedTpl::PINOCCHIO_JOINT_TYPEDEF_TEMPLATE
PINOCCHIO_JOINT_TYPEDEF_TEMPLATE(JointDerived)
pinocchio::JointMotionSubspaceHelicalUnalignedTpl::m_axis
Vector3 m_axis
Definition: joint-helical-unaligned.hpp:439
pinocchio::JointDataHelicalUnalignedTpl::v
Motion_t v
Definition: joint-helical-unaligned.hpp:582
joint-motion-subspace.hpp
pinocchio::JointModelBase::idx_q
int idx_q() const
Definition: joint-model-base.hpp:160
pinocchio::impl::LhsMultiplicationOp< InertiaTpl< S1, O1 >, JointMotionSubspaceHelicalUnalignedTpl< S2, O2 > >::Constraint
JointMotionSubspaceHelicalUnalignedTpl< S2, O2 > Constraint
Definition: joint-helical-unaligned.hpp:469
pinocchio::JointDataHelicalUnalignedTpl::JointDerived
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef JointHelicalUnalignedTpl< _Scalar, _Options > JointDerived
Definition: joint-helical-unaligned.hpp:573
pinocchio::traits< JointHelicalUnalignedTpl< _Scalar, _Options > >::UD_t
Eigen::Matrix< Scalar, 6, NV, Options > UD_t
Definition: joint-helical-unaligned.hpp:546
pinocchio::MotionHelicalUnalignedTpl::m_w
Scalar m_w
Definition: joint-helical-unaligned.hpp:207
pinocchio::SE3GroupAction< JointMotionSubspaceHelicalUnalignedTpl< Scalar, Options > >::ReturnType
Eigen::Matrix< Scalar, 6, 1, Options > ReturnType
Definition: joint-helical-unaligned.hpp:233
pinocchio::JointDataHelicalUnalignedTpl::Dinv
D_t Dinv
Definition: joint-helical-unaligned.hpp:587
pinocchio::JointHelicalUnalignedTpl
Definition: joint-helical-unaligned.hpp:521
pinocchio::ForceDense
Definition: context/casadi.hpp:34
pinocchio::MotionHelicalUnalignedTpl::setTo
void setTo(MotionDense< MotionDerived > &m) const
Definition: joint-helical-unaligned.hpp:97
pinocchio::JointModelHelicalUnalignedTpl::JointModelHelicalUnalignedTpl
JointModelHelicalUnalignedTpl(const Scalar &x, const Scalar &y, const Scalar &z, const Scalar &h)
Definition: joint-helical-unaligned.hpp:658
pinocchio::JointModelHelicalUnalignedTpl::m_pitch
Scalar m_pitch
Definition: joint-helical-unaligned.hpp:768
pinocchio::traits< MotionHelicalUnalignedTpl< _Scalar, _Options > >::Scalar
_Scalar Scalar
Definition: joint-helical-unaligned.hpp:39
pinocchio::traits< MotionHelicalUnalignedTpl< _Scalar, _Options > >::AngularType
Vector3 AngularType
Definition: joint-helical-unaligned.hpp:50
pinocchio::MotionHelicalUnalignedTpl
Definition: joint-helical-unaligned.hpp:22
pinocchio::JointModelHelicalUnalignedTpl::JointModelHelicalUnalignedTpl
JointModelHelicalUnalignedTpl(const Eigen::MatrixBase< Vector3Like > &axis)
Definition: joint-helical-unaligned.hpp:650
pinocchio::operator^
EIGEN_STRONG_INLINE MotionDerived::MotionPlain operator^(const MotionDense< MotionDerived > &m1, const MotionHelicalUnalignedTpl< S2, O2 > &m2)
Definition: joint-helical-unaligned.hpp:222
pinocchio::JointModelHelicalUnalignedTpl::classname
static std::string classname()
Definition: joint-helical-unaligned.hpp:748
PINOCCHIO_CONSTRAINT_TYPEDEF_TPL
#define PINOCCHIO_CONSTRAINT_TYPEDEF_TPL(DERIVED)
Definition: joint-motion-subspace-base.hpp:36
pinocchio::MotionHelicalUnalignedTpl::plain
PlainReturnType plain() const
Definition: joint-helical-unaligned.hpp:85
Y
Y
pinocchio::traits< JointDataHelicalUnalignedTpl< _Scalar, _Options > >::Scalar
_Scalar Scalar
Definition: joint-helical-unaligned.hpp:558
pinocchio::JointMotionSubspaceHelicalUnalignedTpl::isEqual
bool isEqual(const JointMotionSubspaceHelicalUnalignedTpl &other) const
Definition: joint-helical-unaligned.hpp:415
pinocchio::MotionHelicalUnalignedTpl::m_axis
Vector3 m_axis
Definition: joint-helical-unaligned.hpp:206
pinocchio::MotionHelicalUnalignedTpl::axis
const Vector3 & axis() const
Definition: joint-helical-unaligned.hpp:194
pinocchio::traits
Common traits structure to fully define base classes for CRTP.
Definition: fwd.hpp:71
pinocchio::JointDataHelicalUnalignedTpl::U
U_t U
Definition: joint-helical-unaligned.hpp:586
pinocchio::traits< MotionHelicalUnalignedTpl< _Scalar, _Options > >::Vector6
Eigen::Matrix< Scalar, 6, 1, Options > Vector6
Definition: joint-helical-unaligned.hpp:45
pinocchio::JointMotionSubspaceHelicalUnalignedTpl::NV
@ NV
Definition: joint-helical-unaligned.hpp:290
pinocchio::JointModelHelicalUnalignedTpl::createData
JointDataDerived createData() const
Definition: joint-helical-unaligned.hpp:686
pinocchio::MotionHelicalUnalignedTpl::se3ActionInverse_impl
void se3ActionInverse_impl(const SE3Tpl< S2, O2 > &m, MotionDense< D2 > &v) const
Definition: joint-helical-unaligned.hpp:129
PINOCCHIO_EIGEN_REF_TYPE
#define PINOCCHIO_EIGEN_REF_TYPE(D)
Definition: eigen-macros.hpp:32
pinocchio::impl::LhsMultiplicationOp< Eigen::MatrixBase< M6Like >, JointMotionSubspaceHelicalUnalignedTpl< Scalar, Options > >::ReturnType
Eigen::Matrix< Scalar, 6, 1 > ReturnType
Definition: joint-helical-unaligned.hpp:510
pinocchio::JointModelHelicalUnalignedTpl::JointModelHelicalUnalignedTpl
JointModelHelicalUnalignedTpl(const Eigen::MatrixBase< Vector3Like > &axis, const Scalar &h)
Definition: joint-helical-unaligned.hpp:668
pinocchio::JointMotionSubspaceTransposeBase
Definition: joint-motion-subspace-base.hpp:185
pinocchio::MotionTpl< Scalar, Options >
dcrba.NV
NV
Definition: dcrba.py:536
pinocchio::MultiplicationOp< Eigen::MatrixBase< M6Like >, JointMotionSubspaceHelicalUnalignedTpl< Scalar, Options > >::ReturnType
const typedef Eigen::Matrix< Scalar, 6, 1 > ReturnType
Definition: joint-helical-unaligned.hpp:498
pinocchio::traits< JointMotionSubspaceHelicalUnalignedTpl< _Scalar, _Options > >::Scalar
_Scalar Scalar
Definition: joint-helical-unaligned.hpp:257
dpendulum.NQ
int NQ
Definition: dpendulum.py:9
pinocchio::MultiplicationOp< InertiaTpl< S1, O1 >, JointMotionSubspaceHelicalUnalignedTpl< S2, O2 > >::ReturnType
Eigen::Matrix< S2, 6, 1, O2 > ReturnType
Definition: joint-helical-unaligned.hpp:459
pinocchio::JointMotionSubspaceHelicalUnalignedTpl::axis
Vector3 & axis()
Definition: joint-helical-unaligned.hpp:421
pinocchio::JointMotionSubspaceHelicalUnalignedTpl::h
const Scalar & h() const
Definition: joint-helical-unaligned.hpp:434
meshcat-viewer.qs
qs
Definition: meshcat-viewer.py:128
pinocchio::MotionHelicalUnalignedTpl::angularRate
const Scalar & angularRate() const
Definition: joint-helical-unaligned.hpp:176
pinocchio::JointModelHelicalUnalignedTpl::calc
void calc(JointDataDerived &data, const Blank, const typename Eigen::MatrixBase< TangentVector > &vs) const
Definition: joint-helical-unaligned.hpp:711
pinocchio::traits< JointHelicalUnalignedTpl< _Scalar, _Options > >::Constraint_t
JointMotionSubspaceHelicalUnalignedTpl< Scalar, Options > Constraint_t
Definition: joint-helical-unaligned.hpp:538
pinocchio::MotionHelicalUnalignedTpl::axis
Vector3 & axis()
Definition: joint-helical-unaligned.hpp:190
pinocchio::JointModelHelicalUnalignedTpl::cast
JointModelHelicalUnalignedTpl< NewScalar, Options > cast() const
Definition: joint-helical-unaligned.hpp:759
pinocchio::JointMotionSubspaceHelicalUnalignedTpl::nv_impl
int nv_impl() const
Definition: joint-helical-unaligned.hpp:344
pinocchio::traits< MotionHelicalUnalignedTpl< _Scalar, _Options > >::ConstLinearType
const typedef Vector3 ConstLinearType
Definition: joint-helical-unaligned.hpp:53
pinocchio::JointMotionSubspaceHelicalUnalignedTpl::TransposeConst::TransposeConst
TransposeConst(const JointMotionSubspaceHelicalUnalignedTpl &ref)
Definition: joint-helical-unaligned.hpp:352
pinocchio::MotionHelicalUnalignedTpl::motionAction
void motionAction(const MotionDense< M1 > &v, MotionDense< M2 > &mout) const
Definition: joint-helical-unaligned.hpp:150
pinocchio::traits< JointModelHelicalUnalignedTpl< _Scalar, _Options > >::Scalar
_Scalar Scalar
Definition: joint-helical-unaligned.hpp:565
pinocchio::JointModelBase::isEqual
bool isEqual(const JointModelBase< OtherDerived > &) const
Definition: joint-model-base.hpp:242
pinocchio::MotionHelicalUnalignedTpl::linearRate
const Scalar & linearRate() const
Definition: joint-helical-unaligned.hpp:185
pinocchio::normalize
void normalize(const ModelTpl< Scalar, Options, JointCollectionTpl > &model, const Eigen::MatrixBase< ConfigVectorType > &qout)
Normalize a configuration vector.
Definition: joint-configuration.hpp:887
pinocchio::MotionDense::angular
ConstAngularType angular() const
Definition: motion-base.hpp:32
pinocchio::ScalarCast
Cast scalar type from type FROM to type TO.
Definition: fwd.hpp:105
pinocchio::traits< JointHelicalUnalignedTpl< _Scalar, _Options > >::JointModelDerived
JointModelHelicalUnalignedTpl< Scalar, Options > JointModelDerived
Definition: joint-helical-unaligned.hpp:537
pinocchio::MotionHelicalUnalignedTpl::MotionHelicalUnalignedTpl
MotionHelicalUnalignedTpl(const Eigen::MatrixBase< Vector3Like > &axis, const OtherScalar &w, const OtherScalar &v)
Definition: joint-helical-unaligned.hpp:77
pinocchio
Main pinocchio namespace.
Definition: timings.cpp:27
pinocchio::JointModelBase::id
JointIndex id() const
Definition: joint-model-base.hpp:168
pinocchio::traits< JointHelicalUnalignedTpl< _Scalar, _Options > >::Motion_t
MotionHelicalUnalignedTpl< Scalar, Options > Motion_t
Definition: joint-helical-unaligned.hpp:540


pinocchio
Author(s):
autogenerated on Fri Nov 1 2024 02:41:45