Template Struct CodeGenABADerivatives

Inheritance Relationships

Base Type

Struct Documentation

template<typename _Scalar>
struct CodeGenABADerivatives : 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
typedef Base::ADData ADData
typedef ADData::MatrixXs ADMatrixXs

Public Functions

typedef PINOCCHIO_EIGEN_PLAIN_ROW_MAJOR_TYPE (MatrixXs) RowMatrixXs
typedef PINOCCHIO_EIGEN_PLAIN_ROW_MAJOR_TYPE (ADMatrixXs) RowADMatrixXs
inline CodeGenABADerivatives(const Model &model, const std::string &function_name = "partial_aba", const std::string &library_name = "cg_partial_aba_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> &tau)

Protected Attributes

VectorXs x
VectorXs partial_derivatives
ADMatrixXs ad_dddq_dq
ADMatrixXs ad_dddq_dv
ADMatrixXs ad_dddq_dtau
MatrixXs dddq_dq
MatrixXs dddq_dv
MatrixXs dddq_dtau
ADConfigVectorType ad_q
ADTangentVectorType ad_v
ADTangentVectorType ad_tau
ADModel ad_model
ADData ad_data
ADFun ad_fun
ADVectorXs ad_X
ADVectorXs ad_Y
VectorXs y