centroidal-derivatives.hpp
Go to the documentation of this file.
1 //
2 // Copyright (c) 2018 INRIA
3 //
4 
5 #ifndef __pinocchio_algorithm_centroidal_derivatives_hpp__
6 #define __pinocchio_algorithm_centroidal_derivatives_hpp__
7 
8 #include "pinocchio/multibody/model.hpp"
9 #include "pinocchio/multibody/data.hpp"
10 #include "pinocchio/algorithm/check.hpp"
11 
12 namespace pinocchio
13 {
14 
45  template<typename Scalar, int Options, template<typename,int> class JointCollectionTpl,
46  typename ConfigVectorType, typename TangentVectorType1, typename TangentVectorType2,
47  typename Matrix6xLike0, typename Matrix6xLike1, typename Matrix6xLike2, typename Matrix6xLike3>
48  inline void
49  computeCentroidalDynamicsDerivatives(const ModelTpl<Scalar,Options,JointCollectionTpl> & model,
50  DataTpl<Scalar,Options,JointCollectionTpl> & data,
51  const Eigen::MatrixBase<ConfigVectorType> & q,
52  const Eigen::MatrixBase<TangentVectorType1> & v,
53  const Eigen::MatrixBase<TangentVectorType2> & a,
54  const Eigen::MatrixBase<Matrix6xLike0> & dh_dq,
55  const Eigen::MatrixBase<Matrix6xLike1> & dhdot_dq,
56  const Eigen::MatrixBase<Matrix6xLike2> & dhdot_dv,
57  const Eigen::MatrixBase<Matrix6xLike3> & dhdot_da);
79  template<typename Scalar, int Options, template<typename,int> class JointCollectionTpl,
80  typename Matrix6xLike0,typename Matrix6xLike1, typename Matrix6xLike2, typename Matrix6xLike3>
81  inline void
82  getCentroidalDynamicsDerivatives(const ModelTpl<Scalar,Options,JointCollectionTpl> & model,
83  DataTpl<Scalar,Options,JointCollectionTpl> & data,
84  const Eigen::MatrixBase<Matrix6xLike1> & dh_dq,
85  const Eigen::MatrixBase<Matrix6xLike1> & dhdot_dq,
86  const Eigen::MatrixBase<Matrix6xLike2> & dhdot_dv,
87  const Eigen::MatrixBase<Matrix6xLike3> & dhdot_da);
88 
89 
90 } // namespace pinocchio
91 
92 /* --- Details -------------------------------------------------------------------- */
93 #include "pinocchio/algorithm/centroidal-derivatives.hxx"
94 
95 #endif // ifndef __pinocchio_algorithm_centroidal_derivatives_hpp__
JointCollectionTpl const Eigen::MatrixBase< ConfigVectorType > const Eigen::MatrixBase< TangentVectorType > & v
void computeCentroidalDynamicsDerivatives(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 > &a, const Eigen::MatrixBase< Matrix6xLike0 > &dh_dq, const Eigen::MatrixBase< Matrix6xLike1 > &dhdot_dq, const Eigen::MatrixBase< Matrix6xLike2 > &dhdot_dv, const Eigen::MatrixBase< Matrix6xLike3 > &dhdot_da)
Computes the analytical derivatives of the centroidal dynamics with respect to the joint configuratio...
JointCollectionTpl const Eigen::MatrixBase< ConfigVectorType > & q
void getCentroidalDynamicsDerivatives(const ModelTpl< Scalar, Options, JointCollectionTpl > &model, DataTpl< Scalar, Options, JointCollectionTpl > &data, const Eigen::MatrixBase< Matrix6xLike1 > &dh_dq, const Eigen::MatrixBase< Matrix6xLike1 > &dhdot_dq, const Eigen::MatrixBase< Matrix6xLike2 > &dhdot_dv, const Eigen::MatrixBase< Matrix6xLike3 > &dhdot_da)
Retrive the analytical derivatives of the centroidal dynamics from the RNEA derivatives. pinocchio::computeRNEADerivatives should have been called first.
Main pinocchio namespace.
Definition: timings.cpp:30
JointCollectionTpl & model


pinocchio
Author(s):
autogenerated on Tue Jun 1 2021 02:45:02