Template Struct CodeGenRNEA

Inheritance Relationships

Base Type

Struct Documentation

template<typename _Scalar>
struct CodeGenRNEA : public pinocchio::CodeGenBase<_Scalar>

Public Types

typedef CodeGenBase<_Scalar> Base
typedef Base::Scalar Scalar
typedef Base::Model Model
typedef Base::ADConfigVectorType ADConfigVectorType
typedef Base::ADTangentVectorType ADTangentVectorType
typedef Base::MatrixXs MatrixXs
typedef Base::VectorXs VectorXs

Public Functions

inline CodeGenRNEA(const Model &model, const std::string &function_name = "rnea", const std::string &library_name = "cg_rnea_eval")
inline virtual void buildMap()

build the mapping Y = f(X)

template<typename ConfigVectorType, typename TangentVector1, typename TangentVector2>
inline void evalFunction(const Eigen::MatrixBase<ConfigVectorType> &q, const Eigen::MatrixBase<TangentVector1> &v, const Eigen::MatrixBase<TangentVector2> &a)
template<typename ConfigVectorType, typename TangentVector1, typename TangentVector2>
inline void evalJacobian(const Eigen::MatrixBase<ConfigVectorType> &q, const Eigen::MatrixBase<TangentVector1> &v, const Eigen::MatrixBase<TangentVector2> &a)
template<typename Vector>
inline void evalFunction(const Eigen::MatrixBase<Vector> &x)
template<typename Vector>
inline void evalJacobian(const Eigen::MatrixBase<Vector> &x)

Public Members

MatrixXs dtau_dq
MatrixXs dtau_dv
MatrixXs dtau_da

Protected Attributes

VectorXs x
VectorXs res
ADConfigVectorType ad_q
ADConfigVectorType ad_q_plus
ADTangentVectorType ad_dq
ADTangentVectorType ad_v
ADTangentVectorType ad_a
ADModel ad_model
ADData ad_data
ADFun ad_fun
ADVectorXs ad_X
ADVectorXs ad_Y
VectorXs y
RowMatrixXs jac