Commit db39f359 authored by Joseph Mirabel's avatar Joseph Mirabel

Fix plugin to create constraint graph

parent 48202836
......@@ -415,7 +415,10 @@ namespace hpp {
HppManipulationWidgetsPlugin::NamesPair handles = convertMap(handlesMap);
HppManipulationWidgetsPlugin::NamesPair shapes = convertMap(shapesMap);
hpp_->graph ()->createGraph("constraints");
try {
hpp_->graph ()->deleteGraph("constraints");
} catch (const hpp::Error&) {
}
// TODO the return value is never deleted.
std::cout << "graph.buildGenericGraph(robot, 'graph', ";
print(grippers.in()); std::cout << ", ";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment