30 using namespace HandGroup;
43 setTimeoutEvent(in.getWaitTimeMs(), this->createEventDone());
49 ARMARX_INFO <<
"Shaping hand " << in.getHandName() <<
" to shape " << in.getShapeName();
51 HandUnitInterfacePrx handUnit =
52 getContext<HandGroupStatechartContext>()->getHandUnit(in.getHandName());
54 if (in.getUseCollisionChecking() && in.isObjectInstanceNameSet())
56 std::string objectInstanceName = in.getObjectInstanceName();
57 handUnit->setShapeWithObjectInstance(in.getShapeName(), objectInstanceName);
61 handUnit->setShape(in.getShapeName());
66 if (in.isNotifyReleasedDuringShapingSet() && in.getNotifyReleasedDuringShaping())
73 handUnit->setObjectReleased(in.getNotifyReleasedObjectName());
90 HandUnitInterfacePrx handUnit =
91 getContext<HandGroupStatechartContext>()->getHandUnit(in.getHandName());
93 handUnit->setJointAngles(jv);