Skip to content
Snippets Groups Projects
Commit 2770cec6 authored by Fabian Reister's avatar Fabian Reister
Browse files

CollisionModelHelper: obstacle name is now full object id string...

CollisionModelHelper: obstacle name is now full object id string (dataset/class/instance) instead of only ambiguous instance name
parent 2a08deec
No related branches found
No related tags found
1 merge request!505CollisionModelHelper: obstacle name is now full object id string...
Pipeline #21910 failed
......@@ -62,7 +62,7 @@ namespace armarx::obstacle_avoidance
if (auto obstacle = finder.loadManipulationObject(objectPose))
{
obstacle->setGlobalPose(objectPose.objectPoseGlobal);
obstacle->setName(objectPose.objectID.instanceName());
obstacle->setName(objectPose.objectID.str());
sceneObjects->addSceneObject(obstacle);
}
}
......@@ -104,7 +104,6 @@ namespace armarx::obstacle_avoidance
Eigen::Affine3f world_T_obj = world_T_map * map_T_obj;
// ARMARX_INFO << world_T_obj.translation();
auto cube = factory.createBox(boxSize, boxSize, boxSize);
......@@ -177,4 +176,4 @@ namespace armarx::obstacle_avoidance
arviz.commitLayerContaining("CollisionModel", mesh);
}
} // namespace armarx::obstacle_avoidance
\ No newline at end of file
} // namespace armarx::obstacle_avoidance
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