47 getContext<CoupledInteractionGroupStatechartContext>();
48 ChannelRefBasePtr memoryChannel =
50 objectName, 250, armarx::DEFAULT_VIEWTARGET_PRIORITY);
55 memoryChannel->validate();
56 return ChannelRefPtr::dynamicCast(memoryChannel);
67 std::string leftHandNameInMemory = in.getLeftHandNameInMemory();
68 local.setLeftHandMemoryChannelRef(
getChannelRef(leftHandNameInMemory));
71 std::string rightHandNameInMemory = in.getRightHandNameInMemory();
72 local.setRightHandMemoryChannelRef(
getChannelRef(rightHandNameInMemory));
75 getContext<CoupledInteractionGroupStatechartContext>();
78 Eigen::Vector3f tableStartPose;
79 tableStartPose(0) = poseRef->getDataField(
"positionX")->getFloat();
80 tableStartPose(1) = poseRef->getDataField(
"positionY")->getFloat();
81 tableStartPose(2) = poseRef->getDataField(
"rotation")->getFloat();
83 Eigen::Vector3f tableTargetPose = in.getTableTargetPose_2()->toEigen();
84 local.setTablePose(
FramedDirection(tableStartPose,
"Global",
"Armar3"));
85 local.setTableTargetPose(
FramedDirection(tableTargetPose,
"Global",
"Armar3"));
custom implementation of the StatechartContext for a statechart
memoryx::ObjectMemoryObserverInterfacePrx getObjectMemoryObserverProxy()
ChannelRefPtr getChannelRef(const std::string &observerName, const std::string &channelName) override