Skip to content
Snippets Groups Projects
Commit f10a484c authored by Nikolaus Vahrenkamp's avatar Nikolaus Vahrenkamp
Browse files

apply a tiny velocity after the object has been grasped in ordeer to ensure...

apply a tiny velocity after the object has been grasped in ordeer to ensure that the object stays grasped
parent 47a23a1a
No related branches found
No related tags found
No related merge requests found
......@@ -380,7 +380,8 @@ namespace armarx
for (int j=0; j<jointNames->getSize(); j++)
{
jointNamesAndValues[jointNames->getVariant(j)->getString()] = 0.0f; //set everything to zero
// we want to ensure that the object stayes grasped -> apply a small velocity (todo: find a better solution!)
jointNamesAndValues[jointNames->getVariant(j)->getString()] = 0.01f; //set everything to zero
controlModes[jointNames->getVariant(j)->getString()] = eVelocityControl;
}
......
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