Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Attributes | List of all members
pinocchio::ForceTpl< _Scalar, _Options > Class Template Reference

#include <force-tpl.hpp>

Inheritance diagram for pinocchio::ForceTpl< _Scalar, _Options >:
Inheritance graph
[legend]

Public Types

enum  { Options = _Options }
 
- Public Types inherited from pinocchio::ForceDense< ForceTpl< _Scalar, _Options > >
typedef ForceBase< ForceTpl< _Scalar, _Options > > Base
 
typedef traits< ForceTpl< _Scalar, _Options > >::ForceRefType ForceRefType
 

Public Member Functions

ConstAngularType angular_impl () const
 
AngularType angular_impl ()
 
template<typename V3 >
void angular_impl (const Eigen::MatrixBase< V3 > &w)
 
template<typename NewScalar >
ForceTpl< NewScalar, Optionscast () const
 
 FORCE_TYPEDEF_TPL (ForceTpl)
 
 ForceTpl ()
 
template<typename V1 , typename V2 >
 ForceTpl (const Eigen::MatrixBase< V1 > &v, const Eigen::MatrixBase< V2 > &w)
 
template<typename V6 >
 ForceTpl (const Eigen::MatrixBase< V6 > &v)
 
 ForceTpl (const ForceTpl &clone)
 
template<int O2>
 ForceTpl (const ForceTpl< Scalar, O2 > &clone)
 
template<typename M2 >
 ForceTpl (const ForceDense< M2 > &clone)
 
ConstLinearType linear_impl () const
 
LinearType linear_impl ()
 
template<typename V3 >
void linear_impl (const Eigen::MatrixBase< V3 > &v)
 
ForceTploperator= (const ForceTpl &clone)
 
ForceRef< Vector6 > ref ()
 
ToVectorConstReturnType toVector_impl () const
 
ToVectorReturnType toVector_impl ()
 
- Public Member Functions inherited from pinocchio::ForceDense< ForceTpl< _Scalar, _Options > >
ForcePlain __div__ (const OtherScalar &alpha) const
 
ForceTpl< _Scalar, _Options > & __mequ__ (const ForceDense< M1 > &v)
 
ForcePlain __minus__ (const ForceDense< M1 > &v) const
 
ForcePlain __mult__ (const OtherScalar &alpha) const
 
ForcePlain __opposite__ () const
 
ForceTpl< _Scalar, _Options > & __pequ__ (const ForceDense< M1 > &v)
 
ForcePlain __plus__ (const ForceDense< M1 > &v) const
 
void disp_impl (std::ostream &os) const
 
Scalar dot (const MotionDense< F1 > &phi) const
 
 FORCE_TYPEDEF_TPL (ForceTpl< _Scalar, _Options >)
 
bool isApprox (const ForceDense< M2 > &f, const Scalar &prec=Eigen::NumTraits< Scalar >::dummy_precision()) const
 
bool isApprox_impl (const ForceDense< D2 > &f, const Scalar &prec=Eigen::NumTraits< Scalar >::dummy_precision()) const
 
bool isEqual_impl (const ForceDense< D2 > &other) const
 
bool isEqual_impl (const ForceBase< D2 > &other) const
 
bool isZero_impl (const Scalar &prec=Eigen::NumTraits< Scalar >::dummy_precision()) const
 
void motionAction (const MotionDense< M1 > &v, ForceDense< M2 > &fout) const
 
ForcePlain motionAction (const MotionDense< M1 > &v) const
 
ForcePlain operator+ (const ForceDense< F1 > &f) const
 
ForceTpl< _Scalar, _Options > & operator+= (const ForceDense< F1 > &f)
 
ForceTpl< _Scalar, _Options > & operator+= (const ForceBase< F1 > &f)
 
ForcePlain operator- () const
 
ForcePlain operator- (const ForceDense< F1 > &f) const
 
ForceTpl< _Scalar, _Options > & operator-= (const ForceDense< M1 > &v)
 
ForceTpl< _Scalar, _Options > & operator= (const ForceDense< D2 > &other)
 
ForceTpl< _Scalar, _Options > & operator= (const Eigen::MatrixBase< V6 > &v)
 
ForceRefType ref ()
 
void se3Action_impl (const SE3Tpl< S2, O2 > &m, ForceDense< D2 > &f) const
 
ForcePlain se3Action_impl (const SE3Tpl< S2, O2 > &m) const
 
void se3ActionInverse_impl (const SE3Tpl< S2, O2 > &m, ForceDense< D2 > &f) const
 
ForcePlain se3ActionInverse_impl (const SE3Tpl< S2, O2 > &m) const
 
ForceTpl< _Scalar, _Options > & setFrom (const ForceDense< D2 > &other)
 
