14#include <boost/fusion/container/vector.hpp> 16#include "pinocchio/macros.hpp" 17#include "pinocchio/fwd.hpp" 19#include "pinocchio/math.hpp" 21#include "pinocchio/spatial.hpp" 23#include "pinocchio/multibody.hpp" 24#include "pinocchio/multibody/joint.hpp" 25#include "pinocchio/multibody/visitor.hpp" 27#include "pinocchio/algorithm/check.hpp" 28#include "pinocchio/algorithm/kinematics.hpp" 48 template<
typename Scalar,
int Options,
template<
typename,
int>
class JointCollectionTpl>
50 const ModelTpl<Scalar, Options, JointCollectionTpl> & model,
51 DataTpl<Scalar, Options, JointCollectionTpl> & data);
74 template<
typename,
int>
class JointCollectionTpl,
75 typename ConfigVectorType,
76 typename TangentVectorType>
78 const ModelTpl<Scalar, Options, JointCollectionTpl> & model,
79 DataTpl<Scalar, Options, JointCollectionTpl> & data,
80 const Eigen::MatrixBase<ConfigVectorType> & q,
81 const Eigen::MatrixBase<TangentVectorType> & v);
100 template<
typename Scalar,
int Options,
template<
typename,
int>
class JointCollectionTpl>
101 const typename DataTpl<Scalar, Options, JointCollectionTpl>::Force &
103 const ModelTpl<Scalar, Options, JointCollectionTpl> & model,
104 DataTpl<Scalar, Options, JointCollectionTpl> & data);
132 template<
typename,
int>
class JointCollectionTpl,
133 typename ConfigVectorType,
134 typename TangentVectorType1,
135 typename TangentVectorType2>
136 const typename DataTpl<Scalar, Options, JointCollectionTpl>::Force &
138 const ModelTpl<Scalar, Options, JointCollectionTpl> & model,
139 DataTpl<Scalar, Options, JointCollectionTpl> & data,
140 const Eigen::MatrixBase<ConfigVectorType> & q,
141 const Eigen::MatrixBase<TangentVectorType1> & v,
142 const Eigen::MatrixBase<TangentVectorType2> & a);
166 template<
typename,
int>
class JointCollectionTpl,
167 typename ConfigVectorType,
168 typename TangentVectorType>
169 const typename DataTpl<Scalar, Options, JointCollectionTpl>::Matrix6x &
ccrba(
170 const ModelTpl<Scalar, Options, JointCollectionTpl> & model,
171 DataTpl<Scalar, Options, JointCollectionTpl> & data,
172 const Eigen::MatrixBase<ConfigVectorType> & q,
173 const Eigen::MatrixBase<TangentVectorType> & v);
193 template<
typename,
int>
class JointCollectionTpl,
194 typename ConfigVectorType>
196 const ModelTpl<Scalar, Options, JointCollectionTpl> & model,
197 DataTpl<Scalar, Options, JointCollectionTpl> & data,
198 const Eigen::MatrixBase<ConfigVectorType> & q);
225 template<
typename,
int>
class JointCollectionTpl,
226 typename ConfigVectorType,
227 typename TangentVectorType>
228 const typename DataTpl<Scalar, Options, JointCollectionTpl>::Matrix6x &
dccrba(
229 const ModelTpl<Scalar, Options, JointCollectionTpl> & model,
230 DataTpl<Scalar, Options, JointCollectionTpl> & data,
231 const Eigen::MatrixBase<ConfigVectorType> & q,
232 const Eigen::MatrixBase<TangentVectorType> & v);
255 template<
typename,
int>
class JointCollectionTpl,
256 typename ConfigVectorType,
257 typename TangentVectorType>
258 const typename DataTpl<Scalar, Options, JointCollectionTpl>::Matrix6x &
260 const ModelTpl<Scalar, Options, JointCollectionTpl> & model,
261 DataTpl<Scalar, Options, JointCollectionTpl> & data,
262 const Eigen::MatrixBase<ConfigVectorType> & q,
263 const Eigen::MatrixBase<TangentVectorType> & v);
268#include "pinocchio/src/algorithm/centroidal.hxx" Main pinocchio namespace.
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.
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 ...
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 & 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 >::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...
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...