Skip to content
Snippets Groups Projects
Commit a4705535 authored by Rainer Kartmann's avatar Rainer Kartmann
Browse files

Use robot's name

parent f9176341
No related branches found
No related tags found
No related merge requests found
......@@ -137,9 +137,7 @@ namespace armarx::objpose
robotConfig = robot->getConfig()->getRobotNodeJointValueMap();
robotPose = robot->getGlobalPose();
// Should we check whether this is the same as robot->getName()?
// Let's just use the given data for the moment.
robotName = provided.robotName;
robotName = robot->getName();
}
else
{
......@@ -158,7 +156,7 @@ namespace armarx::objpose
robotConfig.clear();
robotPose.setIdentity();
robotName = "";
robotName = provided.robotName;
// Keep original and robot consistent.
objectPoseRobot = objectPoseGlobal;
......
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