Skip to content
Snippets Groups Projects
Commit 6b67a0a5 authored by jcarpent's avatar jcarpent
Browse files

[Python] Expose shortname method to JointModel

parent ce91aa40
No related branches found
No related tags found
No related merge requests found
......@@ -22,6 +22,7 @@
#include <eigenpy/eigenpy.hpp>
#include "pinocchio/multibody/joint/joint.hpp"
#include "pinocchio/bindings/python/utils/printable.hpp"
namespace se3
{
......@@ -48,6 +49,7 @@ namespace se3
.add_property("nv",&JointModelPythonVisitor::getNv)
.def("setIndexes",&JointModel::setIndexes)
.def("shortname",&JointModel::shortname)
;
}
......@@ -64,6 +66,7 @@ namespace se3
bp::no_init)
.def(bp::init<se3::JointModelVariant>())
.def(JointModelPythonVisitor())
.def(PrintableVisitor<JointModel>())
;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment