pinocchio  3.9.0
A fast and flexible implementation of Rigid Body Dynamics algorithms and their analytical derivatives
Loading...
Searching...
No Matches
MotionRef< Vector6ArgType > Class Template Reference
Inheritance diagram for MotionRef< Vector6ArgType >:
Collaboration diagram for MotionRef< Vector6ArgType >:

Public Types

typedef MotionDense< MotionRefBase
typedef traits< MotionRef >::DataRefType DataRefType
Public Types inherited from MotionDense< MotionRef< Vector6ArgType > >
typedef MotionBase< MotionRef< Vector6ArgType > > Base
typedef traits< MotionRef< Vector6ArgType > >::MotionRefType MotionRefType

Public Member Functions

 MotionRef (const MotionRef &other)
 Copy constructor from another MotionRef.
 MotionRef (typename PINOCCHIO_EIGEN_REF_TYPE(Vector6ArgType) v_like)
 Default constructor from a 6 dimensional vector.
MotionRef__mequ__ (const MotionDense< M1 > &v)
template<typename Vector6Like>
MotionRef__mequ__ (const MotionRef< Vector6ArgType > &v)
template<typename S1, int O1>
MotionRef__mequ__ (const MotionTpl< S1, O1 > &v)
MotionPlain __minus__ (const MotionDense< M1 > &v) const
template<typename Vector6Like>
MotionPlain __minus__ (const MotionRef< Vector6ArgType > &v) const
template<typename S1, int O1>
MotionPlain __minus__ (const MotionTpl< S1, O1 > &v) const
template<typename OtherScalar>
MotionPlain __mult__ (const OtherScalar &alpha) const
MotionPlain __opposite__ () const
MotionRef__pequ__ (const MotionDense< M1 > &v)
template<typename Vector6Like>
MotionRef__pequ__ (const MotionRef< Vector6ArgType > &v)
template<typename S1, int O1>
MotionRef__pequ__ (const MotionTpl< S1, O1 > &v)
MotionPlain __plus__ (const MotionDense< M1 > &v) const
template<typename Vector6Like>
MotionPlain __plus__ (const MotionRef< Vector6ArgType > &v) const
template<typename S1, int O1>
MotionPlain __plus__ (const MotionTpl< S1, O1 > &v) const
AngularType angular ()
ConstAngularType angular () const
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)
LinearType linear ()
ConstLinearType linear () const
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 (MotionRef)
MotionRefoperator= (const Eigen::MatrixBase< V6 > &v)
MotionRefoperator= (const MotionBase< D2 > &other)
MotionRefoperator= (const MotionDense &other)
MotionRefoperator= (const MotionDense< D2 > &other)
PlainReturnType plain () const
MotionRefref ()
ToVectorReturnType toVector_impl ()
ToVectorConstReturnType toVector_impl () const
Public Member Functions inherited from MotionDense< MotionRef< Vector6ArgType > >
MotionPlain __div__ (const OtherScalar &alpha) const
MotionRef< Vector6ArgType > & __mequ__ (const MotionDense< M1 > &v)
MotionPlain __minus__ (const MotionDense< M1 > &v) const
MotionPlain __mult__ (const OtherScalar &alpha) const
MotionPlain __opposite__ () const
MotionRef< Vector6ArgType > & __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, MotionRef< Vector6ArgType > >::ReturnType cross_impl (const D &d) const
MotionRef< Vector6ArgType > & derived ()
const MotionRef< Vector6ArgType > & derived () const
void disp_impl (std::ostream &os) const
Scalar dot (const ForceBase< F1 > &phi) const
bool isApprox (const MotionRef< Vector6ArgType > &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 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 (MotionRef< Vector6ArgType >)
void motionAction (const MotionDense< M1 > &v, MotionDense< M2 > &mout) const
MotionPlain operator+ (const MotionDense< M1 > &v) const
MotionRef< Vector6ArgType > & operator+= (const MotionDense< M1 > &v)
MotionPlain operator- () const
MotionRef< Vector6ArgType > & operator-= (const MotionDense< M1 > &v)
MotionRef< Vector6ArgType > & operator= (const MotionDense< D2 > &other)
MotionRefType ref ()
void se3Action_impl (const SE3Tpl< S2, O2 > &m, MotionDense< D2 > &v) const
void se3ActionInverse_impl (const SE3Tpl< S2, O2 > &m, MotionDense< D2 > &v) const
MotionRef< Vector6ArgType > & set (const MotionDense< D2 > &other)
MotionRef< Vector6ArgType > & setRandom ()
MotionRef< Vector6ArgType > & setZero ()
ActionMatrixType toActionMatrix_impl () const
ActionMatrixType toDualActionMatrix_impl () const
HomogeneousMatrixType toHomogeneousMatrix_impl () const
Public Member Functions inherited from MotionBase< MotionRef< Vector6ArgType > >
ConstAngularType angular () const
MotionRef< Vector6ArgType > & const_cast_derived () const
MotionAlgebraAction< OtherSpatialType, MotionRef< Vector6ArgType > >::ReturnType cross (const OtherSpatialType &d) const
MotionRef< Vector6ArgType > & derived ()
void disp (std::ostream &os) const
Scalar dot (const ForceDense< ForceDerived > &f) const
bool isApprox (const MotionRef< Vector6ArgType > &other, const Scalar &prec=Eigen::NumTraits< Scalar >::dummy_precision()) const
bool isZero (const Scalar &prec=Eigen::NumTraits< Scalar >::dummy_precision()) const
ConstLinearType linear () const
 MOTION_TYPEDEF_TPL (MotionRef< Vector6ArgType >)
 operator Matrix6 () const
 operator PlainReturnType () const
 operator Vector6 () const
bool operator!= (const MotionBase< M2 > &other) const
internal::RHSScalarMultiplication< MotionRef< Vector6ArgType >, OtherScalar >::ReturnType operator* (const OtherScalar &alpha) const
MotionRef< Vector6ArgType > operator+ (const MotionBase< MotionRef< Vector6ArgType > > &v) const
MotionRef< Vector6ArgType > & operator+= (const MotionBase< MotionRef< Vector6ArgType > > &v)
MotionRef< Vector6ArgType > operator- () const
MotionRef< Vector6ArgType > & operator-= (const MotionBase< MotionRef< Vector6ArgType > > &v)
MotionRef< Vector6ArgType > operator/ (const OtherScalar &alpha) const
bool operator== (const MotionBase< M2 > &other) const
PlainReturnType plain () const
SE3GroupAction< MotionRef< Vector6ArgType > >::ReturnType se3Action (const SE3Tpl< S2, O2 > &m) const
SE3GroupAction< MotionRef< Vector6ArgType > >::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 $.
ToVectorConstReturnType toVector () const

Protected Attributes

DataRefType m_ref

Detailed Description

template<typename Vector6ArgType>
class pinocchio::MotionRef< Vector6ArgType >

Definition at line 69 of file motion-ref.hpp.

Member Typedef Documentation

◆ Base

template<typename Vector6ArgType>
typedef MotionDense<MotionRef> Base

Definition at line 73 of file motion-ref.hpp.

◆ DataRefType

template<typename Vector6ArgType>
typedef traits<MotionRef>::DataRefType DataRefType

Definition at line 74 of file motion-ref.hpp.

Constructor & Destructor Documentation

◆ MotionRef() [1/2]

template<typename Vector6ArgType>
MotionRef(typename PINOCCHIO_EIGEN_REF_TYPE(Vector6ArgType)v_like)
inline

Default constructor from a 6 dimensional vector.

Definition at line 89 of file motion-ref.hpp.

◆ MotionRef() [2/2]

template<typename Vector6ArgType>
MotionRef(const MotionRef< Vector6ArgType > &other)
inline

Copy constructor from another MotionRef.

Definition at line 98 of file motion-ref.hpp.

Member Function Documentation

◆ __mequ__() [1/3]

template<typename Vector6ArgType>
MotionRef & __mequ__(const MotionDense< M1 > &v)
inline

Definition at line 191 of file motion-dense.hpp.

◆ __mequ__() [2/3]

template<typename Vector6ArgType>
template<typename Vector6Like>
MotionRef & __mequ__(const MotionRef< Vector6ArgType > &v)
inline

Definition at line 191 of file motion-ref.hpp.

◆ __mequ__() [3/3]

template<typename Vector6ArgType>
template<typename S1, int O1>
MotionRef & __mequ__(const MotionTpl< S1, O1 > &v)
inline

Definition at line 184 of file motion-ref.hpp.

◆ __minus__() [1/3]

template<typename Vector6ArgType>
MotionPlain __minus__(const MotionDense< M1 > &v)const
inline

Definition at line 177 of file motion-dense.hpp.

◆ __minus__() [2/3]

template<typename Vector6ArgType>
template<typename Vector6Like>
MotionPlain __minus__(const MotionRef< Vector6ArgType > &v)const
inline

Definition at line 164 of file motion-ref.hpp.

◆ __minus__() [3/3]

template<typename Vector6ArgType>
template<typename S1, int O1>
MotionPlain __minus__(const MotionTpl< S1, O1 > &v)const
inline

Definition at line 158 of file motion-ref.hpp.

◆ __mult__()

template<typename Vector6ArgType>
template<typename OtherScalar>
MotionPlain __mult__(const OtherScalar &alpha)const
inline

Definition at line 198 of file motion-ref.hpp.

◆ __opposite__()

template<typename Vector6ArgType>
MotionPlain __opposite__()const
inline

Definition at line 165 of file motion-dense.hpp.

◆ __pequ__() [1/3]

template<typename Vector6ArgType>
MotionRef & __pequ__(const MotionDense< M1 > &v)
inline

Definition at line 183 of file motion-dense.hpp.

◆ __pequ__() [2/3]

template<typename Vector6ArgType>
template<typename Vector6Like>
MotionRef & __pequ__(const MotionRef< Vector6ArgType > &v)
inline

Definition at line 177 of file motion-ref.hpp.

◆ __pequ__() [3/3]

template<typename Vector6ArgType>
template<typename S1, int O1>
MotionRef & __pequ__(const MotionTpl< S1, O1 > &v)
inline

Definition at line 170 of file motion-ref.hpp.

◆ __plus__() [1/3]

template<typename Vector6ArgType>
MotionPlain __plus__(const MotionDense< M1 > &v)const
inline

Definition at line 171 of file motion-dense.hpp.

◆ __plus__() [2/3]

template<typename Vector6ArgType>
template<typename Vector6Like>
MotionPlain __plus__(const MotionRef< Vector6ArgType > &v)const
inline

Definition at line 152 of file motion-ref.hpp.

◆ __plus__() [3/3]

template<typename Vector6ArgType>
template<typename S1, int O1>
MotionPlain __plus__(const MotionTpl< S1, O1 > &v)const
inline

Definition at line 146 of file motion-ref.hpp.

◆ angular_impl() [1/3]

template<typename Vector6ArgType>
AngularType angular_impl()
inline

Definition at line 121 of file motion-ref.hpp.

◆ angular_impl() [2/3]

template<typename Vector6ArgType>
ConstAngularType angular_impl()const
inline

Definition at line 113 of file motion-ref.hpp.

◆ angular_impl() [3/3]

template<typename Vector6ArgType>
template<typename V3>
void angular_impl(const Eigen::MatrixBase< V3 > &w)
inline

Definition at line 131 of file motion-ref.hpp.

◆ linear_impl() [1/3]

template<typename Vector6ArgType>
LinearType linear_impl()
inline

Definition at line 125 of file motion-ref.hpp.

◆ linear_impl() [2/3]

template<typename Vector6ArgType>
ConstLinearType linear_impl()const
inline

Definition at line 117 of file motion-ref.hpp.

◆ linear_impl() [3/3]

template<typename Vector6ArgType>
template<typename V3>
void linear_impl(const Eigen::MatrixBase< V3 > &v)
inline

Definition at line 138 of file motion-ref.hpp.

◆ operator=() [1/4]

template<typename Vector6ArgType>
MotionRef & operator=(const Eigen::MatrixBase< V6 > &v)
inline

Definition at line 123 of file motion-dense.hpp.

◆ operator=() [2/4]

template<typename Vector6ArgType>
MotionRef & operator=(const MotionBase< D2 > &other)
inline

Definition at line 116 of file motion-dense.hpp.

◆ operator=() [3/4]

template<typename Vector6ArgType>
MotionRef & operator=(const MotionDense &other)
inline

Definition at line 102 of file motion-dense.hpp.

◆ operator=() [4/4]

template<typename Vector6ArgType>
MotionRef & operator=(const MotionDense< D2 > &other)
inline

Definition at line 97 of file motion-dense.hpp.

◆ plain()

template<typename Vector6ArgType>
PlainReturnType plain()const
inline

Definition at line 208 of file motion-ref.hpp.

◆ ref()

template<typename Vector6ArgType>
MotionRef & ref()
inline

Definition at line 203 of file motion-ref.hpp.

◆ toVector_impl() [1/2]

template<typename Vector6ArgType>
ToVectorReturnType toVector_impl()
inline

Definition at line 107 of file motion-ref.hpp.

◆ toVector_impl() [2/2]

template<typename Vector6ArgType>
ToVectorConstReturnType toVector_impl()const
inline

Definition at line 103 of file motion-ref.hpp.

Member Data Documentation

◆ m_ref

template<typename Vector6ArgType>
DataRefType m_ref
protected

Definition at line 214 of file motion-ref.hpp.


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