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 void
85  transformJointIntoMimic<context::Scalar, context::Options, JointCollectionDefaultTpl>(
86  const context::Model &,
87  const JointIndex &,
88  const JointIndex &,
89  const context::Scalar &,
90  const context::Scalar &,
91  context::Model &);
92 
93  template PINOCCHIO_EXPLICIT_INSTANTIATION_DEFINITION_DLLAPI void
94  buildMimicModel<context::Scalar, context::Options, JointCollectionDefaultTpl>(
95  const context::Model &,
96  const std::vector<JointIndex> &,
97  const std::vector<JointIndex> &,
98  const std::vector<context::Scalar> &,
99  const std::vector<context::Scalar> &,
100  context::Model &);
101 
102  template PINOCCHIO_EXPLICIT_INSTANTIATION_DEFINITION_DLLAPI JointIndex
103  findCommonAncestor<context::Scalar, context::Options, JointCollectionDefaultTpl>(
104  const context::Model &, JointIndex, JointIndex, size_t &, size_t &);
105 } // namespace pinocchio
106 
107 #endif // PINOCCHIO_SKIP_ALGORITHM_MODEL
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::python::VectorXs
context::VectorXs VectorXs
Definition: admm-solver.cpp:30
pinocchio::context::Options
@ Options
Definition: context/generic.hpp:82
pinocchio::JointIndex
Index JointIndex
Definition: multibody/fwd.hpp:26
Model
pinocchio::ModelTpl< Scalar > Model
Definition: timings-cppad-jit.cpp:48
pinocchio::context::Scalar
PINOCCHIO_SCALAR_TYPE Scalar
Definition: context/generic.hpp:79
pinocchio
Main pinocchio namespace.
Definition: timings.cpp:33


pinocchio
Author(s):
autogenerated on Sat Apr 19 2025 02:41:35