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

[Python] Clean geometry class

parent 81737167
Branches
Tags
No related merge requests found
//
// Copyright (c) 2015 CNRS
// Copyright (c) 2015-2016 CNRS
//
// This file is part of Pinocchio
// Pinocchio is free software: you can redistribute it
......@@ -22,7 +22,6 @@
#include <eigenpy/exception.hpp>
#include <eigenpy/eigenpy.hpp>
// #include "pinocchio/multibody/parser/sample-models.hpp"
#include "pinocchio/python/se3.hpp"
#include "pinocchio/python/eigen_container.hpp"
#include "pinocchio/python/handler.hpp"
......@@ -121,10 +120,7 @@ namespace se3
.def(bp::vector_indexing_suite< std::vector<CollisionPair_t> >());
bp::class_< std::vector<DistanceResult> >("StdVec_DistanceResult")
.def(bp::vector_indexing_suite< std::vector<DistanceResult> >());
/* Not sure if it is a good idea to enable automatic
* conversion. Prevent it for now */
//bp::to_python_converter< Model,GeometryDataPythonVisitor >();
bp::to_python_converter< GeometryDataHandler::SmartPtr_t,GeometryDataPythonVisitor >();
}
......
//
// Copyright (c) 2015 CNRS
// Copyright (c) 2015-2016 CNRS
//
// This file is part of Pinocchio
// Pinocchio is free software: you can redistribute it
......@@ -22,7 +22,6 @@
#include <eigenpy/exception.hpp>
#include <eigenpy/eigenpy.hpp>
// #include "pinocchio/multibody/parser/sample-models.hpp"
#include "pinocchio/python/se3.hpp"
#include "pinocchio/python/eigen_container.hpp"
#include "pinocchio/python/handler.hpp"
......@@ -112,9 +111,6 @@ namespace se3
bp::no_init)
.def(GeometryModelPythonVisitor());
/* Not sure if it is a good idea to enable automatic
* conversion. Prevent it for now */
//bp::to_python_converter< Model,GeometryModelPythonVisitor >();
bp::to_python_converter< GeometryModelHandler::SmartPtr_t,GeometryModelPythonVisitor >();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment