Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Attributes | List of all members
pinocchio.casadi::AutoDiffConstraintDynamics< _Scalar > Struct Template Reference

#include <casadi-algo.hpp>

Inheritance diagram for pinocchio.casadi::AutoDiffConstraintDynamics< _Scalar >:
Inheritance graph
[legend]

Public Types

typedef Base::ADConfigVectorType ADConfigVectorType
 
typedef pinocchio::RigidConstraintDataTpl< ADScalar, Base::OptionsADConstraintData
 
typedef Eigen::aligned_allocator< ADConstraintDataADConstraintDataAllocator
 
typedef std::vector< ADConstraintData, ADConstraintDataAllocatorADConstraintDataVector
 
typedef pinocchio::RigidConstraintModelTpl< ADScalar, Base::OptionsADConstraintModel
 
typedef Eigen::aligned_allocator< ADConstraintModelADConstraintModelAllocator
 
typedef std::vector< ADConstraintModel, ADConstraintModelAllocatorADConstraintModelVector
 
typedef Base::ADFun ADFun
 
typedef Base::ADScalar ADScalar
 
typedef Base::ADSVector ADSVector
 
typedef Base::ADTangentVectorType ADTangentVectorType
 
typedef AutoDiffAlgoBase< _Scalar > Base
 
typedef pinocchio::RigidConstraintDataTpl< Scalar, Base::OptionsConstraintData
 
typedef Eigen::aligned_allocator< ConstraintDataConstraintDataAllocator
 
typedef std::vector< ConstraintData, ConstraintDataAllocatorConstraintDataVector
 
typedef pinocchio::RigidConstraintModelTpl< Scalar, Base::OptionsConstraintModel
 
typedef Eigen::aligned_allocator< ConstraintModelConstraintModelAllocator
 
typedef std::vector< ConstraintModel, ConstraintModelAllocatorConstraintModelVector
 
typedef Base::DMMatrix DMMatrix
 
typedef Base::DMVector DMVector
 
typedef Base::MatrixXs MatrixXs
 
typedef Base::RowMatrixXs RowMatrixXs
 
typedef Base::Scalar Scalar
 
typedef Base::TangentVectorType TangentVectorType
 
typedef Base::VectorXs VectorXs
 
- Public Types inherited from pinocchio.casadi::AutoDiffAlgoBase< _Scalar >
enum  { Options = 0 }
 
typedef ADModel::ConfigVectorType ADConfigVectorType
 
typedef pinocchio::DataTpl< ADScalar, OptionsADData
 
typedef ::casadi::Function ADFun
 
typedef pinocchio::ModelTpl< ADScalar, OptionsADModel
 
typedef ::casadi::SX ADScalar
 
typedef ::casadi::SXVector ADSVector
 
typedef ADModel::TangentVectorType ADTangentVectorType
 
typedef Model::ConfigVectorType ConfigVectorType
 
typedef pinocchio::DataTpl< Scalar, OptionsData
 
typedef ::casadi::DM DMMatrix
 
typedef ::casadi::DMVector DMVector
 
typedef Data::MatrixXs MatrixXs
 
typedef pinocchio::ModelTpl< Scalar, OptionsModel
 
typedef Data::RowMatrixXs RowMatrixXs
 
typedef _Scalar Scalar
 
typedef Model::TangentVectorType TangentVectorType
 
typedef Data::VectorXs VectorXs
 

Public Member Functions

 AutoDiffConstraintDynamics (const Model &model, const ConstraintModelVector &contact_models, const std::string &filename="casadi_contactDyn", const std::string &libname="libcasadi_cg_contactDyn", const std::string &fun_name="eval_f")
 
virtual void buildMap ()
 build the mapping Y = f(X) More...
 
template<typename ConfigVectorType1 , typename TangentVectorType1 , typename TangentVectorType2 >
void evalFunction (const Eigen::MatrixBase< ConfigVectorType1 > &q, const Eigen::MatrixBase< TangentVectorType1 > &v, const Eigen::MatrixBase< TangentVectorType2 > &tau)
 
