29 #include <RobotAPI/interface/components/ViewSelectionInterface.h>
32 using namespace CoupledInteractionGroup;
48 ChannelRefBasePtr memoryChannel = context->
getObjectMemoryObserverProxy()->requestObjectClassRepeated(objectName, 250, armarx::DEFAULT_VIEWTARGET_PRIORITY);
53 memoryChannel->validate();
54 return ChannelRefPtr::dynamicCast(memoryChannel);
64 std::string leftHandNameInMemory = in.getLeftHandNameInMemory();
65 local.setLeftHandMemoryChannelRef(
getChannelRef(leftHandNameInMemory));
68 std::string rightHandNameInMemory = in.getRightHandNameInMemory();
69 local.setRightHandMemoryChannelRef(
getChannelRef(rightHandNameInMemory));
73 Eigen::Vector3f tableStartPose;
74 tableStartPose(0) = poseRef->getDataField(
"positionX")->getFloat();
75 tableStartPose(1) = poseRef->getDataField(
"positionY")->getFloat();
76 tableStartPose(2) = poseRef->getDataField(
"rotation")->getFloat();
78 Eigen::Vector3f tableTargetPose = in.getTableTargetPose_2()->toEigen();
79 local.setTablePose(
FramedDirection(tableStartPose,
"Global",
"Armar3"));
80 local.setTableTargetPose(
FramedDirection(tableTargetPose,
"Global",
"Armar3"));