5 #ifndef __pinocchio_python_joints_datas_hpp__
6 #define __pinocchio_python_joints_datas_hpp__
23 inline bp::class_<JointDataRevoluteUnaligned> &
26 return cl.def(bp::init<const Eigen::Vector3d &>(
27 bp::args(
"axis"),
"Init JointDataRevoluteUnaligned from an axis with x-y-z components"));
32 inline bp::class_<JointDataPrismaticUnaligned> &
35 return cl.def(bp::init<const Eigen::Vector3d &>(
36 bp::args(
"axis"),
"Init JointDataPrismaticUnaligned from an axis with x-y-z components"));
41 inline bp::class_<JointDataHelicalUnaligned> &
44 return cl.def(bp::init<const Eigen::Vector3d &>(
45 bp::args(
"axis"),
"Init JointDataHelicalUnaligned from an axis with x-y-z components"));
49 inline bp::class_<JointDataPlanar> &
56 inline bp::class_<JointDataSphericalZYX> &
63 inline bp::class_<JointDataComposite> &
67 .def(bp::init<const JointDataComposite::JointDataVector &, const int, const int>(
68 bp::args(
"joint_data_vectors",
"nq",
"nv"),
69 "Init JointDataComposite from a given collection of joint data"))
71 .add_property(
"iMlast", &JointDataComposite::iMlast)
72 .add_property(
"pjMi", &JointDataComposite::pjMi)
79 #endif // ifndef __pinocchio_python_joint_datas_hpp__