template<typename ConfigVectorType1 , typename TangentVectorType1 , typename TangentVectorType2 >
void evalJacobian (const Eigen::MatrixBase< ConfigVectorType1 > &q, const Eigen::MatrixBase< TangentVectorType1 > &v, const Eigen::MatrixBase< TangentVectorType2 > &tau)
 
virtual ~AutoDiffConstraintDynamics ()
 
- Public Member Functions inherited from pinocchio.casadi::AutoDiffAlgoBase< _Scalar >
 AutoDiffAlgoBase (const Model &model, const std::string &filename, const std::string &libname, const std::string &fun_name)
 
void compileLib ()
 
bool existLib () const
 
casadi_int getFunDerivsOperationCount () const
 
casadi_int getFunOperationCount () const
 
void initLib ()
 
void loadLib (const bool generate_if_not_exist=true)
 
virtual ~AutoDiffAlgoBase ()
 

Static Public Member Functions

static Eigen::DenseIndex constraintDim (const ConstraintModelVector &contact_models)
 

Public Attributes

TangentVectorType ddq
 
RowMatrixXs ddq_dq
 
RowMatrixXs ddq_dtau
 
RowMatrixXs ddq_dv
 
RowMatrixXs dlambda_dq
 
RowMatrixXs dlambda_dtau
 
RowMatrixXs dlambda_dv
 
VectorXs lambda_c
 

Protected Attributes

ADConstraintDataVector ad_contact_datas
 
ADConstraintModelVector ad_contact_models
 
ADData ad_data
 
ADFun ad_fun
 
ADFun ad_fun_derivs
 
ADModel ad_model
 
::casadi::CodeGenerator cg_generated
 
ADScalar cs_ddq
 
ADScalar cs_ddq_dq
 
ADScalar cs_ddq_dtau
 
ADScalar cs_ddq_dv
 
ADScalar cs_lambda_c
 
ADScalar cs_lambda_dq
 
ADScalar cs_lambda_dtau
 
ADScalar cs_lambda_dv
 
ADScalar cs_q
 
ADScalar cs_tau
 
ADScalar cs_v
 
ADScalar cs_v_int
 
std::string filename
 
ADFun fun
 
ADFun fun_derivs
 
std::string fun_name
 
std::vector< DMMatrixfun_output
 
std::vector< DMMatrixfun_output_derivs
 
std::string libname
 
Eigen::DenseIndex nc
 
ADConfigVectorType q_ad
 
ADConfigVectorType q_int_ad
 
std::vector< Scalarq_vec
 
ADTangentVectorType tau_ad
 
std::vector< Scalartau_vec
 
ADTangentVectorType v_ad
 
ADTangentVectorType v_int_ad
 
std::vector< Scalarv_int_vec
 
std::vector< Scalarv_vec
 
- Protected Attributes inherited from pinocchio.casadi::AutoDiffAlgoBase< _Scalar >
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. More...
 
bool build_jacobian
 Options to build or not the Jacobian of he function. More...
 
::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< DMMatrixfun_output
 
std::vector< DMMatrixfun_output_derivs
 
std::string libname
 

Detailed Description

template<typename _Scalar>
struct pinocchio.casadi::AutoDiffConstraintDynamics< _Scalar >

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

Member Typedef Documentation

◆ ADConfigVectorType

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

◆ ADConstraintData

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

◆ ADConstraintDataAllocator

template<typename _Scalar >
typedef Eigen::aligned_allocator<ADConstraintData> pinocchio.casadi::AutoDiffConstraintDynamics< _Scalar >::ADConstraintDataAllocator

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

◆ ADConstraintDataVector

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

◆ ADConstraintModel

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

◆ ADConstraintModelAllocator

template<typename _Scalar >
typedef Eigen::aligned_allocator<ADConstraintModel> pinocchio.casadi::AutoDiffConstraintDynamics< _Scalar >::ADConstraintModelAllocator

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

◆ ADConstraintModelVector

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

◆ ADFun

template<typename _Scalar >
typedef Base::ADFun pinocchio.casadi::AutoDiffConstraintDynamics< _Scalar >::ADFun

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

◆ ADScalar

template<typename _Scalar >
typedef Base::ADScalar pinocchio.casadi::AutoDiffConstraintDynamics< _Scalar >::ADScalar

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

