impulse-dynamics-derivatives.hpp
Go to the documentation of this file.
1 //
2 // Copyright (c) 2020 CNRS INRIA
3 //
4 
5 #ifndef __pinocchio_algorithm_impulse_dynamics_derivatives_hpp__
6 #define __pinocchio_algorithm_impulse_dynamics_derivatives_hpp__
7 
9 
10 namespace pinocchio
11 {
12 
13  template<
14  typename Scalar,
15  int Options,
16  template<typename, int> class JointCollectionTpl,
17  class ConstraintModelAllocator,
18  class ConstraintDataAllocator,
19  typename MatrixType1,
20  typename MatrixType2,
21  typename MatrixType3,
22  typename MatrixType4>
23  PINOCCHIO_UNSUPPORTED_MESSAGE("The API will change towards more flexibility")
25  const ModelTpl<Scalar, Options, JointCollectionTpl> & model,
26  DataTpl<Scalar, Options, JointCollectionTpl> & data,
27  const std::vector<RigidConstraintModelTpl<Scalar, Options>, ConstraintModelAllocator> &
29  std::vector<RigidConstraintDataTpl<Scalar, Options>, ConstraintDataAllocator> & contact_data,
30  const Scalar r_coeff,
31  const ProximalSettingsTpl<Scalar> & settings,
32  const Eigen::MatrixBase<MatrixType1> & dvimpulse_partial_dq,
33  const Eigen::MatrixBase<MatrixType2> & dvimpulse_partial_dv,
34  const Eigen::MatrixBase<MatrixType3> & impulse_partial_dq,
35  const Eigen::MatrixBase<MatrixType4> & impulse_partial_dv);
36 
37  template<
38  typename Scalar,
39  int Options,
40  template<typename, int> class JointCollectionTpl,
41  class ConstraintModelAllocator,
42  class ConstraintDataAllocator>
43  PINOCCHIO_UNSUPPORTED_MESSAGE("The API will change towards more flexibility")
45  const ModelTpl<Scalar, Options, JointCollectionTpl> & model,
46  DataTpl<Scalar, Options, JointCollectionTpl> & data,
47  const std::vector<RigidConstraintModelTpl<Scalar, Options>, ConstraintModelAllocator> &
49  std::vector<RigidConstraintDataTpl<Scalar, Options>, ConstraintDataAllocator> & contact_data,
50  const Scalar r_coeff,
51  const ProximalSettingsTpl<Scalar> & settings)
52  {
54  model, data, contact_models, contact_data, r_coeff, settings, data.ddq_dq, data.ddq_dv,
55  data.dlambda_dq, data.dlambda_dv);
56  };
57 
58 } // namespace pinocchio
59 
60 #include "pinocchio/algorithm/impulse-dynamics-derivatives.hxx"
61 
62 #endif // ifndef __pinocchio_algorithm_impulse_dynamics_derivatives_hpp__
Eigen
pinocchio::DataTpl
Definition: context/generic.hpp:25
pinocchio::Options
Options
Definition: joint-configuration.hpp:1082
contact-cholesky.contact_data
list contact_data
Definition: contact-cholesky.py:33
setup.data
data
Definition: cmake/cython/setup.in.py:48
pinocchio::PINOCCHIO_UNSUPPORTED_MESSAGE
struct PINOCCHIO_UNSUPPORTED_MESSAGE("The API will change towards more flexibility") ContactCholeskyDecompositionTpl
Contact Cholesky decomposition structure. This structure allows to compute in a efficient and parsimo...
Definition: algorithm/contact-cholesky.hpp:55
pinocchio::python::Scalar
context::Scalar Scalar
Definition: admm-solver.cpp:29
bindings_dynamics.r_coeff
float r_coeff
Definition: bindings_dynamics.py:10
pinocchio::ProximalSettingsTpl
Structure containing all the settings parameters for the proximal algorithms.
Definition: algorithm/fwd.hpp:13
pinocchio::RigidConstraintModelTpl
Definition: algorithm/constraints/fwd.hpp:14
pinocchio::RigidConstraintDataTpl
Definition: algorithm/constraints/fwd.hpp:16
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)
std
Definition: autodiff/casadi/utils/static-if.hpp:64
contact-cholesky.contact_models
list contact_models
Definition: contact-cholesky.py:22
contact-info.hpp
pinocchio::ModelTpl
Definition: context/generic.hpp:20
pinocchio::model
JointCollectionTpl & model
Definition: joint-configuration.hpp:1082
pinocchio
Main pinocchio namespace.
Definition: timings.cpp:27


pinocchio
Author(s):
autogenerated on Mon Dec 16 2024 03:41:02