expose-impulse-dynamics-derivatives.cpp
Go to the documentation of this file.
1 //
2 // Copyright (c) 2020-2021 CNRS INRIA
3 //
4 
9 
10 namespace bp = boost::python;
11 
12 namespace pinocchio
13 {
14  namespace python
15  {
16 
18  RigidConstraintModelVector;
20  RigidConstraintDataVector;
21 
23  const context::Model & model,
25  const RigidConstraintModelVector & contact_models,
26  RigidConstraintDataVector & contact_datas,
27  const context::Scalar & r_coeff,
29  {
32  return;
33  }
34 
36  {
37  bp::def(
38  "computeImpulseDynamicsDerivatives", impulseDynamicsDerivatives_proxy,
39  (bp::arg("model"), bp::arg("data"), bp::arg("contact_models"), bp::arg("contact_datas"),
40  bp::arg("r_coeff") = 0, bp::arg("prox_settings") = context::ProximalSettings()),
41  "Computes the impulse dynamics derivatives with contact constraints according to a "
42  "given list of Contact information.\n"
43  "impulseDynamics should have been called before.");
44  }
45  } // namespace python
46 } // namespace pinocchio
boost::python
pinocchio::python::impulseDynamicsDerivatives_proxy
static void impulseDynamicsDerivatives_proxy(const context::Model &model, context::Data &data, const RigidConstraintModelVector &contact_models, RigidConstraintDataVector &contact_datas, const context::Scalar &r_coeff, const context::ProximalSettings &prox_settings)
Definition: expose-impulse-dynamics-derivatives.cpp:22
pinocchio::python::context::RigidConstraintData
RigidConstraintDataTpl< Scalar, Options > RigidConstraintData
Definition: bindings/python/context/generic.hpp:146
pinocchio::DataTpl
Definition: context/generic.hpp:25
setup.data
data
Definition: cmake/cython/setup.in.py:48
impulse-dynamics-derivatives.hpp
bindings_dynamics.r_coeff
float r_coeff
Definition: bindings_dynamics.py:10
simulation-contact-dynamics.contact_datas
list contact_datas
Definition: simulation-contact-dynamics.py:60
proximal.hpp
pinocchio::ProximalSettingsTpl
Structure containing all the settings parameters for the proximal algorithms.
Definition: algorithm/fwd.hpp:13
algorithms.hpp
python
pinocchio::computeImpulseDynamicsDerivatives
void computeImpulseDynamicsDerivatives(const ModelTpl< Scalar, Options, JointCollectionTpl > &model, DataTpl< Scalar, Options, JointCollectionTpl > &data, const std::vector< RigidConstraintModelTpl< Scalar, Options >, ConstraintModelAllocator > &contact_models, std::vector< RigidConstraintDataTpl< Scalar, Options >, ConstraintDataAllocator > &contact_data, const Scalar r_coeff, const ProximalSettingsTpl< Scalar > &settings, const Eigen::MatrixBase< MatrixType1 > &dvimpulse_partial_dq, const Eigen::MatrixBase< MatrixType2 > &dvimpulse_partial_dv, const Eigen::MatrixBase< MatrixType3 > &impulse_partial_dq, const Eigen::MatrixBase< MatrixType4 > &impulse_partial_dv)
pinocchio::python::exposeImpulseDynamicsDerivatives
void exposeImpulseDynamicsDerivatives()
Definition: expose-impulse-dynamics-derivatives.cpp:35
pinocchio::python::PINOCCHIO_STD_VECTOR_WITH_EIGEN_ALLOCATOR
typedef PINOCCHIO_STD_VECTOR_WITH_EIGEN_ALLOCATOR(context::RigidConstraintModel) RigidConstraintModelVector
contact-cholesky.contact_models
list contact_models
Definition: contact-cholesky.py:22
std-vector.hpp
pinocchio::ModelTpl
Definition: context/generic.hpp:20
simulation-closed-kinematic-chains.prox_settings
prox_settings
Definition: simulation-closed-kinematic-chains.py:163
pinocchio::python::context::RigidConstraintModel
RigidConstraintModelTpl< Scalar, Options > RigidConstraintModel
Definition: bindings/python/context/generic.hpp:145
pinocchio::python::context::Scalar
PINOCCHIO_PYTHON_SCALAR_TYPE Scalar
Definition: bindings/python/context/generic.hpp:37
pinocchio::model
JointCollectionTpl & model
Definition: joint-configuration.hpp:1082
pinocchio
Main pinocchio namespace.
Definition: timings.cpp:27


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