◆ ADSVector

template<typename _Scalar >
typedef Base::ADSVector pinocchio.casadi::AutoDiffConstraintDynamics< _Scalar >::ADSVector

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

◆ ADTangentVectorType

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

◆ Base

template<typename _Scalar >
typedef AutoDiffAlgoBase<_Scalar> pinocchio.casadi::AutoDiffConstraintDynamics< _Scalar >::Base

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

◆ ConstraintData

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

◆ ConstraintDataAllocator

template<typename _Scalar >
typedef Eigen::aligned_allocator<ConstraintData> pinocchio.casadi::AutoDiffConstraintDynamics< _Scalar >::ConstraintDataAllocator

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

◆ ConstraintDataVector

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

◆ ConstraintModel

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

◆ ConstraintModelAllocator

template<typename _Scalar >
typedef Eigen::aligned_allocator<ConstraintModel> pinocchio.casadi::AutoDiffConstraintDynamics< _Scalar >::ConstraintModelAllocator

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

◆ ConstraintModelVector

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

◆ DMMatrix

template<typename _Scalar >
typedef Base::DMMatrix pinocchio.casadi::AutoDiffConstraintDynamics< _Scalar >::DMMatrix

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

◆ DMVector

template<typename _Scalar >
typedef Base::DMVector pinocchio.casadi::AutoDiffConstraintDynamics< _Scalar >::DMVector

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

◆ MatrixXs

template<typename _Scalar >
typedef Base::MatrixXs pinocchio.casadi::AutoDiffConstraintDynamics< _Scalar >::MatrixXs

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

◆ RowMatrixXs

template<typename _Scalar >
typedef Base::RowMatrixXs pinocchio.casadi::AutoDiffConstraintDynamics< _Scalar >::RowMatrixXs

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

◆ Scalar

template<typename _Scalar >
typedef Base::Scalar pinocchio.casadi::AutoDiffConstraintDynamics< _Scalar >::Scalar

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

◆ TangentVectorType

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

◆ VectorXs

template<typename _Scalar >
typedef Base::VectorXs pinocchio.casadi::AutoDiffConstraintDynamics< _Scalar >::VectorXs

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

Constructor & Destructor Documentation

◆ AutoDiffConstraintDynamics()

template<typename _Scalar >
pinocchio.casadi::AutoDiffConstraintDynamics< _Scalar >::AutoDiffConstraintDynamics ( const Model model,
const ConstraintModelVector contact_models,
const std::string &  filename = "casadi_contactDyn",
const std::string &  libname = "libcasadi_cg_contactDyn",
const std::string &  fun_name = "eval_f" 
)
inlineexplicit

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

◆ ~AutoDiffConstraintDynamics()

template<typename _Scalar >
virtual pinocchio.casadi::AutoDiffConstraintDynamics< _Scalar >::~AutoDiffConstraintDynamics ( )
inlinevirtual

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

Member Function Documentation

◆ buildMap()

template<typename _Scalar >
virtual void pinocchio.casadi::AutoDiffConstraintDynamics< _Scalar >::buildMap ( )
inlinevirtual

build the mapping Y = f(X)

Implements pinocchio.casadi::AutoDiffAlgoBase< _Scalar >.

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

◆ constraintDim()

template<typename _Scalar >
static Eigen::DenseIndex pinocchio.casadi::AutoDiffConstraintDynamics< _Scalar >::constraintDim ( const ConstraintModelVector contact_models)
inlinestatic

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

◆ evalFunction()

template<typename _Scalar >
template<typename ConfigVectorType1 , typename TangentVectorType1 , typename TangentVectorType2 >
void pinocchio.casadi::AutoDiffConstraintDynamics< _Scalar >::evalFunction ( const Eigen::MatrixBase< ConfigVectorType1 > &  q,
const Eigen::MatrixBase< TangentVectorType1 > &  v,
const Eigen::MatrixBase< TangentVectorType2 > &  tau 
)
inline

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

◆ evalJacobian()

