Verified Commit 56161993 authored by Gabriele Buondonno's avatar Gabriele Buondonno Committed by Justin Carpentier
Browse files

[bindings] Try to fix kinematic getters bindings

parent 59500117
......@@ -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()
{
......
......@@ -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()
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment