Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
x
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
f
g
i
j
l
m
n
p
q
r
s
t
u
v
x
y
z
Enumerations
Enumerator
a
b
c
e
f
g
j
l
m
o
p
r
s
u
v
w
Classes
Class List
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
p
q
r
s
t
u
v
z
Enumerations
Enumerator
a
b
c
d
f
i
l
m
n
o
r
s
u
v
Related Functions
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
Functions
a
b
c
d
e
f
g
i
j
l
m
n
o
p
q
r
s
t
u
w
Variables
a
b
c
d
e
f
g
h
i
k
l
m
o
p
r
s
t
u
v
Typedefs
a
c
d
g
j
m
p
r
s
t
v
Enumerator
Macros
_
a
b
d
e
f
h
i
j
k
m
o
p
q
r
s
v
Examples
bindings
python
algorithm
expose-kinematic-regressor.cpp
Go to the documentation of this file.
1
//
2
// Copyright (c) 2020 INRIA
3
//
4
#include "
pinocchio/bindings/python/utils/model-checker.hpp
"
5
6
#include "
pinocchio/bindings/python/algorithm/algorithms.hpp
"
7
#include "
pinocchio/algorithm/regressor.hpp
"
8
9
namespace
pinocchio
10
{
11
namespace
python
12
{
13
14
void
exposeKinematicRegressor
()
15
{
16
typedef
context::Scalar
Scalar
;
17
enum
18
{
19
Options
=
context::Options
20
};
21
22
bp::def(
23
"computeJointKinematicRegressor"
,
24
(
context::Data::Matrix6x
(*)(
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"
,
39
mimic_not_supported_function<>
(0));
40
41
bp::def(
42
"computeJointKinematicRegressor"
,
43
(
context::Data::Matrix6x
(*)(
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"
,
55
mimic_not_supported_function<>
(0));
56
57
bp::def(
58
"computeFrameKinematicRegressor"
,
59
(
context::Data::Matrix6x
(*)(
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"
,
71
mimic_not_supported_function<>
(0));
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