impulse-dynamics.hpp
Go to the documentation of this file.
1 //
2 // Copyright (c) 2020 CNRS INRIA
3 //
4 
5 #ifndef __pinocchio_algorithm_impulse_dynamics_hpp__
6 #define __pinocchio_algorithm_impulse_dynamics_hpp__
7 
10 
12 
13 namespace pinocchio
14 {
15 
48  template<
49  typename Scalar,
50  int Options,
51  template<typename, int> class JointCollectionTpl,
52  typename ConfigVectorType,
53  typename TangentVectorType1,
54  class ConstraintModelAllocator,
55  class ConstraintDataAllocator>
56  PINOCCHIO_UNSUPPORTED_MESSAGE("The API will change towards more flexibility")
57  const typename DataTpl<Scalar, Options, JointCollectionTpl>::TangentVectorType & impulseDynamics(
58  const ModelTpl<Scalar, Options, JointCollectionTpl> & model,
59  DataTpl<Scalar, Options, JointCollectionTpl> & data,
60  const Eigen::MatrixBase<ConfigVectorType> & q,
61  const Eigen::MatrixBase<TangentVectorType1> & v_before,
62  const std::vector<RigidConstraintModelTpl<Scalar, Options>, ConstraintModelAllocator> &
64  std::vector<RigidConstraintDataTpl<Scalar, Options>, ConstraintDataAllocator> & contact_datas,
65  const Scalar r_coeff,
66  const ProximalSettingsTpl<Scalar> & settings);
67 
68 } // namespace pinocchio
69 
70 #include "pinocchio/algorithm/impulse-dynamics.hxx"
71 
72 #if PINOCCHIO_ENABLE_TEMPLATE_INSTANTIATION
73  #include "pinocchio/algorithm/impulse-dynamics.txx"
74 #endif // PINOCCHIO_ENABLE_TEMPLATE_INSTANTIATION
75 
76 #endif // ifndef __pinocchio_algorithm_impulse_dynamics_hpp__
Eigen
pinocchio::Options
Options
Definition: joint-configuration.hpp:1082
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
simulation-contact-dynamics.contact_datas
list contact_datas
Definition: simulation-contact-dynamics.py:60
proximal.hpp
pinocchio::q
JointCollectionTpl const Eigen::MatrixBase< ConfigVectorType > & q
Definition: joint-configuration.hpp:1083
std
Definition: autodiff/casadi/utils/static-if.hpp:64
pinocchio::impulseDynamics
const PINOCCHIO_DEPRECATED DataTpl< Scalar, Options, JointCollectionTpl >::TangentVectorType & impulseDynamics(const ModelTpl< Scalar, Options, JointCollectionTpl > &model, DataTpl< Scalar, Options, JointCollectionTpl > &data, const Eigen::MatrixBase< ConfigVectorType > &q, const Eigen::MatrixBase< TangentVectorType > &v_before, const Eigen::MatrixBase< ConstraintMatrixType > &J, const Scalar r_coeff=0., const Scalar inv_damping=0.)
Compute the impulse dynamics with contact constraints. Internally, pinocchio::crba is called.
contact-cholesky.contact_models
list contact_models
Definition: contact-cholesky.py:22
contact-info.hpp
constrained-dynamics.hpp
pinocchio::model
JointCollectionTpl & model
Definition: joint-configuration.hpp:1082
pinocchio
Main pinocchio namespace.
Definition: timings.cpp:27


pinocchio
Author(s):
autogenerated on Thu Dec 19 2024 03:41:29