29 using namespace HandGroup;
43 setTimeoutEvent(in.getWaitTimeMs(), this->createEventDone());
48 ARMARX_INFO <<
"Shaping hand " << in.getHandName() <<
" to shape " << in.getShapeName();
50 HandUnitInterfacePrx handUnit = getContext<HandGroupStatechartContext>()->getHandUnit(in.getHandName());
52 if (in.getUseCollisionChecking() && in.isObjectInstanceNameSet())
54 std::string objectInstanceName = in.getObjectInstanceName();
55 handUnit->setShapeWithObjectInstance(in.getShapeName(), objectInstanceName);
59 handUnit->setShape(in.getShapeName());
64 if (in.isNotifyReleasedDuringShapingSet() && in.getNotifyReleasedDuringShaping())
71 handUnit->setObjectReleased(in.getNotifyReleasedObjectName());
86 HandUnitInterfacePrx handUnit = getContext<HandGroupStatechartContext>()->getHandUnit(in.getHandName());
88 handUnit->setJointAngles(jv);