Skip to content
Snippets Groups Projects
Commit c23799d3 authored by Christoph Pohl's avatar Christoph Pohl Committed by ARMAR-6
Browse files

Add object ID to obstacles

parent a43cb643
No related branches found
No related tags found
No related merge requests found
......@@ -62,6 +62,7 @@ namespace armarx::obstacle_avoidance
if (auto obstacle = finder.loadManipulationObject(objectPose))
{
obstacle->setGlobalPose(objectPose.objectPoseGlobal);
obstacle->setName(objectPose.objectID.instanceName());
sceneObjects->addSceneObject(obstacle);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment