Skip to content
Snippets Groups Projects
Commit 613f887a authored by David Schiebener's avatar David Schiebener
Browse files

cleaner visualization

parent 31578954
No related branches found
No related tags found
No related merge requests found
...@@ -79,6 +79,7 @@ namespace armarx ...@@ -79,6 +79,7 @@ namespace armarx
if (drawer) if (drawer)
{ {
drawer->removeSphereDebugLayerVisu("HeadViewTarget"); drawer->removeSphereDebugLayerVisu("HeadViewTarget");
drawer->removeSphereDebugLayerVisu("HeadViewTargetSolution");
} }
...@@ -204,6 +205,7 @@ namespace armarx ...@@ -204,6 +205,7 @@ namespace armarx
if (drawer) if (drawer)
{ {
drawer->removeSphereDebugLayerVisu("HeadViewTarget"); drawer->removeSphereDebugLayerVisu("HeadViewTarget");
drawer->removeSphereDebugLayerVisu("HeadViewTargetSolution");
} }
// why do we stop the kin unit? // why do we stop the kin unit?
...@@ -286,7 +288,7 @@ namespace armarx ...@@ -286,7 +288,7 @@ namespace armarx
if (drawer && localRobot->hasRobotNode("Cameras")) if (drawer && localRobot->hasRobotNode("Cameras"))
{ {
Vector3Ptr startPos = new Vector3(localRobot->getRobotNode("Cameras")->getGlobalPose()); Vector3Ptr startPos = new Vector3(localRobot->getRobotNode("Cameras")->getGlobalPose());
drawer->setSphereDebugLayerVisu("HeadViewTarget", drawer->setSphereDebugLayerVisu("HeadViewTargetSolution",
startPos, startPos,
DrawColor {0, 1, 1, 0.2}, DrawColor {0, 1, 1, 0.2},
17); 17);
......
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