#include <code-generator-algo.hpp>
Public Member Functions | |
void | buildMap () |
build the mapping Y = f(X) More... | |
CodeGenCRBA (const Model &model, const std::string &function_name="crba", const std::string &library_name="cg_crba_eval") | |
template<typename ConfigVectorType > | |
void | evalFunction (const Eigen::MatrixBase< ConfigVectorType > &q) |
virtual | ~CodeGenCRBA () |
Public Member Functions inherited from pinocchio::CodeGenBase< _Scalar > | |
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. More... | |
Eigen::DenseIndex | getOutputDimension () const |
Dimension of the output vector. More... | |
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") |
virtual | ~CodeGenBase () |
Public Attributes | |
MatrixXs | M |
Protected Attributes | |
ADData | ad_data |
ADFun | ad_fun |
ADModel | ad_model |
ADConfigVectorType | ad_q |
ADVectorXs | ad_X |
ADVectorXs | ad_Y |
VectorXs | res |
VectorXs | x |
VectorXs | y |
Protected Attributes inherited from pinocchio::CodeGenBase< _Scalar > | |
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. More... | |
bool | build_jacobian |
Options to build or not the Jacobian of he function. More... | |
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. More... | |
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. More... | |
VectorXs | y |
Definition at line 262 of file code-generator-algo.hpp.
typedef Base::ADConfigVectorType pinocchio::CodeGenCRBA< _Scalar >::ADConfigVectorType |
Definition at line 268 of file code-generator-algo.hpp.
typedef Base::ADTangentVectorType pinocchio::CodeGenCRBA< _Scalar >::ADTangentVectorType |
Definition at line 269 of file code-generator-algo.hpp.
typedef CodeGenBase<_Scalar> pinocchio::CodeGenCRBA< _Scalar >::Base |
Definition at line 264 of file code-generator-algo.hpp.
typedef Base::MatrixXs pinocchio::CodeGenCRBA< _Scalar >::MatrixXs |
Definition at line 270 of file code-generator-algo.hpp.
typedef Base::Model pinocchio::CodeGenCRBA< _Scalar >::Model |
Definition at line 267 of file code-generator-algo.hpp.
typedef Base::Scalar pinocchio::CodeGenCRBA< _Scalar >::Scalar |
Definition at line 265 of file code-generator-algo.hpp.
typedef Base::VectorXs pinocchio::CodeGenCRBA< _Scalar >::VectorXs |
Definition at line 271 of file code-generator-algo.hpp.
|
inline |
Definition at line 273 of file code-generator-algo.hpp.
|
inlinevirtual |
Definition at line 289 of file code-generator-algo.hpp.
|
inlinevirtual |
build the mapping Y = f(X)
Implements pinocchio::CodeGenBase< _Scalar >.
Definition at line 293 of file code-generator-algo.hpp.
|
inline |
Definition at line 319 of file code-generator-algo.hpp.
|
protected |
Definition at line 182 of file code-generator-base.hpp.
|
protected |
Definition at line 196 of file code-generator-base.hpp.
|
protected |
Definition at line 181 of file code-generator-base.hpp.
|
protected |
Definition at line 354 of file code-generator-algo.hpp.
|
protected |
Definition at line 195 of file code-generator-base.hpp.
|
protected |
Definition at line 195 of file code-generator-base.hpp.
MatrixXs pinocchio::CodeGenCRBA< _Scalar >::M |
Definition at line 341 of file code-generator-algo.hpp.
|
protected |
Definition at line 352 of file code-generator-algo.hpp.
|
protected |
Definition at line 351 of file code-generator-algo.hpp.
|
protected |
Definition at line 201 of file code-generator-base.hpp.