30 #include <MemoryX/interface/components/GraphNodePoseResolverInterface.h>
31 #include <MemoryX/interface/components/WorkingMemoryInterface.h>
32 #include <MemoryX/interface/memorytypes/MemorySegments.h>
43 defineOptionalProperty<std::string>(
"CommonPlacesLearnerName",
44 "CommonPlacesLearnerPutAwayLocations",
45 "The CommonPlacesLearner to use");
46 defineOptionalProperty<std::string>(
"CPLSegmentName",
47 "CPL_PutAwayLocations",
48 "The LTM segment to use for common places");
49 defineOptionalProperty<std::string>(
"PlatformGraphSceneName",
50 "XperienceDemoKitchenRM",
51 "Name of the scene in the graph segment");
75 PredicateInfoList
getPredicateInfos(
const Ice::Current&
c = Ice::emptyCurrent)
override;
76 PredicateInstanceList
calcPredicates(
const Ice::Current&)
override;
79 struct CachedCommonPlace
81 std::string className;
82 EntityRefBasePtr putAwayNodeRef;
85 CachedCommonPlace getCacheEntry(
const std::string& className);
87 std::map<std::string, CachedCommonPlace> cpCache;
89 std::string cplSegmentName;
90 std::string sceneName;
92 WorkingMemoryInterfacePrx wm;
93 PriorKnowledgeInterfacePrx prior;
94 LongtermMemoryInterfacePrx ltm;
95 GraphNodePoseResolverInterfacePrx psr;
96 CommonPlacesLearnerInterfacePrx cpl;
98 ObjectInstanceMemorySegmentBasePrx objectInstances;
99 GraphMemorySegmentBasePrx graphSegment;
100 PersistentObjectInstanceSegmentBasePrx cplObjectsSegment;
102 std::vector<ObjectInstancePtr> cplObjects;
104 PredicateInfo putAwayLocation;