Go to the documentation of this file.
23 RigidConstraintModelVector;
25 RigidConstraintDataVector;
27 #ifndef PINOCCHIO_PYTHON_SKIP_ALGORITHM_CONSTRAINED_DYNAMICS
55 #endif // PINOCCHIO_PYTHON_SKIP_ALGORITHM_CONSTRAINED_DYNAMICS
59 using namespace Eigen;
62 if (!register_symbolic_link_to_registered_type<ContactType>())
64 bp::enum_<ContactType>(
"ContactType")
79 #ifndef PINOCCHIO_PYTHON_SKIP_ALGORITHM_CONSTRAINED_DYNAMICS
83 "initConstraintDynamics",
86 typename RigidConstraintModelVector::allocator_type>,
87 bp::args(
"model",
"data",
"contact_models"),
88 "This function allows to allocate the memory before hand for contact dynamics algorithms.\n"
89 "This allows to avoid online memory allocation when running these algorithms.");
94 "model",
"data",
"q",
"v",
"tau",
"contact_models",
"contact_datas",
"prox_settings"),
95 "Computes the forward dynamics with contact constraints according to a given list of "
96 "Contact information.\n"
97 "When using constraintDynamics for the first time, you should call first "
98 "initConstraintDynamics to initialize the internal memory used in the algorithm.\n"
99 "This function returns joint acceleration of the system. The contact forces are "
100 "stored in the list data.contact_forces.");
104 bp::args(
"model",
"data",
"q",
"v",
"tau",
"contact_models",
"contact_datas"),
105 "Computes the forward dynamics with contact constraints according to a given list of "
106 "Contact information.\n"
107 "When using constraintDynamics for the first time, you should call first "
108 "initConstraintDynamics to initialize the internal memory used in the algorithm.\n"
109 "This function returns joint acceleration of the system. The contact forces are "
110 "stored in the list data.contact_forces.");
112 #endif // PINOCCHIO_PYTHON_SKIP_ALGORITHM_CONSTRAINED_DYNAMICS
static const context::VectorXs constraintDynamics_proxy(const context::Model &model, context::Data &data, const context::VectorXs &q, const context::VectorXs &v, const context::VectorXs &tau, const RigidConstraintModelVector &contact_models, RigidConstraintDataVector &contact_datas, context::ProximalSettings &prox_settings)
RigidConstraintDataTpl< Scalar, Options > RigidConstraintData
@ CONTACT_UNDEFINED
 
static const context::VectorXs constraintDynamics_proxy_default(const context::Model &model, context::Data &data, const context::VectorXs &q, const context::VectorXs &v, const context::VectorXs &tau, const RigidConstraintModelVector &contact_models, RigidConstraintDataVector &contact_datas)
@ CONTACT_6D
Point contact model.
Eigen::Matrix< Scalar, Eigen::Dynamic, 1, Options > VectorXs
Structure containing all the settings parameters for the proximal algorithms.
void exposeConstraintDynamics()
void initConstraintDynamics(const ModelTpl< Scalar, Options, JointCollectionTpl > &model, DataTpl< Scalar, Options, JointCollectionTpl > &data, const std::vector< RigidConstraintModelTpl< Scalar, Options >, Allocator > &contact_models)
Init the forward dynamics data according to the contact information contained in contact_models.
JointCollectionTpl const Eigen::MatrixBase< ConfigVectorType > & q
static void expose(const std::string &class_name, const bp::def_visitor< DerivedVisitor > &visitor)
typedef PINOCCHIO_STD_VECTOR_WITH_EIGEN_ALLOCATOR(context::RigidConstraintModel) RigidConstraintModelVector
const DataTpl< Scalar, Options, JointCollectionTpl >::TangentVectorType & constraintDynamics(const ModelTpl< Scalar, Options, JointCollectionTpl > &model, DataTpl< Scalar, Options, JointCollectionTpl > &data, const Eigen::MatrixBase< ConfigVectorType > &q, const Eigen::MatrixBase< TangentVectorType1 > &v, const Eigen::MatrixBase< TangentVectorType2 > &tau, const std::vector< RigidConstraintModelTpl< Scalar, Options >, ConstraintModelAllocator > &contact_models, std::vector< RigidConstraintDataTpl< Scalar, Options >, ConstraintDataAllocator > &contact_datas, ProximalSettingsTpl< Scalar > &settings)
Computes the forward dynamics with contact constraints according to a given list of contact informati...
RigidConstraintModelTpl< Scalar, Options > RigidConstraintModel
PINOCCHIO_PYTHON_SCALAR_TYPE Scalar
JointCollectionTpl & model
Main pinocchio namespace.
pinocchio
Author(s):
autogenerated on Thu Dec 19 2024 03:41:29