5 #ifndef __pinocchio_algorithm_centroidal_hpp__ 6 #define __pinocchio_algorithm_centroidal_hpp__ 8 #include "pinocchio/multibody/model.hpp" 9 #include "pinocchio/multibody/data.hpp" 10 #include "pinocchio/algorithm/kinematics.hpp" 28 template<
typename Scalar,
int Options,
template<
typename,
int>
class JointCollectionTpl>
29 inline const typename DataTpl<Scalar,Options,JointCollectionTpl>::Force &
31 DataTpl<Scalar,Options,JointCollectionTpl> & data);
50 template<
typename Scalar,
int Options,
template<
typename,
int>
class JointCollectionTpl,
51 typename ConfigVectorType,
typename TangentVectorType>
52 inline const typename DataTpl<Scalar,Options,JointCollectionTpl>::Force &
55 const Eigen::MatrixBase<ConfigVectorType> & q,
56 const Eigen::MatrixBase<TangentVectorType> & v)
66 template<
typename Scalar,
int Options,
template<
typename,
int>
class JointCollectionTpl,
67 typename ConfigVectorType,
typename TangentVectorType>
72 const Eigen::MatrixBase<ConfigVectorType> & q,
73 const Eigen::MatrixBase<TangentVectorType> & v)
91 template<
typename Scalar,
int Options,
template<
typename,
int>
class JointCollectionTpl>
115 template<
typename Scalar,
int Options,
template<
typename,
int>
class JointCollectionTpl,
116 typename ConfigVectorType,
typename TangentVectorType1,
typename TangentVectorType2>
120 const Eigen::MatrixBase<ConfigVectorType> & q,
121 const Eigen::MatrixBase<TangentVectorType1> & v,
122 const Eigen::MatrixBase<TangentVectorType2> & a)
132 template<
typename Scalar,
int Options,
template<
typename,
int>
class JointCollectionTpl,
133 typename ConfigVectorType,
typename TangentVectorType1,
typename TangentVectorType2>
138 const Eigen::MatrixBase<ConfigVectorType> & q,
139 const Eigen::MatrixBase<TangentVectorType1> & v,
140 const Eigen::MatrixBase<TangentVectorType2> & a)
162 template<
typename Scalar,
int Options,
template<
typename,
int>
class JointCollectionTpl,
typename ConfigVectorType,
typename TangentVectorType>
166 const Eigen::MatrixBase<ConfigVectorType> & q,
167 const Eigen::MatrixBase<TangentVectorType> & v);
183 template<
typename Scalar,
int Options,
template<
typename,
int>
class JointCollectionTpl,
typename ConfigVectorType>
187 const Eigen::MatrixBase<ConfigVectorType> & q);
207 template<
typename Scalar,
int Options,
template<
typename,
int>
class JointCollectionTpl,
typename ConfigVectorType,
typename TangentVectorType>
211 const Eigen::MatrixBase<ConfigVectorType> & q,
212 const Eigen::MatrixBase<TangentVectorType> & v);
230 template<
typename Scalar,
int Options,
template<
typename,
int>
class JointCollectionTpl,
typename ConfigVectorType,
typename TangentVectorType>
234 const Eigen::MatrixBase<ConfigVectorType> & q,
235 const Eigen::MatrixBase<TangentVectorType> & v);
240 #include "pinocchio/algorithm/centroidal.hxx" 242 #endif // ifndef __pinocchio_algorithm_centroidal_hpp__ const DataTpl< Scalar, Options, JointCollectionTpl >::Matrix6x & computeCentroidalMapTimeVariation(const ModelTpl< Scalar, Options, JointCollectionTpl > &model, DataTpl< Scalar, Options, JointCollectionTpl > &data, const Eigen::MatrixBase< ConfigVectorType > &q, const Eigen::MatrixBase< TangentVectorType > &v)
Computes the Centroidal Momentum Matrix time derivative.
const DataTpl< Scalar, Options, JointCollectionTpl >::Matrix6x & computeCentroidalMap(const ModelTpl< Scalar, Options, JointCollectionTpl > &model, DataTpl< Scalar, Options, JointCollectionTpl > &data, const Eigen::MatrixBase< ConfigVectorType > &q)
Computes the Centroidal Momentum Matrix,.
Eigen::Matrix< Scalar, 6, Eigen::Dynamic, Options > Matrix6x
The 6d jacobian type (temporary)
const DataTpl< Scalar, Options, JointCollectionTpl >::Force & computeCentroidalMomentumTimeVariation(const ModelTpl< Scalar, Options, JointCollectionTpl > &model, DataTpl< Scalar, Options, JointCollectionTpl > &data)
Computes the Centroidal momemtum and its time derivatives, a.k.a. the total momenta of the system and...
PINOCCHIO_DEPRECATED const DataTpl< Scalar, Options, JointCollectionTpl >::Force & computeCentroidalDynamics(const ModelTpl< Scalar, Options, JointCollectionTpl > &model, DataTpl< Scalar, Options, JointCollectionTpl > &data, const Eigen::MatrixBase< ConfigVectorType > &q, const Eigen::MatrixBase< TangentVectorType > &v)
Computes the Centroidal momentum, a.k.a. the total momenta of the system expressed around the center ...
const DataTpl< Scalar, Options, JointCollectionTpl >::Force & computeCentroidalMomentum(const ModelTpl< Scalar, Options, JointCollectionTpl > &model, DataTpl< Scalar, Options, JointCollectionTpl > &data)
Computes the Centroidal momentum, a.k.a. the total momenta of the system expressed around the center ...
void forwardKinematics(const ModelTpl< Scalar, Options, JointCollectionTpl > &model, DataTpl< Scalar, Options, JointCollectionTpl > &data, const Eigen::MatrixBase< ConfigVectorType > &q)
Update the joint placements according to the current joint configuration.
const DataTpl< Scalar, Options, JointCollectionTpl >::Matrix6x & dccrba(const ModelTpl< Scalar, Options, JointCollectionTpl > &model, DataTpl< Scalar, Options, JointCollectionTpl > &data, const Eigen::MatrixBase< ConfigVectorType > &q, const Eigen::MatrixBase< TangentVectorType > &v)
Computes the time derivative of the Centroidal Momentum Matrix according to the current configuration...
const DataTpl< Scalar, Options, JointCollectionTpl >::Matrix6x & ccrba(const ModelTpl< Scalar, Options, JointCollectionTpl > &model, DataTpl< Scalar, Options, JointCollectionTpl > &data, const Eigen::MatrixBase< ConfigVectorType > &q, const Eigen::MatrixBase< TangentVectorType > &v)
Computes the Centroidal Momentum Matrix, the Composite Ridig Body Inertia as well as the centroidal m...
Main pinocchio namespace.