Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Stack Of Tasks
pinocchio
Commits
b6ed2ba8
Verified
Commit
b6ed2ba8
authored
Apr 15, 2021
by
Justin Carpentier
Browse files
python: remove useless conversion
parent
8ae84162
Changes
1
Hide whitespace changes
Inline
Side-by-side
bindings/python/multibody/joint/expose-joints.cpp
View file @
b6ed2ba8
...
...
@@ -14,22 +14,13 @@ namespace pinocchio
namespace
python
{
static
void
expose
Varia
nts
()
void
expose
Joi
nts
()
{
boost
::
mpl
::
for_each
<
JointModelVariant
::
types
>
(
JointModelExposer
());
bp
::
to_python_converter
<
pinocchio
::
JointModelVariant
,
JointVariantVisitor
<
pinocchio
::
JointModelVariant
>
>
();
boost
::
mpl
::
for_each
<
JointDataVariant
::
types
>
(
JointDataExposer
());
bp
::
to_python_converter
<
pinocchio
::
JointDataVariant
,
JointVariantVisitor
<
pinocchio
::
JointDataVariant
>
>
();
}
void
exposeJoints
()
{
exposeVariants
();
JointModelPythonVisitor
::
expose
();
StdAlignedVectorPythonVisitor
<
JointModel
,
true
>::
expose
(
"StdVec_JointModelVector"
);
StdAlignedVectorPythonVisitor
<
JointModel
>::
expose
(
"StdVec_JointModelVector"
);
}
}
// namespace python
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment