pinocchio  3.7.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.
 
template<typename M1 >
Derived & __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)
 
template<typename M1 >
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
 
template<typename OtherScalar >
MotionPlain __mult__ (const OtherScalar &alpha) const
 
MotionPlain __opposite__ () const
 
template<typename M1 >
Derived & __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)
 
template<typename M1 >
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
 
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)
 
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 (MotionRef)
 
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)
 
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 MotionDense< M2 > &m2, const Scalar &prec=Eigen::NumTraits< Scalar >::dummy_precision()) 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 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 (MotionRef< Vector6ArgType >)
 
MotionPlain motionAction (const MotionDense< M1 > &v) const
 
void motionAction (const MotionDense< M1 > &v, MotionDense< M2 > &mout) const
 
MotionPlain operator+ (const MotionDense< M1 > &v) const
 
MotionRef< Vector6ArgType > & operator+= (const MotionBase< M1 > &v)
 
MotionRef< Vector6ArgType > & operator+= (const MotionDense< M1 > &v)
 
MotionPlain operator- () const
 
MotionPlain operator- (const MotionDense< M1 > &v) const
 
MotionRef< Vector6ArgType > & operator-= (const MotionDense< M1 > &v)
 
MotionRef< Vector6ArgType > & operator= (const Eigen::MatrixBase< V6 > &v)
 
MotionRef< Vector6ArgType > & operator= (const MotionBase< D2 > &other)
 
MotionRef< Vector6ArgType > & operator= (const MotionDense &other)
 
MotionRef< Vector6ArgType > & operator= (const MotionDense< D2 > &other)
 
MotionRefType ref ()
 
SE3GroupAction< MotionRef< Vector6ArgType > >::ReturnType se3Action_impl (const SE3Tpl< S2, O2 > &m) const
 
void se3Action_impl (const SE3Tpl< S2, O2 > &m, MotionDense< D2 > &v) const
 
SE3GroupAction< MotionRef< Vector6ArgType > >::ReturnType se3ActionInverse_impl (const SE3Tpl< S2, O2 > &m) 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< 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 \).
 
ToVectorReturnType toVector ()
 
ToVectorConstReturnType toVector () const
 

Protected Attributes

DataRefType m_ref
 

Additional Inherited Members

- Protected Member Functions inherited from MotionDense< MotionRef< Vector6ArgType > >
 MotionDense (const MotionDense &)=delete
 

Detailed Description

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

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

Member Typedef Documentation

◆ Base

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

◆ DataRefType

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

Constructor & Destructor Documentation

◆ MotionRef() [1/2]

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]

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 M1 >
Derived & __mequ__ ( const MotionDense< M1 > &  v)
inline

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

◆ __mequ__() [2/3]

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

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

◆ __mequ__() [3/3]

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 M1 >
MotionPlain __minus__ ( const MotionDense< M1 > &  v) const
inline

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

◆ __minus__() [2/3]

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 S1 , int O1>
MotionPlain __minus__ ( const MotionTpl< S1, O1 > &  v) const
inline

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

◆ __mult__() [1/2]

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

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

◆ __mult__() [2/2]

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

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

◆ __opposite__()

MotionPlain __opposite__ ( ) const
inline

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

◆ __pequ__() [1/3]

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

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

◆ __pequ__() [2/3]

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

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

◆ __pequ__() [3/3]

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 M1 >
MotionPlain __plus__ ( const MotionDense< M1 > &  v) const
inline

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

◆ __plus__() [2/3]

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 S1 , int O1>
MotionPlain __plus__ ( const MotionTpl< S1, O1 > &  v) const
inline

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

◆ angular() [1/3]

AngularType angular ( )
inline

Definition at line 33 of file motion-base.hpp.

◆ angular() [2/3]

ConstAngularType angular ( ) const
inline

Definition at line 33 of file motion-base.hpp.

◆ angular() [3/3]

template<typename V3Like >
void angular ( const Eigen::MatrixBase< V3Like > &  w)
inline

Definition at line 33 of file motion-base.hpp.

◆ angular_impl() [1/3]

AngularType angular_impl ( )
inline

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

◆ angular_impl() [2/3]

ConstAngularType angular_impl ( ) const
inline

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

◆ angular_impl() [3/3]

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

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

◆ linear() [1/3]

LinearType linear ( )
inline

Definition at line 37 of file motion-base.hpp.

◆ linear() [2/3]

ConstLinearType linear ( ) const
inline

Definition at line 37 of file motion-base.hpp.

◆ linear() [3/3]

template<typename V3Like >
void linear ( const Eigen::MatrixBase< V3Like > &  v)
inline

Definition at line 37 of file motion-base.hpp.

◆ linear_impl() [1/3]

LinearType linear_impl ( )
inline

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

◆ linear_impl() [2/3]

ConstLinearType linear_impl ( ) const
inline

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

◆ linear_impl() [3/3]

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 V6 >
Derived & operator= ( const Eigen::MatrixBase< V6 > &  v)
inline

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

◆ operator=() [2/4]

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

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

◆ operator=() [3/4]

Derived & operator= ( const MotionDense other)
inline

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

◆ operator=() [4/4]

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

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

◆ plain()

PlainReturnType plain ( ) const
inline

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

◆ ref()

MotionRef & ref ( )
inline

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

◆ toVector_impl() [1/2]

ToVectorReturnType toVector_impl ( )
inline

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

◆ toVector_impl() [2/2]

ToVectorConstReturnType toVector_impl ( ) const
inline

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

Member Data Documentation

◆ m_ref

DataRefType m_ref
protected

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


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