Public Member Functions | |
CodeGenABADerivatives (const Model &model, const std::string &function_name="partial_aba", const std::string &library_name="cg_partial_aba_eval") | |
void | buildMap () |
build the mapping Y = f(X) | |
template<typename ConfigVectorType , typename TangentVector1 , typename TangentVector2 > | |
void | evalFunction (const Eigen::MatrixBase< ConfigVectorType > &q, const Eigen::MatrixBase< TangentVector1 > &v, const Eigen::MatrixBase< TangentVector2 > &tau) |
typedef | PINOCCHIO_EIGEN_PLAIN_ROW_MAJOR_TYPE (ADMatrixXs) RowADMatrixXs |
typedef | PINOCCHIO_EIGEN_PLAIN_ROW_MAJOR_TYPE (MatrixXs) RowMatrixXs |
![]() | |
CodeGenBase (const Model &model, const Eigen::DenseIndex dim_input, const Eigen::DenseIndex dim_output, const std::string &function_name, const std::string &library_name) | |
CppAD::cg::ModelCSourceGen< Scalar > & | codeGenerator () |
void | compileAndLoadLib (const std::string &gcc_path) |
void | compileLib (const std::string &gcc_path="/usr/bin/gcc", const std::string &compile_options="-Ofast") |
template<typename Vector > | |
void | evalFunction (const Eigen::MatrixBase< Vector > &x) |
template<typename Vector > | |
void | evalJacobian (const Eigen::MatrixBase< Vector > &x) |
bool | existLib () const |
Eigen::DenseIndex | getInputDimension () const |
Dimension of the input vector. | |
Eigen::DenseIndex | getOutputDimension () const |
Dimension of the output vector. | |
void | initLib () |
void | loadLib (const bool generate_if_not_exist=true, const std::string &gcc_path="/usr/bin/gcc", const std::string &compile_options="-Ofast") |
Protected Attributes | |
ADData | ad_data |
ADMatrixXs | ad_dddq_dq |
ADMatrixXs | ad_dddq_dtau |
ADMatrixXs | ad_dddq_dv |
ADFun | ad_fun |
ADModel | ad_model |
ADConfigVectorType | ad_q |
ADTangentVectorType | ad_tau |
ADTangentVectorType | ad_v |
ADVectorXs | ad_X |
ADVectorXs | ad_Y |
MatrixXs | dddq_dq |
MatrixXs | dddq_dtau |
MatrixXs | dddq_dv |
VectorXs | x |
VectorXs | y |
![]() | |
ADTangentVectorType | ad_a |
ADData | ad_data |
ADTangentVectorType | ad_dq |
ADFun | ad_fun |
ADModel | ad_model |
ADConfigVectorType | ad_q |
ADConfigVectorType | ad_q_plus |
ADTangentVectorType | ad_v |
ADVectorXs | ad_X |
ADVectorXs | ad_Y |
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. | |
std::unique_ptr< CppAD::cg::ModelCSourceGen< Scalar > > | cgen_ptr |
std::unique_ptr< CppAD::cg::DynamicLib< Scalar > > | dynamicLib_ptr |
std::unique_ptr< CppAD::cg::DynamicModelLibraryProcessor< Scalar > > | dynamicLibManager_ptr |
const std::string | function_name |
Name of the function. | |
std::unique_ptr< CppAD::cg::GenericModel< Scalar > > | generatedFun_ptr |
RowMatrixXs | jac |
std::unique_ptr< CppAD::cg::ModelLibraryCSourceGen< Scalar > > | libcgen_ptr |
const std::string | library_name |
Name of the library. | |
VectorXs | y |
Definition at line 570 of file code-generator-algo.hpp.
Definition at line 576 of file code-generator-algo.hpp.
Definition at line 582 of file code-generator-algo.hpp.
Definition at line 583 of file code-generator-algo.hpp.
Definition at line 577 of file code-generator-algo.hpp.
Definition at line 572 of file code-generator-algo.hpp.
Definition at line 578 of file code-generator-algo.hpp.
Definition at line 575 of file code-generator-algo.hpp.
Definition at line 573 of file code-generator-algo.hpp.
Definition at line 580 of file code-generator-algo.hpp.
|
inline |
Definition at line 586 of file code-generator-algo.hpp.
|
inlinevirtual |
Definition at line 612 of file code-generator-algo.hpp.
build the mapping Y = f(X)
Implements CodeGenBase< _Scalar >.
Definition at line 616 of file code-generator-algo.hpp.
|
inline |
Definition at line 646 of file code-generator-algo.hpp.
Definition at line 182 of file code-generator-base.hpp.
Definition at line 681 of file code-generator-algo.hpp.
Definition at line 681 of file code-generator-algo.hpp.
Definition at line 681 of file code-generator-algo.hpp.
Definition at line 196 of file code-generator-base.hpp.
Definition at line 181 of file code-generator-base.hpp.
Definition at line 684 of file code-generator-algo.hpp.
Definition at line 685 of file code-generator-algo.hpp.
Definition at line 685 of file code-generator-algo.hpp.
Definition at line 195 of file code-generator-base.hpp.
Definition at line 195 of file code-generator-base.hpp.
Definition at line 682 of file code-generator-algo.hpp.
Definition at line 682 of file code-generator-algo.hpp.
Definition at line 682 of file code-generator-algo.hpp.
Definition at line 680 of file code-generator-algo.hpp.
Definition at line 201 of file code-generator-base.hpp.