pinocchio 4.1.0
A fast and flexible implementation of Rigid Body Dynamics algorithms and their analytical derivatives
Loading...
Searching...
No Matches
InertiaPythonVisitor< Inertia > Struct Template Reference
Inheritance diagram for InertiaPythonVisitor< Inertia >:
Collaboration diagram for InertiaPythonVisitor< Inertia >:

Public Types

typedef ForceTpl< Scalar, Options > Force
typedef Inertia::Matrix3 Matrix3
typedef Inertia::Matrix6 Matrix6
typedef MotionTpl< Scalar, Options > Motion
typedef Inertia::Scalar Scalar
typedef Inertia::Vector3 Vector3
typedef Inertia::Vector6 Vector6
typedef Eigen::Matrix< Scalar, Eigen::Dynamic, 1, Options > VectorXs

Public Member Functions

template<class PyClass>
void visit (PyClass &cl) const

Static Public Member Functions

static void expose ()
static Inertia fromDynamicParameters_proxy (const VectorXs &params)
static Matrix3 getInertia (const Inertia &self)
static Scalar getMass (const Inertia &self)
static Inertia * makeFromMCI (const Scalar &mass, const Vector3 &lever, const Matrix3 &inertia)
static void setInertia (Inertia &self, const Matrix3 &symmetric_inertia)
static void setLever (Inertia &self, const Vector3 &lever)
static void setMass (Inertia &self, Scalar mass)
static VectorXs toDynamicParameters_proxy (const Inertia &self)

Static Public Attributes

static constexpr int Options = Inertia::Options

Detailed Description

template<typename Inertia>
struct pinocchio::python::InertiaPythonVisitor< Inertia >

Definition at line 27 of file inertia.hpp.

Member Typedef Documentation

◆ Force

template<typename Inertia>
typedef ForceTpl<Scalar, Options> Force

Definition at line 38 of file inertia.hpp.

◆ Matrix3

template<typename Inertia>
typedef Inertia::Matrix3 Matrix3

Definition at line 32 of file inertia.hpp.

◆ Matrix6

template<typename Inertia>
typedef Inertia::Matrix6 Matrix6

Definition at line 34 of file inertia.hpp.

◆ Motion

template<typename Inertia>
typedef MotionTpl<Scalar, Options> Motion

Definition at line 37 of file inertia.hpp.

◆ Scalar

template<typename Inertia>
typedef Inertia::Scalar Scalar

Definition at line 30 of file inertia.hpp.

◆ Vector3

template<typename Inertia>
typedef Inertia::Vector3 Vector3

Definition at line 31 of file inertia.hpp.

◆ Vector6

template<typename Inertia>
typedef Inertia::Vector6 Vector6

Definition at line 33 of file inertia.hpp.

◆ VectorXs

template<typename Inertia>
typedef Eigen::Matrix<Scalar, Eigen::Dynamic, 1, Options> VectorXs

Definition at line 36 of file inertia.hpp.

Member Function Documentation

◆ expose()

template<typename Inertia>
void expose()
inlinestatic

Definition at line 273 of file inertia.hpp.

◆ fromDynamicParameters_proxy()

template<typename Inertia>
Inertia fromDynamicParameters_proxy(const VectorXs &params)
inlinestatic

Definition at line 246 of file inertia.hpp.

◆ getInertia()

template<typename Inertia>
Matrix3 getInertia(const Inertia &self)
inlinestatic

Definition at line 225 of file inertia.hpp.

◆ getMass()

template<typename Inertia>
Scalar getMass(const Inertia &self)
inlinestatic

Definition at line 211 of file inertia.hpp.

◆ makeFromMCI()

template<typename Inertia>
Inertia * makeFromMCI(const Scalar &mass,
const Vector3 &lever,
const Matrix3 &inertia )
inlinestatic

Definition at line 259 of file inertia.hpp.

◆ setInertia()

template<typename Inertia>
void setInertia(Inertia &self,
const Matrix3 &symmetric_inertia )
inlinestatic

Definition at line 231 of file inertia.hpp.

◆ setLever()

template<typename Inertia>
void setLever(Inertia &self,
const Vector3 &lever )
inlinestatic

Definition at line 220 of file inertia.hpp.

◆ setMass()

template<typename Inertia>
void setMass(Inertia &self,
Scalarmass )
inlinestatic

Definition at line 215 of file inertia.hpp.

◆ toDynamicParameters_proxy()

template<typename Inertia>
VectorXs toDynamicParameters_proxy(const Inertia &self)
inlinestatic

Definition at line 241 of file inertia.hpp.

◆ visit()

template<typename Inertia>
template<class PyClass>
void visit(PyClass &cl)const
inline

Definition at line 42 of file inertia.hpp.

Member Data Documentation

◆ Options

template<typename Inertia>
int Options = Inertia::Options
staticconstexpr

Definition at line 29 of file inertia.hpp.


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