5 #ifndef __pinocchio_algorithm_center_of_mass_hpp__
6 #define __pinocchio_algorithm_center_of_mass_hpp__
21 template<
typename Scalar,
int Options,
template<
typename,
int>
class JointCollectionTpl>
35 template<
typename Scalar,
int Options,
template<
typename,
int>
class JointCollectionTpl>
37 const ModelTpl<Scalar, Options, JointCollectionTpl> &
model,
38 DataTpl<Scalar, Options, JointCollectionTpl> &
data);
50 template<
typename Scalar,
int Options,
template<
typename,
int>
class JointCollectionTpl>
52 const ModelTpl<Scalar, Options, JointCollectionTpl> &
model,
53 DataTpl<Scalar, Options, JointCollectionTpl> &
data);
76 template<
typename,
int>
class JointCollectionTpl,
77 typename ConfigVectorType>
79 const ModelTpl<Scalar, Options, JointCollectionTpl> &
model,
80 DataTpl<Scalar, Options, JointCollectionTpl> &
data,
81 const Eigen::MatrixBase<ConfigVectorType> &
q,
82 const bool computeSubtreeComs =
true);
108 template<
typename,
int>
class JointCollectionTpl,
109 typename ConfigVectorType,
110 typename TangentVectorType>
112 const ModelTpl<Scalar, Options, JointCollectionTpl> &
model,
113 DataTpl<Scalar, Options, JointCollectionTpl> &
data,
114 const Eigen::MatrixBase<ConfigVectorType> &
q,
115 const Eigen::MatrixBase<TangentVectorType> &
v,
116 const bool computeSubtreeComs =
true);
144 template<
typename,
int>
class JointCollectionTpl,
145 typename ConfigVectorType,
146 typename TangentVectorType1,
147 typename TangentVectorType2>
149 const ModelTpl<Scalar, Options, JointCollectionTpl> &
model,
150 DataTpl<Scalar, Options, JointCollectionTpl> &
data,
151 const Eigen::MatrixBase<ConfigVectorType> &
q,
152 const Eigen::MatrixBase<TangentVectorType1> &
v,
153 const Eigen::MatrixBase<TangentVectorType2> &
a,
154 const bool computeSubtreeComs =
true);
172 template<
typename Scalar,
int Options,
template<
typename,
int>
class JointCollectionTpl>
174 const ModelTpl<Scalar, Options, JointCollectionTpl> &
model,
175 DataTpl<Scalar, Options, JointCollectionTpl> &
data,
177 const bool computeSubtreeComs =
true);
193 template<
typename Scalar,
int Options,
template<
typename,
int>
class JointCollectionTpl>
197 const bool computeSubtreeComs =
true)
225 template<
typename,
int>
class JointCollectionTpl,
226 typename ConfigVectorType>
228 const ModelTpl<Scalar, Options, JointCollectionTpl> &
model,
229 DataTpl<Scalar, Options, JointCollectionTpl> &
data,
230 const Eigen::MatrixBase<ConfigVectorType> &
q,
231 const bool computeSubtreeComs =
true);
253 template<
typename Scalar,
int Options,
template<
typename,
int>
class JointCollectionTpl>
255 const ModelTpl<Scalar, Options, JointCollectionTpl> &
model,
256 DataTpl<Scalar, Options, JointCollectionTpl> &
data,
257 const bool computeSubtreeComs =
true);
279 template<
typename,
int>
class JointCollectionTpl,
280 typename ConfigVectorType,
281 typename Matrix3xLike>
283 const ModelTpl<Scalar, Options, JointCollectionTpl> &
model,
284 DataTpl<Scalar, Options, JointCollectionTpl> &
data,
285 const Eigen::MatrixBase<ConfigVectorType> &
q,
287 const Eigen::MatrixBase<Matrix3xLike> &
res);
306 template<
typename,
int>
class JointCollectionTpl,
307 typename Matrix3xLike>
309 const ModelTpl<Scalar, Options, JointCollectionTpl> &
model,
310 DataTpl<Scalar, Options, JointCollectionTpl> &
data,
312 const Eigen::MatrixBase<Matrix3xLike> &
res);
332 template<
typename,
int>
class JointCollectionTpl,
333 typename Matrix3xLike>
335 const ModelTpl<Scalar, Options, JointCollectionTpl> &
model,
336 const DataTpl<Scalar, Options, JointCollectionTpl> &
data,
338 const Eigen::MatrixBase<Matrix3xLike> &
res);
358 template<
typename Scalar,
int Options,
template<
typename,
int>
class JointCollectionTpl>
360 const ModelTpl<Scalar, Options, JointCollectionTpl> &
model,
361 DataTpl<Scalar, Options, JointCollectionTpl> &
data);
378 template<
typename Scalar,
int Options,
template<
typename,
int>
class JointCollectionTpl>
380 const ModelTpl<Scalar, Options, JointCollectionTpl> &
model,
381 DataTpl<Scalar, Options, JointCollectionTpl> &
data);
388 #include "pinocchio/algorithm/center-of-mass.hxx"
390 #if PINOCCHIO_ENABLE_TEMPLATE_INSTANTIATION
391 #include "pinocchio/algorithm/center-of-mass.txx"
392 #endif // PINOCCHIO_ENABLE_TEMPLATE_INSTANTIATION
394 #endif // ifndef __pinocchio_algorithm_center_of_mass_hpp__