template<typename _Scalar >
template<typename ConfigVectorType1 , typename TangentVectorType1 , typename TangentVectorType2 >
void pinocchio.casadi::AutoDiffConstraintDynamics< _Scalar >::evalJacobian ( const Eigen::MatrixBase< ConfigVectorType1 > &  q,
const Eigen::MatrixBase< TangentVectorType1 > &  v,
const Eigen::MatrixBase< TangentVectorType2 > &  tau 
)
inline

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

Member Data Documentation

◆ ad_contact_datas

template<typename _Scalar >
ADConstraintDataVector pinocchio.casadi::AutoDiffConstraintDynamics< _Scalar >::ad_contact_datas
protected

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

◆ ad_contact_models

template<typename _Scalar >
ADConstraintModelVector pinocchio.casadi::AutoDiffConstraintDynamics< _Scalar >::ad_contact_models
protected

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

◆ ad_data

template<typename _Scalar >
ADData pinocchio.casadi::AutoDiffAlgoBase< _Scalar >::ad_data
protected

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

◆ ad_fun

template<typename _Scalar >
ADFun pinocchio.casadi::AutoDiffAlgoBase< _Scalar >::ad_fun
protected

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

◆ ad_fun_derivs

template<typename _Scalar >
ADFun pinocchio.casadi::AutoDiffAlgoBase< _Scalar >::ad_fun_derivs
protected

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

◆ ad_model

template<typename _Scalar >
ADModel pinocchio.casadi::AutoDiffAlgoBase< _Scalar >::ad_model
protected

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

◆ cg_generated

template<typename _Scalar >
::casadi::CodeGenerator pinocchio.casadi::AutoDiffAlgoBase< _Scalar >::cg_generated
protected

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

◆ cs_ddq

template<typename _Scalar >
ADScalar pinocchio.casadi::AutoDiffConstraintDynamics< _Scalar >::cs_ddq
protected

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

◆ cs_ddq_dq

template<typename _Scalar >
ADScalar pinocchio.casadi::AutoDiffConstraintDynamics< _Scalar >::cs_ddq_dq
protected

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

◆ cs_ddq_dtau

template<typename _Scalar >
ADScalar pinocchio.casadi::AutoDiffConstraintDynamics< _Scalar >::cs_ddq_dtau
protected

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

◆ cs_ddq_dv

template<typename _Scalar >
ADScalar pinocchio.casadi::AutoDiffConstraintDynamics< _Scalar >::cs_ddq_dv
protected

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

◆ cs_lambda_c

template<typename _Scalar >
ADScalar pinocchio.casadi::AutoDiffConstraintDynamics< _Scalar >::cs_lambda_c
protected

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

◆ cs_lambda_dq

template<typename _Scalar >
ADScalar pinocchio.casadi::AutoDiffConstraintDynamics< _Scalar >::cs_lambda_dq
protected

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

◆ cs_lambda_dtau

template<typename _Scalar >
ADScalar pinocchio.casadi::AutoDiffConstraintDynamics< _Scalar >::cs_lambda_dtau
protected

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

◆ cs_lambda_dv

template<typename _Scalar >
ADScalar pinocchio.casadi::AutoDiffConstraintDynamics< _Scalar >::cs_lambda_dv
protected

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

◆ cs_q

template<typename _Scalar >
ADScalar pinocchio.casadi::AutoDiffConstraintDynamics< _Scalar >::cs_q
protected

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

◆ cs_tau

template<typename _Scalar >
ADScalar pinocchio.casadi::AutoDiffConstraintDynamics< _Scalar >::cs_tau
protected

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

◆ cs_v

template<typename _Scalar >
ADScalar pinocchio.casadi::AutoDiffConstraintDynamics< _Scalar >::cs_v
protected

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

◆ cs_v_int

template<typename _Scalar >
ADScalar pinocchio.casadi::AutoDiffConstraintDynamics< _Scalar >::cs_v_int
protected

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

◆ ddq

template<typename _Scalar >
TangentVectorType pinocchio.casadi::AutoDiffConstraintDynamics< _Scalar >::ddq

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

◆ ddq_dq

template<typename _Scalar >
RowMatrixXs pinocchio.casadi::AutoDiffConstraintDynamics< _Scalar >::ddq_dq

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

