

Public Member Functions | |
| CodeGenConstraintDynamics (const Model &model, const ContactModelVector &contact_models, const std::string &function_name="constraintDynamics", const std::string &library_name="cg_constraintDynamics_eval") | |
| void | buildMap () |
| build the mapping Y = f(X) | |
| Eigen::DenseIndex | constraintDim (const ContactModelVector &contact_models) const |
| template<typename ConfigVectorType , typename TangentVector1 , typename TangentVector2 > | |
| void | evalFunction (const Eigen::MatrixBase< ConfigVectorType > &q, const Eigen::MatrixBase< TangentVector1 > &v, const Eigen::MatrixBase< TangentVector2 > &tau) |
| template<typename ConfigVectorType , typename TangentVector1 , typename TangentVector2 > | |
| void | evalJacobian (const Eigen::MatrixBase< ConfigVectorType > &q, const Eigen::MatrixBase< TangentVector1 > &v, const Eigen::MatrixBase< TangentVector2 > &a) |
| template<typename Vector > | |
| void | evalJacobian (const Eigen::MatrixBase< Vector > &x) |
| typedef | PINOCCHIO_EIGEN_PLAIN_ROW_MAJOR_TYPE (ADMatrixXs) RowADMatrixXs |
| typedef | PINOCCHIO_EIGEN_PLAIN_ROW_MAJOR_TYPE (MatrixXs) RowMatrixXs |
Public Member Functions inherited from 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. | |
| 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") |
Public Attributes | |
| MatrixXs | da_dq |
| MatrixXs | da_dtau |
| MatrixXs | da_dv |
| VectorXs | ddq |
| MatrixXs | dlambda_dq |
| MatrixXs | dlambda_dtau |
| MatrixXs | dlambda_dv |
| VectorXs | lambda_c |
Protected Attributes | |
| ADContactDataVector | ad_contact_datas |
| ADContactModelVector | ad_contact_models |
| ADData | ad_data |
| ADFun | ad_fun |
| ADModel | ad_model |
| ADConfigVectorType | ad_q |
| ADTangentVectorType | ad_tau |
| ADTangentVectorType | ad_v |
| ADVectorXs | ad_X |
| ADVectorXs | ad_Y |
| Eigen::DenseIndex | nc |
| VectorXs | x |
| VectorXs | y |
Protected Attributes inherited from 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. | |
| 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 873 of file code-generator-algo.hpp.
Definition at line 881 of file code-generator-algo.hpp.
| typedef Eigen::aligned_allocator<ADContactData> ADConstraintDataAllocator |
Definition at line 898 of file code-generator-algo.hpp.
| typedef Eigen::aligned_allocator<ADContactModel> ADConstraintModelAllocator |
Definition at line 895 of file code-generator-algo.hpp.
| typedef pinocchio::RigidConstraintDataTpl<ADScalar, Base::Options> ADContactData |
Definition at line 897 of file code-generator-algo.hpp.
| typedef std::vector<ADContactData, ADConstraintDataAllocator> ADContactDataVector |
Definition at line 899 of file code-generator-algo.hpp.
| typedef pinocchio::RigidConstraintModelTpl<ADScalar, Base::Options> ADContactModel |
Definition at line 894 of file code-generator-algo.hpp.
| typedef std::vector<ADContactModel, ADConstraintModelAllocator> ADContactModelVector |
Definition at line 896 of file code-generator-algo.hpp.
Definition at line 901 of file code-generator-algo.hpp.
Definition at line 902 of file code-generator-algo.hpp.
Definition at line 877 of file code-generator-algo.hpp.
Definition at line 882 of file code-generator-algo.hpp.
Definition at line 875 of file code-generator-algo.hpp.
| typedef Eigen::aligned_allocator<ContactData> ConstraintDataAllocator |
Definition at line 891 of file code-generator-algo.hpp.
| typedef Eigen::aligned_allocator<ContactModel> ConstraintModelAllocator |
Definition at line 888 of file code-generator-algo.hpp.
| typedef pinocchio::RigidConstraintDataTpl<Scalar, Base::Options> ContactData |
Definition at line 890 of file code-generator-algo.hpp.
| typedef std::vector<ContactData, ConstraintDataAllocator> ContactDataVector |
Definition at line 892 of file code-generator-algo.hpp.
| typedef pinocchio::RigidConstraintModelTpl<Scalar, Base::Options> ContactModel |
Definition at line 887 of file code-generator-algo.hpp.
| typedef std::vector<ContactModel, ConstraintModelAllocator> ContactModelVector |
Definition at line 889 of file code-generator-algo.hpp.
Definition at line 883 of file code-generator-algo.hpp.
Definition at line 879 of file code-generator-algo.hpp.
Definition at line 876 of file code-generator-algo.hpp.
Definition at line 885 of file code-generator-algo.hpp.
|
inline |
Definition at line 918 of file code-generator-algo.hpp.
|
inlinevirtual |
Definition at line 965 of file code-generator-algo.hpp.
build the mapping Y = f(X)
Implements CodeGenBase< _Scalar >.
Definition at line 969 of file code-generator-algo.hpp.
|
inline |
Definition at line 905 of file code-generator-algo.hpp.
|
inline |
Definition at line 991 of file code-generator-algo.hpp.
|
inline |
Definition at line 1015 of file code-generator-algo.hpp.
Definition at line 159 of file code-generator-base.hpp.
Definition at line 1054 of file code-generator-algo.hpp.
Definition at line 1053 of file code-generator-algo.hpp.
Definition at line 182 of file code-generator-base.hpp.
Definition at line 196 of file code-generator-base.hpp.
Definition at line 181 of file code-generator-base.hpp.
Definition at line 1059 of file code-generator-algo.hpp.
Definition at line 1060 of file code-generator-algo.hpp.
Definition at line 1060 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 1042 of file code-generator-algo.hpp.
Definition at line 1042 of file code-generator-algo.hpp.
Definition at line 1042 of file code-generator-algo.hpp.
Definition at line 1041 of file code-generator-algo.hpp.
Definition at line 1043 of file code-generator-algo.hpp.
Definition at line 1043 of file code-generator-algo.hpp.
Definition at line 1043 of file code-generator-algo.hpp.
Definition at line 1041 of file code-generator-algo.hpp.
Definition at line 1056 of file code-generator-algo.hpp.
Definition at line 1057 of file code-generator-algo.hpp.
Definition at line 201 of file code-generator-base.hpp.