29 #include <VirtualRobot/Grasping/GraspSet.h>
31 #include <MemoryX/interface/components/PriorKnowledgeInterface.h>
32 #include <MemoryX/interface/observers/ObjectMemoryObserverInterface.h>
41 using namespace FindAndGraspObjectGroup;
61 memoryx::PersistentObjectClassSegmentBasePrx classesSegmentPrx = context->
priorMemoryProxy->getObjectClassesSegment();
62 memoryx::CommonStorageInterfacePrx databasePrx = context->
priorMemoryProxy->getCommonStorage();
64 memoryx::EntityBasePtr entity = classesSegmentPrx->getEntityByName(getInput<std::string>(
"objectName"));
67 VirtualRobot::ManipulationObjectPtr mo = simoxWrapper->getManipulationObject();
83 std::string graspSetName = getInput<std::string>(
"graspSetName");
84 VirtualRobot::GraspSetPtr gs = mo->getGraspSet(graspSetName);
88 std::string graspName = getInput<std::string>(
"graspName");
90 ARMARX_DEBUG <<
"VisualServoObject: getting grasp with name: " << graspName <<
flush;
116 std::string objectName = getInput<std::string>(inputName);
117 ChannelRefBasePtr objectChannel = context->
objectMemoryObserver->requestObjectClassRepeated(objectName, 30);
121 setLocal(objectChannelName, objectChannel);
122 ARMARX_DEBUG <<
"setLocal() for objectName: " << objectName <<
"; objectChannelName: " << objectChannelName;
133 return "VisualServoObject";