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>
77 class JointCollectionTpl,
78 typename ConfigVectorType>
80 const ModelTpl<Scalar, Options, JointCollectionTpl> &
model,
81 DataTpl<Scalar, Options, JointCollectionTpl> &
data,
82 const Eigen::MatrixBase<ConfigVectorType> &
q,
83 const bool computeSubtreeComs =
true);
109 template<
typename,
int>
110 class JointCollectionTpl,
111 typename ConfigVectorType,
112 typename TangentVectorType>
114 const ModelTpl<Scalar, Options, JointCollectionTpl> &
model,
115 DataTpl<Scalar, Options, JointCollectionTpl> &
data,
116 const Eigen::MatrixBase<ConfigVectorType> &
q,
117 const Eigen::MatrixBase<TangentVectorType> &
v,
118 const bool computeSubtreeComs =
true);
146 template<
typename,
int>
147 class JointCollectionTpl,
148 typename ConfigVectorType,
149 typename TangentVectorType1,
150 typename TangentVectorType2>
152 const ModelTpl<Scalar, Options, JointCollectionTpl> &
model,
153 DataTpl<Scalar, Options, JointCollectionTpl> &
data,
154 const Eigen::MatrixBase<ConfigVectorType> &
q,
155 const Eigen::MatrixBase<TangentVectorType1> &
v,
156 const Eigen::MatrixBase<TangentVectorType2> &
a,
157 const bool computeSubtreeComs =
true);
175 template<
typename Scalar,
int Options,
template<
typename,
int>
class JointCollectionTpl>
177 const ModelTpl<Scalar, Options, JointCollectionTpl> &
model,
178 DataTpl<Scalar, Options, JointCollectionTpl> &
data,
180 const bool computeSubtreeComs =
true);
196 template<
typename Scalar,
int Options,
template<
typename,
int>
class JointCollectionTpl>
200 const bool computeSubtreeComs =
true)
228 template<
typename,
int>
229 class JointCollectionTpl,
230 typename ConfigVectorType>
232 const ModelTpl<Scalar, Options, JointCollectionTpl> &
model,
233 DataTpl<Scalar, Options, JointCollectionTpl> &
data,
234 const Eigen::MatrixBase<ConfigVectorType> &
q,
235 const bool computeSubtreeComs =
true);
257 template<
typename Scalar,
int Options,
template<
typename,
int>
class JointCollectionTpl>
259 const ModelTpl<Scalar, Options, JointCollectionTpl> &
model,
260 DataTpl<Scalar, Options, JointCollectionTpl> &
data,
261 const bool computeSubtreeComs =
true);
283 template<
typename,
int>
284 class JointCollectionTpl,
285 typename ConfigVectorType,
286 typename Matrix3xLike>
288 const ModelTpl<Scalar, Options, JointCollectionTpl> &
model,
289 DataTpl<Scalar, Options, JointCollectionTpl> &
data,
290 const Eigen::MatrixBase<ConfigVectorType> &
q,
292 const Eigen::MatrixBase<Matrix3xLike> &
res);
311 template<
typename,
int>
312 class JointCollectionTpl,
313 typename Matrix3xLike>
315 const ModelTpl<Scalar, Options, JointCollectionTpl> &
model,
316 DataTpl<Scalar, Options, JointCollectionTpl> &
data,
318 const Eigen::MatrixBase<Matrix3xLike> &
res);
338 template<
typename,
int>
339 class JointCollectionTpl,
340 typename Matrix3xLike>
342 const ModelTpl<Scalar, Options, JointCollectionTpl> &
model,
343 const DataTpl<Scalar, Options, JointCollectionTpl> &
data,
345 const Eigen::MatrixBase<Matrix3xLike> &
res);
365 template<
typename Scalar,
int Options,
template<
typename,
int>
class JointCollectionTpl>
367 const ModelTpl<Scalar, Options, JointCollectionTpl> &
model,
368 DataTpl<Scalar, Options, JointCollectionTpl> &
data);
385 template<
typename Scalar,
int Options,
template<
typename,
int>
class JointCollectionTpl>
387 const ModelTpl<Scalar, Options, JointCollectionTpl> &
model,
388 DataTpl<Scalar, Options, JointCollectionTpl> &
data);
395 #include "pinocchio/algorithm/center-of-mass.hxx"
397 #if PINOCCHIO_ENABLE_TEMPLATE_INSTANTIATION
398 #include "pinocchio/algorithm/center-of-mass.txx"
399 #endif // PINOCCHIO_ENABLE_TEMPLATE_INSTANTIATION
401 #endif // ifndef __pinocchio_algorithm_center_of_mass_hpp__