ForceTpl< _Scalar, _Options > & setRandom ()
 
ForceTpl< _Scalar, _Options > & setZero ()
 
- Public Member Functions inherited from pinocchio::ForceBase< Derived >
ConstAngularType angular () const
 Return the angular part of the force vector. More...
 
AngularType angular ()
 Return the angular part of the force vector. More...
 
template<typename V3Like >
void angular (const Eigen::MatrixBase< V3Like > &n)
 Set the angular part of the force vector. More...
 
Derived & derived ()
 
const Derived & derived () const
 
void disp (std::ostream &os) const
 
template<typename MotionDerived >
Scalar dot (const MotionDense< MotionDerived > &m) const
 
 FORCE_TYPEDEF_TPL (Derived)
 
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
 
ConstLinearType linear () const
 Return the linear part of the force vector. More...
 
LinearType linear ()
 Return the linear part of the force vector. More...
 
template<typename V3Like >
void linear (const Eigen::MatrixBase< V3Like > &f)
 Set the linear part of the force vector. More...
 
template<typename M1 >
MotionAlgebraAction< Derived, M1 >::ReturnType motionAction (const MotionDense< M1 > &v) const
 
 operator Vector6 () const
 
template<typename F2 >
bool operator!= (const ForceBase< F2 > &other) const
 
template<typename OtherScalar >
ForcePlain operator* (const OtherScalar &alpha) const
 
Derived operator+ (const ForceBase< Derived > &phi) const
 
Derived & operator+= (const ForceBase< Derived > &phi)
 Replaces *this by *this + other. More...
 
Derived operator- () const
 
Derived operator- (const ForceBase< Derived > &phi) const
 
Derived & operator-= (const ForceBase< Derived > &phi)
 Replaces *this by *this - other. More...
 
template<typename OtherScalar >
ForcePlain operator/ (const OtherScalar &alpha) const
 
Derived & operator= (const ForceBase< Derived > &other)
 Copies the Derived Force into *this. More...
 
template<typename F2 >
bool operator== (const ForceBase< F2 > &other) const
 
template<typename S2 , int O2>
SE3GroupAction< Derived >::ReturnType se3Action (const SE3Tpl< S2, O2 > &m) const
 Transform from A to B coordinates the Force represented by *this such that

\begin{equation*} {}^{B}f = {}^{B}X_A^* * {}^{A}f \end{equation*}

. More...

 
template<typename S2 , int O2>
SE3GroupAction< Derived >::ReturnType se3ActionInverse (const SE3Tpl< S2, O2 > &m) const
 Transform from B to A coordinates the Force represented by *this such that

\begin{equation*} {}^{A}f = {}^{A}X_B^* * {}^{A}f \end{equation*}

. More...

 
ToVectorConstReturnType toVector () const
 Return the force as an Eigen vector. More...
 
ToVectorReturnType toVector ()
 Return the force as an Eigen vector. More...
 

Static Public Member Functions

static ForceTpl Random ()
 
static ForceTpl Zero ()
 

Public Attributes

EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef ForceDense< ForceTplBase
 

Protected Attributes

Vector6 m_data
 

Detailed Description

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

Definition at line 35 of file force-tpl.hpp.

Member Enumeration Documentation

◆ anonymous enum

template<typename _Scalar, int _Options>
anonymous enum
Enumerator
Options 

Definition at line 41 of file force-tpl.hpp.

Constructor & Destructor Documentation

◆ ForceTpl() [1/6]

template<typename _Scalar, int _Options>
pinocchio::ForceTpl< _Scalar, _Options >::ForceTpl ( )
inline

Definition at line 49 of file force-tpl.hpp.

◆ ForceTpl() [2/6]

template<typename _Scalar, int _Options>
template<typename V1 , typename V2 >
pinocchio::ForceTpl< _Scalar, _Options >::ForceTpl ( const Eigen::MatrixBase< V1 > &  v,
const Eigen::MatrixBase< V2 > &  w 
)
inline

Definition at line 52 of file force-tpl.hpp.

◆ ForceTpl() [3/6]

template<typename _Scalar, int _Options>
template<typename V6 >
pinocchio::ForceTpl< _Scalar, _Options >::ForceTpl ( const Eigen::MatrixBase< V6 > &  v)
inlineexplicit

Definition at line 60 of file force-tpl.hpp.

◆ ForceTpl() [4/6]

template<typename _Scalar, int _Options>
pinocchio::ForceTpl< _Scalar, _Options >::ForceTpl ( const ForceTpl< _Scalar, _Options > &  clone)
inline

Definition at line 67 of file force-tpl.hpp.

◆ ForceTpl() [5/6]

