28 using namespace FindAndGraspObjectGroup;
48 NameControlModeMap controlModes;
50 if (jointNames->getSize() == jointAnglesGraspList->getSize())
52 for (
int j = 0; j < jointNames->getSize(); j++)
54 jointNamesAndValues[jointNames->getVariant(j)->getString()] = jointAnglesGraspList->getVariant(j)->getFloat();
55 controlModes[jointNames->getVariant(j)->getString()] = ePositionControl;
60 throw LocalException(
"stateCloseHandWithJointAngles: List lengths do not match!");
66 ARMARX_LOG << eINFO <<
"Installing timeoutGrasp condition";
67 float timeoutGrasp = getInput<float>(
"timeoutGrasp");
81 return "CloseHandWithJointAngles";