Skip to content
GitLab
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
a2922812
Verified
Commit
a2922812
authored
Apr 29, 2021
by
Justin Carpentier
Browse files
python/joints: fix method
parent
7830318f
Pipeline
#14250
passed with stage
in 130 minutes and 41 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
bindings/python/multibody/joint/joint-derived.hpp
View file @
a2922812
...
...
@@ -37,7 +37,7 @@ namespace pinocchio
&
JointModelDerived
::
setIndexes
,
bp
::
args
(
"self"
,
"id"
,
"idx_q"
,
"idx_v"
))
.
def
(
"hasSameIndexes"
,
&
JointModelDerived
::
hasSameIndexes
,
&
JointModelDerived
::
template
hasSameIndexes
<
JointModelDerived
>
,
bp
::
args
(
"self"
,
"other"
),
"Check if this has same indexes than other."
)
.
def
(
"shortname"
,
&
JointModelDerived
::
shortname
,
bp
::
arg
(
"self"
))
...
...
bindings/python/multibody/joint/joint.hpp
View file @
a2922812
...
...
@@ -35,7 +35,7 @@ namespace pinocchio
&
JointModel
::
setIndexes
,
bp
::
args
(
"self"
,
"id"
,
"idx_q"
,
"idx_v"
))
.
def
(
"hasSameIndexes"
,
&
JointModel
::
hasSameIndexes
,
&
JointModel
::
hasSameIndexes
<
JointModel
>
,
bp
::
args
(
"self"
,
"other"
),
"Check if this has same indexes than other."
)
.
def
(
"shortname"
,
&
JointModel
::
shortname
,
bp
::
arg
(
"self"
))
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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