expose-kinematic-regressor.cpp
Go to the documentation of this file.
1 //
2 // Copyright (c) 2020 INRIA
3 //
5 
8 
9 namespace pinocchio
10 {
11  namespace python
12  {
13 
15  {
16  typedef context::Scalar Scalar;
17  enum
18  {
20  };
21 
22  bp::def(
23  "computeJointKinematicRegressor",
25  const context::Model &, const context::Data &, const JointIndex, const ReferenceFrame,
26  const context::
27  SE3 &))&computeJointKinematicRegressor<Scalar, Options, JointCollectionDefaultTpl>,
28  bp::args("model", "data", "joint_id", "reference_frame", "placement"),
29  "Computes the kinematic regressor that links the joint placements variations of the whole "
30  "kinematic tree to the placement variation of the frame rigidly attached to the joint and "
31  "given by its placement w.r.t. to the joint frame.\n\n"
32  "Parameters:\n"
33  "\tmodel: model of the kinematic tree\n"
34  "\tdata: data related to the model\n"
35  "\tjoint_id: index of the joint\n"
36  "\treference_frame: reference frame in which the result is expressed (LOCAL, "
37  "LOCAL_WORLD_ALIGNED or WORLD)\n"
38  "\tplacement: relative placement to the joint frame\n",
40 
41  bp::def(
42  "computeJointKinematicRegressor",
44  const context::Model &, const context::Data &, const JointIndex,
45  const ReferenceFrame))&computeJointKinematicRegressor<Scalar, Options, JointCollectionDefaultTpl>,
46  bp::args("model", "data", "joint_id", "reference_frame"),
47  "Computes the kinematic regressor that links the joint placement variations of the "
48  "whole kinematic tree to the placement variation of the joint given as input.\n\n"
49  "Parameters:\n"
50  "\tmodel: model of the kinematic tree\n"
51  "\tdata: data related to the model\n"
52  "\tjoint_id: index of the joint\n"
53  "\treference_frame: reference frame in which the result is expressed (LOCAL, "
54  "LOCAL_WORLD_ALIGNED or WORLD)\n",
56 
57  bp::def(
58  "computeFrameKinematicRegressor",
60  const context::Model &, context::Data &, const FrameIndex,
61  const ReferenceFrame))&computeFrameKinematicRegressor<Scalar, Options, JointCollectionDefaultTpl>,
62  bp::args("model", "data", "frame_id", "reference_frame"),
63  "Computes the kinematic regressor that links the joint placement variations of the "
64  "whole kinematic tree to the placement variation of the frame given as input.\n\n"
65  "Parameters:\n"
66  "\tmodel: model of the kinematic tree\n"
67  "\tdata: data related to the model\n"
68  "\tframe_id: index of the frame\n"
69  "\treference_frame: reference frame in which the result is expressed (LOCAL, "
70  "LOCAL_WORLD_ALIGNED or WORLD)\n",
72  }
73 
74  } // namespace python
75 } // namespace pinocchio
pinocchio::FrameIndex
Index FrameIndex
Definition: multibody/fwd.hpp:28
pinocchio::DataTpl
Definition: context/generic.hpp:25
pinocchio::python::exposeKinematicRegressor
void exposeKinematicRegressor()
Definition: expose-kinematic-regressor.cpp:14
pinocchio::ReferenceFrame
ReferenceFrame
Various conventions to express the velocity of a moving frame.
Definition: multibody/fwd.hpp:46
pinocchio::SE3
context::SE3 SE3
Definition: spatial/fwd.hpp:59
pinocchio::python::Options
@ Options
Definition: expose-contact-inverse-dynamics.cpp:24
pinocchio::python::Scalar
context::Scalar Scalar
Definition: admm-solver.cpp:29
pinocchio::python::context::Options
@ Options
Definition: bindings/python/context/generic.hpp:40
algorithms.hpp
regressor.hpp
python
pinocchio::python::mimic_not_supported_function
Definition: model-checker.hpp:22
pinocchio::JointIndex
Index JointIndex
Definition: multibody/fwd.hpp:26
pinocchio::DataTpl::Matrix6x
Eigen::Matrix< Scalar, 6, Eigen::Dynamic, Options > Matrix6x
The 6d jacobian type (temporary)
Definition: multibody/data.hpp:92
model-checker.hpp
pinocchio::ModelTpl
Definition: context/generic.hpp:20
pinocchio::python::context::Scalar
PINOCCHIO_PYTHON_SCALAR_TYPE Scalar
Definition: bindings/python/context/generic.hpp:37
pinocchio
Main pinocchio namespace.
Definition: timings.cpp:33


pinocchio
Author(s):
autogenerated on Wed Apr 16 2025 02:41:46