◆ ddq_dtau

template<typename _Scalar >
RowMatrixXs pinocchio.casadi::AutoDiffConstraintDynamics< _Scalar >::ddq_dtau

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

◆ ddq_dv

template<typename _Scalar >
RowMatrixXs pinocchio.casadi::AutoDiffConstraintDynamics< _Scalar >::ddq_dv

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

◆ dlambda_dq

template<typename _Scalar >
RowMatrixXs pinocchio.casadi::AutoDiffConstraintDynamics< _Scalar >::dlambda_dq

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

◆ dlambda_dtau

template<typename _Scalar >
RowMatrixXs pinocchio.casadi::AutoDiffConstraintDynamics< _Scalar >::dlambda_dtau

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

◆ dlambda_dv

template<typename _Scalar >
RowMatrixXs pinocchio.casadi::AutoDiffConstraintDynamics< _Scalar >::dlambda_dv

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

◆ filename

template<typename _Scalar >
std::string pinocchio.casadi::AutoDiffAlgoBase< _Scalar >::filename
protected

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

◆ fun

template<typename _Scalar >
ADFun pinocchio.casadi::AutoDiffAlgoBase< _Scalar >::fun
protected

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

◆ fun_derivs

template<typename _Scalar >
ADFun pinocchio.casadi::AutoDiffAlgoBase< _Scalar >::fun_derivs
protected

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

◆ fun_name

template<typename _Scalar >
std::string pinocchio.casadi::AutoDiffAlgoBase< _Scalar >::fun_name
protected

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

◆ fun_output

template<typename _Scalar >
std::vector<DMMatrix> pinocchio.casadi::AutoDiffAlgoBase< _Scalar >::fun_output
protected

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

◆ fun_output_derivs

template<typename _Scalar >
std::vector<DMMatrix> pinocchio.casadi::AutoDiffAlgoBase< _Scalar >::fun_output_derivs
protected

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

◆ lambda_c

template<typename _Scalar >
VectorXs pinocchio.casadi::AutoDiffConstraintDynamics< _Scalar >::lambda_c

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

◆ libname

template<typename _Scalar >
std::string pinocchio.casadi::AutoDiffAlgoBase< _Scalar >::libname
protected

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

◆ nc

template<typename _Scalar >
Eigen::DenseIndex pinocchio.casadi::AutoDiffConstraintDynamics< _Scalar >::nc
protected

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

◆ q_ad

template<typename _Scalar >
ADConfigVectorType pinocchio.casadi::AutoDiffConstraintDynamics< _Scalar >::q_ad
protected

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

◆ q_int_ad

template<typename _Scalar >
ADConfigVectorType pinocchio.casadi::AutoDiffConstraintDynamics< _Scalar >::q_int_ad
protected

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

◆ q_vec

template<typename _Scalar >
std::vector<Scalar> pinocchio.casadi::AutoDiffConstraintDynamics< _Scalar >::q_vec
protected

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

◆ tau_ad

template<typename _Scalar >
ADTangentVectorType pinocchio.casadi::AutoDiffConstraintDynamics< _Scalar >::tau_ad
protected

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

◆ tau_vec

template<typename _Scalar >
std::vector<Scalar> pinocchio.casadi::AutoDiffConstraintDynamics< _Scalar >::tau_vec
protected

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

◆ v_ad

template<typename _Scalar >
ADTangentVectorType pinocchio.casadi::AutoDiffConstraintDynamics< _Scalar >::v_ad
protected

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

◆ v_int_ad

template<typename _Scalar >
ADTangentVectorType pinocchio.casadi::AutoDiffConstraintDynamics< _Scalar >::v_int_ad
protected

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

◆ v_int_vec

template<typename _Scalar >
std::vector<Scalar> pinocchio.casadi::AutoDiffConstraintDynamics< _Scalar >::v_int_vec
protected

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

◆ v_vec

template<typename _Scalar >
std::vector<Scalar> pinocchio.casadi::AutoDiffConstraintDynamics< _Scalar >::v_vec
protected

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


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


pinocchio
Author(s):
autogenerated on Sun Dec 22 2024 03:41:15