pinocchio  3.6.0
A fast and flexible implementation of Rigid Body Dynamics algorithms and their analytical derivatives
AutoDiffAlgoBase< _Scalar > Struct Template Referenceabstract
Inheritance diagram for AutoDiffAlgoBase< _Scalar >:
Collaboration diagram for AutoDiffAlgoBase< _Scalar >:

Public Types

enum  { Options = 0 }
 
typedef ADModel::ConfigVectorType ADConfigVectorType
 
typedef pinocchio::DataTpl< ADScalar, Options > ADData
 
typedef ::casadi::Function ADFun
 
typedef pinocchio::ModelTpl< ADScalar, Options > ADModel
 
typedef ::casadi::SX ADScalar
 
typedef ::casadi::SXVector ADSVector
 
typedef ADModel::TangentVectorType ADTangentVectorType
 
typedef Model::ConfigVectorType ConfigVectorType
 
typedef pinocchio::DataTpl< Scalar, Options > Data
 
typedef ::casadi::DM DMMatrix
 
typedef ::casadi::DMVector DMVector
 
typedef Data::MatrixXs MatrixXs
 
typedef pinocchio::ModelTpl< Scalar, Options > Model
 
typedef Data::RowMatrixXs RowMatrixXs
 
typedef _Scalar Scalar
 
typedef Model::TangentVectorType TangentVectorType
 
typedef Data::VectorXs VectorXs
 

Public Member Functions

 AutoDiffAlgoBase (const Model &model, const std::string &filename, const std::string &libname, const std::string &fun_name)
 
virtual void buildMap ()=0
 build the mapping Y = f(X)
 
void compileLib ()
 
bool existLib () const
 
casadi_int getFunDerivsOperationCount () const
 
casadi_int getFunOperationCount () const
 
void initLib ()
 
void loadLib (const bool generate_if_not_exist=true)
 

Protected Attributes

ADData ad_data
 
ADFun ad_fun
 
ADFun ad_fun_derivs
 
ADModel ad_model
 
bool build_forward
 Options to generate or not the source code for the evaluation function.
 
bool build_jacobian
 Options to build or not the Jacobian of he function.
 
::casadi::CodeGenerator cg_generated
 
std::string filename
 
ADFun fun
 
ADFun fun_derivs
 
casadi_int fun_derivs_operation_count
 
std::string fun_name
 
casadi_int fun_operation_count
 
std::vector< DMMatrix > fun_output
 
std::vector< DMMatrix > fun_output_derivs
 
std::string libname
 

Detailed Description

template<typename _Scalar>
struct pinocchio::casadi::AutoDiffAlgoBase< _Scalar >

Definition at line 24 of file casadi-algo.hpp.


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