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
56161993
Verified
Commit
56161993
authored
Apr 25, 2020
by
Gabriele Buondonno
Committed by
Justin Carpentier
May 12, 2020
Browse files
[bindings] Try to fix kinematic getters bindings
parent
59500117
Changes
2
Hide whitespace changes
Inline
Side-by-side
bindings/python/algorithm/expose-frames.cpp
View file @
56161993
...
...
@@ -68,9 +68,9 @@ namespace pinocchio
return
get_frame_jacobian_time_variation_proxy
(
model
,
data
,
frame_id
,
rf
);
}
BOOST_PYTHON_FUNCTION_OVERLOADS
(
getFrameVelocity_overload
,
(
&
getFrameVelocity
<
double
,
0
,
JointCollectionDefaultTpl
>
),
3
,
4
)
BOOST_PYTHON_FUNCTION_OVERLOADS
(
getFrameAcceleration_overload
,
(
&
getFrameAcceleration
<
double
,
0
,
JointCollectionDefaultTpl
>
),
3
,
4
)
BOOST_PYTHON_FUNCTION_OVERLOADS
(
getFrameClassicalAcceleration_overload
,
(
&
getFrameClassicalAcceleration
<
double
,
0
,
JointCollectionDefaultTpl
>
),
3
,
4
)
BOOST_PYTHON_FUNCTION_OVERLOADS
(
getFrameVelocity_overload
,
(
getFrameVelocity
<
double
,
0
,
JointCollectionDefaultTpl
>
),
3
,
4
)
BOOST_PYTHON_FUNCTION_OVERLOADS
(
getFrameAcceleration_overload
,
(
getFrameAcceleration
<
double
,
0
,
JointCollectionDefaultTpl
>
),
3
,
4
)
BOOST_PYTHON_FUNCTION_OVERLOADS
(
getFrameClassicalAcceleration_overload
,
(
getFrameClassicalAcceleration
<
double
,
0
,
JointCollectionDefaultTpl
>
),
3
,
4
)
void
exposeFramesAlgo
()
{
...
...
bindings/python/algorithm/expose-kinematics.cpp
View file @
56161993
...
...
@@ -10,9 +10,9 @@ namespace pinocchio
namespace
python
{
BOOST_PYTHON_FUNCTION_OVERLOADS
(
getVelocity_overload
,
(
&
getVelocity
<
double
,
0
,
JointCollectionDefaultTpl
>
),
3
,
4
)
BOOST_PYTHON_FUNCTION_OVERLOADS
(
getAcceleration_overload
,
(
&
getAcceleration
<
double
,
0
,
JointCollectionDefaultTpl
>
),
3
,
4
)
BOOST_PYTHON_FUNCTION_OVERLOADS
(
getClassicalAcceleration_overload
,
(
&
getClassicalAcceleration
<
double
,
0
,
JointCollectionDefaultTpl
>
),
3
,
4
)
BOOST_PYTHON_FUNCTION_OVERLOADS
(
getVelocity_overload
,
(
getVelocity
<
double
,
0
,
JointCollectionDefaultTpl
>
),
3
,
4
)
BOOST_PYTHON_FUNCTION_OVERLOADS
(
getAcceleration_overload
,
(
getAcceleration
<
double
,
0
,
JointCollectionDefaultTpl
>
),
3
,
4
)
BOOST_PYTHON_FUNCTION_OVERLOADS
(
getClassicalAcceleration_overload
,
(
getClassicalAcceleration
<
double
,
0
,
JointCollectionDefaultTpl
>
),
3
,
4
)
void
exposeKinematics
()
{
...
...
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