template<typename _Scalar, int _Options>
template<int O2>
pinocchio::ForceTpl< _Scalar, _Options >::ForceTpl ( const ForceTpl< Scalar, O2 > &  clone)
inlineexplicit

Definition at line 78 of file force-tpl.hpp.

◆ ForceTpl() [6/6]

template<typename _Scalar, int _Options>
template<typename M2 >
pinocchio::ForceTpl< _Scalar, _Options >::ForceTpl ( const ForceDense< M2 > &  clone)
inlineexplicit

Definition at line 83 of file force-tpl.hpp.

Member Function Documentation

◆ angular_impl() [1/3]

template<typename _Scalar, int _Options>
ConstAngularType pinocchio::ForceTpl< _Scalar, _Options >::angular_impl ( ) const
inline

Definition at line 94 of file force-tpl.hpp.

◆ angular_impl() [2/3]

template<typename _Scalar, int _Options>
AngularType pinocchio::ForceTpl< _Scalar, _Options >::angular_impl ( )
inline

Definition at line 96 of file force-tpl.hpp.

◆ angular_impl() [3/3]

template<typename _Scalar, int _Options>
template<typename V3 >
void pinocchio::ForceTpl< _Scalar, _Options >::angular_impl ( const Eigen::MatrixBase< V3 > &  w)
inline

Definition at line 100 of file force-tpl.hpp.

◆ cast()

template<typename _Scalar, int _Options>
template<typename NewScalar >
ForceTpl<NewScalar,Options> pinocchio::ForceTpl< _Scalar, _Options >::cast ( ) const
inline
Returns
An expression of *this with the Scalar type casted to NewScalar.

Definition at line 116 of file force-tpl.hpp.

◆ FORCE_TYPEDEF_TPL()

template<typename _Scalar, int _Options>
pinocchio::ForceTpl< _Scalar, _Options >::FORCE_TYPEDEF_TPL ( ForceTpl< _Scalar, _Options >  )

◆ linear_impl() [1/3]

template<typename _Scalar, int _Options>
ConstLinearType pinocchio::ForceTpl< _Scalar, _Options >::linear_impl ( ) const
inline

Definition at line 95 of file force-tpl.hpp.

◆ linear_impl() [2/3]

template<typename _Scalar, int _Options>
LinearType pinocchio::ForceTpl< _Scalar, _Options >::linear_impl ( )
inline

Definition at line 97 of file force-tpl.hpp.

◆ linear_impl() [3/3]

template<typename _Scalar, int _Options>
template<typename V3 >
void pinocchio::ForceTpl< _Scalar, _Options >::linear_impl ( const Eigen::MatrixBase< V3 > &  v)
inline

Definition at line 106 of file force-tpl.hpp.

◆ operator=()

template<typename _Scalar, int _Options>
ForceTpl& pinocchio::ForceTpl< _Scalar, _Options >::operator= ( const ForceTpl< _Scalar, _Options > &  clone)
inline

Definition at line 71 of file force-tpl.hpp.

◆ Random()

template<typename _Scalar, int _Options>
static ForceTpl pinocchio::ForceTpl< _Scalar, _Options >::Random ( )
inlinestatic

Definition at line 88 of file force-tpl.hpp.

◆ ref()

template<typename _Scalar, int _Options>
ForceRef<Vector6> pinocchio::ForceTpl< _Scalar, _Options >::ref ( )
inline

Definition at line 112 of file force-tpl.hpp.

◆ toVector_impl() [1/2]

template<typename _Scalar, int _Options>
ToVectorConstReturnType pinocchio::ForceTpl< _Scalar, _Options >::toVector_impl ( ) const
inline

Definition at line 90 of file force-tpl.hpp.

◆ toVector_impl() [2/2]

template<typename _Scalar, int _Options>
ToVectorReturnType pinocchio::ForceTpl< _Scalar, _Options >::toVector_impl ( )
inline

Definition at line 91 of file force-tpl.hpp.

◆ Zero()

template<typename _Scalar, int _Options>
static ForceTpl pinocchio::ForceTpl< _Scalar, _Options >::Zero ( )
inlinestatic

Definition at line 87 of file force-tpl.hpp.

Member Data Documentation

◆ Base

template<typename _Scalar, int _Options>
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef ForceDense<ForceTpl> pinocchio::ForceTpl< _Scalar, _Options >::Base

Definition at line 39 of file force-tpl.hpp.

◆ m_data

template<typename _Scalar, int _Options>
Vector6 pinocchio::ForceTpl< _Scalar, _Options >::m_data
protected

Definition at line 125 of file force-tpl.hpp.


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


pinocchio
Author(s):
autogenerated on Fri Jun 23 2023 02:38:34