Commit ad215b87 authored by Pierre Fernbach's avatar Pierre Fernbach
Browse files

update problem to change in pinocchio (collisionGeometry instead of collisionObject)

parent 20e87d26
......@@ -114,7 +114,7 @@ namespace hpp {
{
// Add object in local list
collisionObstacles_.push_back (object);
robot()->geomModel().addGeometryObject(0,*object->fcl(),object->getTransform(),object->name());
robot()->geomModel().addGeometryObject(0,object->fcl()->collisionGeometry(),object->getTransform(),object->name());
// Add obstacle to path validation method
if (pathValidation_) {
pathValidation_->addObstacle (object);
......
Supports Markdown
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