pinocchio  2.4.4
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<int O2>
 MotionTpl (const MotionTpl< Scalar, O2 > &clone)
 
template<typename M2 >
 MotionTpl (const MotionDense< M2 > &clone)
 
template<typename M2 >
 MotionTpl (const MotionBase< M2 > &clone)
 
template<int O2>
MotionTpl__mequ__ (const MotionTpl< Scalar, O2 > &v)
 
template<typename Vector6ArgType >
MotionTpl__mequ__ (const MotionRef< Vector6ArgType > &v)
 
template<int O2>
MotionPlain __minus__ (const MotionTpl< Scalar, O2 > &v) const
 
template<typename Vector6ArgType >
MotionPlain __minus__ (const MotionRef< Vector6ArgType > &v) const
 
template<typename OtherScalar >
MotionPlain __mult__ (const OtherScalar &alpha) const
 
template<int O2>
MotionTpl__pequ__ (const MotionTpl< Scalar, O2 > &v)
 
template<typename Vector6ArgType >
MotionTpl__pequ__ (const MotionRef< Vector6ArgType > &v)
 
template<int O2>
MotionPlain __plus__ (const MotionTpl< Scalar, O2 > &v) const
 
template<typename Vector6ArgType >
MotionPlain __plus__ (const MotionRef< Vector6ArgType > &v) const
 
ConstAngularType angular_impl () const
 
AngularType angular_impl ()
 
template<typename V3 >
void angular_impl (const Eigen::MatrixBase< V3 > &w)
 
template<typename NewScalar >
MotionTpl< NewScalar, Options > cast () const
 
ConstLinearType linear_impl () const
 
LinearType linear_impl ()
 
template<typename V3 >
void linear_impl (const Eigen::MatrixBase< V3 > &v)
 
 MOTION_TYPEDEF_TPL (MotionTpl)
 
PlainReturnType plain () const
 
MotionRef< Vector6 > ref ()
 
ToVectorConstReturnType toVector_impl () const
 
ToVectorReturnType toVector_impl ()
 
- 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
 
MotionAlgebraAction< D, MotionTpl< _Scalar, _Options > >::ReturnType cross_impl (const D &d) 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_impl (const MotionDense< D2 > &m2, const Scalar &prec=Eigen::NumTraits< Scalar >::dummy_precision()) const
 
bool isEqual_impl (const MotionDense< D2 > &other) const
 
bool isEqual_impl (const MotionBase< D2 > &other) const
 
bool isZero_impl (const Scalar &prec=Eigen::NumTraits< Scalar >::dummy_precision()) const
 
 MOTION_TYPEDEF_TPL (MotionTpl< _Scalar, _Options >)
 
void motionAction (const MotionDense< M1 > &v, MotionDense< M2 > &mout) const
 
MotionPlain motionAction (const MotionDense< M1 > &v) const
 
MotionPlain operator+ (const MotionDense< M1 > &v) const
 
MotionTpl< _Scalar, _Options > & operator+= (const MotionDense< M1 > &v)
 
MotionTpl< _Scalar, _Options > & operator+= (const MotionBase< 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 MotionDense< D2 > &other)
 
MotionTpl< _Scalar, _Options > & operator= (const MotionBase< D2 > &other)
 
MotionTpl< _Scalar, _Options > & operator= (const Eigen::MatrixBase< V6 > &v)
 
MotionRefType ref ()
 
void se3Action_impl (const SE3Tpl< S2, O2 > &m, MotionDense< D2 > &v) const
 
SE3GroupAction< MotionTpl< _Scalar, _Options > >::ReturnType se3Action_impl (const SE3Tpl< S2, O2 > &m) const
 
void se3ActionInverse_impl (const SE3Tpl< S2, O2 > &m, MotionDense< D2 > &v) const
 
SE3GroupAction< MotionTpl< _Scalar, _Options > >::ReturnType se3ActionInverse_impl (const SE3Tpl< S2, O2 > &m) const
 
MotionTpl< _Scalar, _Options > & setRandom ()
 
MotionTpl< _Scalar, _Options > & setZero ()
 
ActionMatrixType toActionMatrix_impl () const
 
ActionMatrixType toDualActionMatrix_impl () const
 
- Public Member Functions inherited from MotionBase< MotionTpl< _Scalar, _Options > >
ConstAngularType angular () const
 
AngularType angular ()
 
void angular (const Eigen::MatrixBase< V3Like > &w)
 
MotionAlgebraAction< OtherSpatialType, MotionTpl< _Scalar, _Options > >::ReturnType cross (const OtherSpatialType &d) const
 
MotionTpl< _Scalar, _Options > & derived ()
 
const MotionTpl< _Scalar, _Options > & derived () const
 
void disp (std::ostream &os) const
 
Scalar dot (const ForceDense< ForceDerived > &f) const
 
bool isApprox (const MotionTpl< _Scalar, _Options > &other, const Scalar &prec=Eigen::NumTraits< Scalar >::dummy_precision()) const
 
bool isZero (const Scalar &prec=Eigen::NumTraits< Scalar >::dummy_precision()) const
 
ConstLinearType linear () const
 
LinearType linear ()
 
void linear (const Eigen::MatrixBase< V3Like > &v)
 
 MOTION_TYPEDEF_TPL (MotionTpl< _Scalar, _Options >)
 
 operator Matrix6 () const
 
 operator PlainReturnType () const
 
 operator Vector6 () const
 
bool operator!= (const MotionBase< M2 > &other) const
 
internal::RHSScalarMultiplication< MotionTpl< _Scalar, _Options >, OtherScalar >::ReturnType operator* (const OtherScalar &alpha) const
 
MotionTpl< _Scalar, _Options > operator+ (const MotionBase< MotionTpl< _Scalar, _Options > > &v) const
 
MotionTpl< _Scalar, _Options > & operator+= (const MotionBase< MotionTpl< _Scalar, _Options > > &v)
 
MotionTpl< _Scalar, _Options > operator- () const
 
MotionTpl< _Scalar, _Options > operator- (const MotionBase< MotionTpl< _Scalar, _Options > > &v) const
 
MotionTpl< _Scalar, _Options > & operator-= (const MotionBase< MotionTpl< _Scalar, _Options > > &v)
 
MotionTpl< _Scalar, _Options > operator/ (const OtherScalar &alpha) const
 
bool operator== (const MotionBase< M2 > &other) const
 
PlainReturnType plain () const
 
SE3GroupAction< MotionTpl< _Scalar, _Options > >::ReturnType se3Action (const SE3Tpl< S2, O2 > &m) const
 
SE3GroupAction< MotionTpl< _Scalar, _Options > >::ReturnType se3ActionInverse (const SE3Tpl< S2, O2 > &m) const
 
void setZero ()
 
ActionMatrixType toActionMatrix () const
 
ActionMatrixType toDualActionMatrix () const
 
ToVectorConstReturnType toVector () const
 
ToVectorReturnType toVector ()
 

Static Public Member Functions

static MotionTpl Random ()
 
static MotionTpl Zero ()
 

Protected Attributes

Vector6 m_data
 

Detailed Description

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

Definition at line 43 of file fwd.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 157 of file motion-tpl.hpp.


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