pinocchio  3.3.0
A fast and flexible implementation of Rigid Body Dynamics algorithms and their analytical derivatives
MotionTpl< _Scalar, _Options > Class Template Reference
Inheritance diagram for MotionTpl< _Scalar, _Options >:
Collaboration diagram for MotionTpl< _Scalar, _Options >:

Public Types

enum  { Options = _Options }
 
typedef MotionDense< MotionTplBase
 
- Public Types inherited from MotionDense< MotionTpl< _Scalar, _Options > >
typedef MotionBase< MotionTpl< _Scalar, _Options > > Base
 
typedef traits< MotionTpl< _Scalar, _Options > >::MotionRefType MotionRefType
 

Public Member Functions

template<typename V1 , typename V2 >
 MotionTpl (const Eigen::MatrixBase< V1 > &v, const Eigen::MatrixBase< V2 > &w)
 
template<typename V6 >
 MotionTpl (const Eigen::MatrixBase< V6 > &v)
 
template<typename M2 , typename std::enable_if<!std::is_convertible< MotionBase< M2 >, MotionTpl >::value, bool >::type = true>
 MotionTpl (const MotionBase< M2 > &clone)
 
template<typename M2 , typename std::enable_if<!std::is_convertible< MotionDense< M2 >, MotionTpl >::value, bool >::type = true>
 MotionTpl (const MotionDense< M2 > &clone)
 
 MotionTpl (const MotionTpl &other)
 
template<typename S2 , int O2>
 MotionTpl (const MotionTpl< S2, O2 > &other)
 
template<int O2>
 MotionTpl (const MotionTpl< Scalar, O2 > &clone)
 
template<typename M1 >
Derived & __mequ__ (const MotionDense< M1 > &v)
 
template<typename Vector6ArgType >
MotionTpl__mequ__ (const MotionRef< Vector6ArgType > &v)
 
template<int O2>
MotionTpl__mequ__ (const MotionTpl< Scalar, O2 > &v)
 
template<typename M1 >
MotionPlain __minus__ (const MotionDense< M1 > &v) const
 
template<typename Vector6ArgType >
MotionPlain __minus__ (const MotionRef< Vector6ArgType > &v) const
 
template<int O2>
MotionPlain __minus__ (const MotionTpl< Scalar, O2 > &v) const
 
template<typename OtherScalar >
MotionPlain __mult__ (const OtherScalar &alpha) const
 
template<typename OtherScalar >
MotionPlain __mult__ (const OtherScalar &alpha) const
 
MotionPlain __opposite__ () const
 
template<typename M1 >
Derived & __pequ__ (const MotionDense< M1 > &v)
 
template<typename Vector6ArgType >
MotionTpl__pequ__ (const MotionRef< Vector6ArgType > &v)
 
template<int O2>
MotionTpl__pequ__ (const MotionTpl< Scalar, O2 > &v)
 
template<typename M1 >
MotionPlain __plus__ (const MotionDense< M1 > &v) const
 
template<typename Vector6ArgType >
MotionPlain __plus__ (const MotionRef< Vector6ArgType > &v) const
 
template<int O2>
MotionPlain __plus__ (const MotionTpl< Scalar, O2 > &v) const
 
AngularType angular ()
 
ConstAngularType angular () const
 
template<typename V3Like >
void angular (const Eigen::MatrixBase< V3Like > &w)
 
AngularType angular_impl ()
 
ConstAngularType angular_impl () const
 
template<typename V3 >
void angular_impl (const Eigen::MatrixBase< V3 > &w)
 
template<typename NewScalar >
MotionTpl< NewScalar, Options > cast () const
 
LinearType linear ()
 
ConstLinearType linear () const
 
template<typename V3Like >
void linear (const Eigen::MatrixBase< V3Like > &v)
 
LinearType linear_impl ()
 
ConstLinearType linear_impl () const
 
template<typename V3 >
void linear_impl (const Eigen::MatrixBase< V3 > &v)
 
 MOTION_TYPEDEF_TPL (MotionTpl)
 
template<typename V6 >
Derived & operator= (const Eigen::MatrixBase< V6 > &v)
 
template<typename D2 >
Derived & operator= (const MotionBase< D2 > &other)
 
