5 #ifndef __pinocchio_aba_hpp__
6 #define __pinocchio_aba_hpp__
8 #include "pinocchio/multibody/model.hpp"
9 #include "pinocchio/multibody/data.hpp"
10 #include "pinocchio/algorithm/check.hpp"
32 template<
typename Scalar,
int Options,
template<
typename,
int>
class JointCollectionTpl,
typename ConfigVectorType,
typename TangentVectorType1,
typename TangentVectorType2>
34 aba(
const ModelTpl<Scalar,Options,JointCollectionTpl> & model,
35 DataTpl<Scalar,Options,JointCollectionTpl> & data,
36 const Eigen::MatrixBase<ConfigVectorType> & q,
37 const Eigen::MatrixBase<TangentVectorType1> & v,
38 const Eigen::MatrixBase<TangentVectorType2> & tau);
60 template<
typename Scalar,
int Options,
template<
typename,
int>
class JointCollectionTpl,
typename ConfigVectorType,
typename TangentVectorType1,
typename TangentVectorType2,
typename ForceDerived>
62 aba(
const ModelTpl<Scalar,Options,JointCollectionTpl> & model,
63 DataTpl<Scalar,Options,JointCollectionTpl> & data,
64 const Eigen::MatrixBase<ConfigVectorType> & q,
65 const Eigen::MatrixBase<TangentVectorType1> & v,
66 const Eigen::MatrixBase<TangentVectorType2> & tau,
67 const container::aligned_vector<ForceDerived> & fext);
82 template<
typename Scalar,
int Options,
template<
typename,
int>
class JointCollectionTpl,
typename ConfigVectorType>
83 inline const typename DataTpl<Scalar,Options,JointCollectionTpl>::RowMatrixXs &
84 computeMinverse(
const ModelTpl<Scalar,Options,JointCollectionTpl> & model,
85 DataTpl<Scalar,Options,JointCollectionTpl> & data,
86 const Eigen::MatrixBase<ConfigVectorType> & q);
89 PINOCCHIO_DEFINE_ALGO_CHECKER(ABA);
94 #include "pinocchio/algorithm/aba.hxx"
96 #endif // ifndef __pinocchio_aba_hpp__