@@ -256,12 +256,17 @@ namespace pinocchio
256256 .def (bp::init<context::Scalar, context::Scalar, context::Scalar>(
257257 bp::args (" self" , " radius_a" , " radius_b" , " radius_c" ),
258258 " Init JointModelEllipsoid with radii a, b and c" ))
259- .def (bp::init<>(
260- bp::args (" self" ),
261- " Init JointModelEllipsoid with default radii equal to 0.01" ))
262- .def_readwrite (" radius_a" , &context::JointModelEllipsoid::m_radius_a, " Radius a of the JointModelEllipsoid along X axis." )
263- .def_readwrite (" radius_b" , &context::JointModelEllipsoid::m_radius_b, " Radius b of the JointModelEllipsoid along Y axis." )
264- .def_readwrite (" radius_c" , &context::JointModelEllipsoid::m_radius_c, " Radius c of the JointModelEllipsoid along Z axis." );
259+ .def (
260+ bp::init<>(bp::args (" self" ), " Init JointModelEllipsoid with default radii equal to 0.01" ))
261+ .def_readwrite (
262+ " radius_a" , &context::JointModelEllipsoid::radius_a,
263+ " Radius a of the JointModelEllipsoid along X axis." )
264+ .def_readwrite (
265+ " radius_b" , &context::JointModelEllipsoid::radius_b,
266+ " Radius b of the JointModelEllipsoid along Y axis." )
267+ .def_readwrite (
268+ " radius_c" , &context::JointModelEllipsoid::radius_c,
269+ " Radius c of the JointModelEllipsoid along Z axis." );
265270 }
266271
267272 // specialization for JointModelUniversal
0 commit comments