Derived & operator= (const MotionDense &other)
 
template<typename D2 >
Derived & operator= (const MotionDense< D2 > &other)
 
MotionTploperator= (const MotionTpl &clone)
 Copy assignment operator. More...
 
PlainReturnType plain () const
 
MotionRef< Vector6 > ref ()
 
ToVectorReturnType toVector_impl ()
 
ToVectorConstReturnType toVector_impl () const
 
- Public Member Functions inherited from MotionDense< MotionTpl< _Scalar, _Options > >
MotionPlain __div__ (const OtherScalar &alpha) const
 
MotionTpl< _Scalar, _Options > & __mequ__ (const MotionDense< M1 > &v)
 
MotionPlain __minus__ (const MotionDense< M1 > &v) const
 
MotionPlain __mult__ (const OtherScalar &alpha) const
 
MotionPlain __opposite__ () const
 
MotionTpl< _Scalar, _Options > & __pequ__ (const MotionDense< M1 > &v)
 
MotionPlain __plus__ (const MotionDense< M1 > &v) const
 
AngularType angular ()
 
ConstAngularType angular () const
 
void angular (const Eigen::MatrixBase< V3Like > &w)
 
MotionAlgebraAction< D, MotionTpl< _Scalar, _Options > >::ReturnType cross_impl (const D &d) const
 
MotionTpl< _Scalar, _Options > & derived ()
 
const MotionTpl< _Scalar, _Options > & derived () const
 
void disp_impl (std::ostream &os) const
 
Scalar dot (const ForceBase< F1 > &phi) const
 
bool isApprox (const MotionDense< M2 > &m2, const Scalar &prec=Eigen::NumTraits< Scalar >::dummy_precision()) const
 
bool isApprox (const MotionTpl< _Scalar, _Options > &other, const Scalar &prec=Eigen::NumTraits< Scalar >::dummy_precision()) const
 
bool isApprox_impl (const MotionDense< D2 > &m2, const Scalar &prec=Eigen::NumTraits< Scalar >::dummy_precision()) const
 
bool isEqual_impl (const MotionBase< D2 > &other) const
 
bool isEqual_impl (const MotionDense< D2 > &other) const
 
bool isZero (const Scalar &prec=Eigen::NumTraits< Scalar >::dummy_precision()) const
 
bool isZero_impl (const Scalar &prec=Eigen::NumTraits< Scalar >::dummy_precision()) const
 
LinearType linear ()
 
ConstLinearType linear () const
 
void linear (const Eigen::MatrixBase< V3Like > &v)
 
 MOTION_TYPEDEF_TPL (MotionTpl< _Scalar, _Options >)
 
MotionPlain motionAction (const MotionDense< M1 > &v) const
 
void motionAction (const MotionDense< M1 > &v, MotionDense< M2 > &mout) const
 
MotionPlain operator+ (const MotionDense< M1 > &v) const
 
MotionTpl< _Scalar, _Options > & operator+= (const MotionBase< M1 > &v)
 
MotionTpl< _Scalar, _Options > & operator+= (const MotionDense< M1 > &v)
 
MotionPlain operator- () const
 
MotionPlain operator- (const MotionDense< M1 > &v) const
 
MotionTpl< _Scalar, _Options > & operator-= (const MotionDense< M1 > &v)
 
MotionTpl< _Scalar, _Options > & operator= (const Eigen::MatrixBase< V6 > &v)
 
MotionTpl< _Scalar, _Options > & operator= (const MotionBase< D2 > &other)
 
MotionTpl< _Scalar, _Options > & operator= (const MotionDense &other)
 
MotionTpl< _Scalar, _Options > & operator= (const MotionDense< D2 > &other)
 
MotionRefType ref ()
 
SE3GroupAction< MotionTpl< _Scalar, _Options > >::ReturnType se3Action_impl (const SE3Tpl< S2, O2 > &m) const
 
void se3Action_impl (const SE3Tpl< S2, O2 > &m, MotionDense< D2 > &v) const
 
SE3GroupAction< MotionTpl< _Scalar, _Options > >::ReturnType se3ActionInverse_impl (const SE3Tpl< S2, O2 > &m) const
 
