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

Activate propagating joint values in ArViz Coin visualization to fix visualization of fingers

parent fc5fb129
No related branches found
No related tags found
1 merge request!64Activate propagating joint values in ArViz Coin visualization to fix visualization of fingers
......@@ -644,6 +644,10 @@ namespace armarx
}
ARMARX_TRACE;
// Run forward kinematics, including propagating joint values.
const bool updateChildren = true;
currentObjVisu->updatePose(updateChildren);
// never use this data again
robotDef.updated = false;
}
......@@ -924,6 +928,7 @@ namespace armarx
// ensure consistent names
ARMARX_DEBUG << "Setting up newly loaded robot";
result->setName(robotName);
result->setPropagatingJointValuesEnabled(true);
ARMARX_DEBUG << "adding newly loaded robot to visualization";
VirtualRobot::SceneObject::VisualizationType visuMode = modelType;
if (colModel)
......
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