src/algorithm/model.cpp
Go to the documentation of this file.
1 //
2 // Copyright (c) 2022 INRIA
3 //
4 
6 
7 #ifndef PINOCCHIO_SKIP_ALGORITHM_MODEL
8 
10 
11 namespace pinocchio
12 {
13 
14  template PINOCCHIO_EXPLICIT_INSTANTIATION_DEFINITION_DLLAPI void
15  appendModel<context::Scalar, context::Options, JointCollectionDefaultTpl>(
16  const context::Model &,
17  const context::Model &,
18  const FrameIndex,
19  const SE3Tpl<context::Scalar, context::Options> &,
20  context::Model &);
21 
22  template PINOCCHIO_EXPLICIT_INSTANTIATION_DEFINITION_DLLAPI context::Model
23  appendModel<context::Scalar, context::Options, JointCollectionDefaultTpl>(
24  const context::Model &,
25  const context::Model &,
26  const FrameIndex,
27  const SE3Tpl<context::Scalar, context::Options> &);
28 
29  template PINOCCHIO_EXPLICIT_INSTANTIATION_DEFINITION_DLLAPI void
30  appendModel<context::Scalar, context::Options, JointCollectionDefaultTpl>(
31  const context::Model &,
32  const context::Model &,
33  const GeometryModel &,
34  const GeometryModel &,
35  const FrameIndex,
36  const SE3Tpl<context::Scalar, context::Options> &,
38  GeometryModel &);
39 
40  template PINOCCHIO_EXPLICIT_INSTANTIATION_DEFINITION_DLLAPI void buildReducedModel<
43  JointCollectionDefaultTpl,
45  const context::Model &,
46  const std::vector<JointIndex>,
47  const Eigen::MatrixBase<context::VectorXs> &,
48  context::Model &);
49 
50  template PINOCCHIO_EXPLICIT_INSTANTIATION_DEFINITION_DLLAPI context::Model buildReducedModel<
53  JointCollectionDefaultTpl,
55  const context::Model &,
56  const std::vector<JointIndex> &,
57  const Eigen::MatrixBase<context::VectorXs> &);
58 
59  template PINOCCHIO_EXPLICIT_INSTANTIATION_DEFINITION_DLLAPI void buildReducedModel<
62  JointCollectionDefaultTpl,
64  const context::Model &,
65  const GeometryModel &,
66  const std::vector<JointIndex> &,
67  const Eigen::MatrixBase<context::VectorXs> &,
69  GeometryModel &);
70 
71  template PINOCCHIO_EXPLICIT_INSTANTIATION_DEFINITION_DLLAPI void buildReducedModel<
74  JointCollectionDefaultTpl,
75  Eigen::aligned_allocator<GeometryModel>,
77  const context::Model &,
78  const std::vector<GeometryModel, Eigen::aligned_allocator<GeometryModel>> &,
79  const std::vector<JointIndex> &,
80  const Eigen::MatrixBase<context::VectorXs> &,
82  std::vector<GeometryModel, Eigen::aligned_allocator<GeometryModel>> &);
83 
84  template PINOCCHIO_EXPLICIT_INSTANTIATION_DEFINITION_DLLAPI JointIndex
85  findCommonAncestor<context::Scalar, context::Options, JointCollectionDefaultTpl>(
86  const context::Model &, JointIndex, JointIndex, size_t &, size_t &);
87 } // namespace pinocchio
88 
89 #endif // PINOCCHIO_SKIP_ALGORITHM_MODEL
pinocchio::context::Model
ModelTpl< Scalar, Options > Model
Definition: context/generic.hpp:56
pinocchio::FrameIndex
Index FrameIndex
Definition: multibody/fwd.hpp:28
fwd.hpp
model.hpp
pinocchio::buildReducedModel
void buildReducedModel(const ModelTpl< Scalar, Options, JointCollectionTpl > &model, std::vector< JointIndex > list_of_joints_to_lock, const Eigen::MatrixBase< ConfigVectorType > &reference_configuration, ModelTpl< Scalar, Options, JointCollectionTpl > &reduced_model)
Build a reduced model from a given input model and a list of joint to lock.
pinocchio::context::VectorXs
Eigen::Matrix< Scalar, Eigen::Dynamic, 1, Options > VectorXs
Definition: context/generic.hpp:47
pinocchio::context::Options
@ Options
Definition: context/generic.hpp:45
pinocchio::JointIndex
Index JointIndex
Definition: multibody/fwd.hpp:26
pinocchio::context::Scalar
PINOCCHIO_SCALAR_TYPE Scalar
Definition: context/generic.hpp:42
pinocchio
Main pinocchio namespace.
Definition: timings.cpp:27


pinocchio
Author(s):
autogenerated on Fri Nov 1 2024 02:41:47