void se3ActionInverse_impl (const SE3Tpl< S2, O2 > &m, MotionDense< D2 > &v) const
 
MotionTpl< _Scalar, _Options > & set (const MotionDense< D2 > &other)
 
MotionTpl< _Scalar, _Options > & setRandom ()
 
MotionTpl< _Scalar, _Options > & setZero ()
 
ActionMatrixType toActionMatrix_impl () const
 
ActionMatrixType toDualActionMatrix_impl () const
 
HomogeneousMatrixType toHomogeneousMatrix_impl () const
 
- Public Member Functions inherited from MotionBase< Derived >
AngularType angular ()
 
ConstAngularType angular () const
 
template<typename V3Like >
void angular (const Eigen::MatrixBase< V3Like > &w)
 
Derived & const_cast_derived () const
 
template<typename OtherSpatialType >
MotionAlgebraAction< OtherSpatialType, Derived >::ReturnType cross (const OtherSpatialType &d) const
 
Derived & derived ()
 
const Derived & derived () const
 
void disp (std::ostream &os) const
 
template<typename ForceDerived >
Scalar dot (const ForceDense< ForceDerived > &f) const
 
bool isApprox (const Derived &other, const Scalar &prec=Eigen::NumTraits< Scalar >::dummy_precision()) const
 
bool isZero (const Scalar &prec=Eigen::NumTraits< Scalar >::dummy_precision()) const
 
LinearType linear ()
 
ConstLinearType linear () const
 
template<typename V3Like >
void linear (const Eigen::MatrixBase< V3Like > &v)
 
 MOTION_TYPEDEF_TPL (Derived)
 
 operator Matrix6 () const
 
 operator PlainReturnType () const
 
 operator Vector6 () const
 
template<typename M2 >
bool operator!= (const MotionBase< M2 > &other) const
 
template<typename OtherScalar >
internal::RHSScalarMultiplication< Derived, OtherScalar >::ReturnType operator* (const OtherScalar &alpha) const
 
Derived operator+ (const MotionBase< Derived > &v) const
 
Derived & operator+= (const MotionBase< Derived > &v)
 
Derived operator- () const
 
Derived operator- (const MotionBase< Derived > &v) const
 
Derived & operator-= (const MotionBase< Derived > &v)
 
template<typename OtherScalar >
Derived operator/ (const OtherScalar &alpha) const
 
template<typename M2 >
bool operator== (const MotionBase< M2 > &other) const
 
PlainReturnType plain () const
 
template<typename S2 , int O2>
SE3GroupAction< Derived >::ReturnType se3Action (const SE3Tpl< S2, O2 > &m) const
 
template<typename S2 , int O2>
SE3GroupAction< Derived >::ReturnType se3ActionInverse (const SE3Tpl< S2, O2 > &m) const
 
void setZero ()
 
ActionMatrixType toActionMatrix () const
 
ActionMatrixType toDualActionMatrix () const
 
HomogeneousMatrixType toHomogeneousMatrix () const
 The homogeneous representation of the motion vector \( \xi \). More...
 
ToVectorReturnType toVector ()
 
ToVectorConstReturnType toVector () const
 

Static Public Member Functions

static MotionTpl Random ()
 
static MotionTpl Zero ()
 

Protected Attributes

Vector6 m_data
 

Additional Inherited Members

- Protected Member Functions inherited from MotionDense< MotionTpl< _Scalar, _Options > >
 MotionDense (const MotionDense &)=delete
 

Detailed Description

template<typename _Scalar, int _Options>
class pinocchio::MotionTpl< _Scalar, _Options >

Definition at line 40 of file motion-tpl.hpp.

Member Function Documentation

◆ cast()

MotionTpl<NewScalar, Options> cast ( ) const
inline
Returns
An expression of *this with the Scalar type casted to NewScalar.

Definition at line 256 of file motion-tpl.hpp.

◆ operator=()

MotionTpl& operator= ( const MotionTpl< _Scalar, _Options > &  clone)
inline

Copy assignment operator.

Parameters
[in]otherMotionTpl to copy

Definition at line 129 of file motion-tpl.hpp.


The documentation for this class was generated from the following files: