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

[Python] Define stdVec of Frames directly in the exposure of Frame class

parent c204ae43
Branches
Tags
No related merge requests found
......@@ -20,6 +20,9 @@
#include <eigenpy/exception.hpp>
#include <eigenpy/eigenpy.hpp>
#include <boost/python/suite/indexing/vector_indexing_suite.hpp>
#include "pinocchio/multibody/model.hpp"
......@@ -72,7 +75,9 @@ namespace se3
.def(FramePythonVisitor())
;
bp::to_python_converter< Frame,FramePythonVisitor >();
// bp::to_python_converter< Frame,FramePythonVisitor >();
bp::class_< std::vector<Frame> >("StdVec_Frame")
.def(bp::vector_indexing_suite< std::vector<Frame> >());
}
......
......@@ -244,8 +244,6 @@ namespace se3
.def(bp::vector_indexing_suite< std::vector<double> >());
bp::class_< JointModelVector >("StdVec_JointModelVector")
.def(bp::vector_indexing_suite< JointModelVector, true >());
bp::class_< std::vector<Frame> >("StdVec_FrameVector")
.def(bp::vector_indexing_suite< std::vector<Frame> >());
bp::class_<ModelHandler>("Model",
"Articulated rigid body model (const)",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment