26 #include <MemoryX/interface/memorytypes/MemorySegments.h>
27 #include <MemoryX/interface/components/WorkingMemoryInterface.h>
31 #include <MemoryX/interface/components/GraphNodePoseResolverInterface.h>
42 defineOptionalProperty<std::string>(
"CommonPlacesLearnerName",
"CommonPlacesLearnerPutAwayLocations",
"The CommonPlacesLearner to use");
43 defineOptionalProperty<std::string>(
"CPLSegmentName",
"CPL_PutAwayLocations",
"The LTM segment to use for common places");
44 defineOptionalProperty<std::string>(
"PlatformGraphSceneName",
"XperienceDemoKitchenRM",
"Name of the scene in the graph segment");
68 PredicateInfoList
getPredicateInfos(
const Ice::Current&
c = Ice::emptyCurrent)
override;
69 PredicateInstanceList
calcPredicates(
const Ice::Current&)
override;
72 struct CachedCommonPlace
74 std::string className;
75 EntityRefBasePtr putAwayNodeRef;
78 CachedCommonPlace getCacheEntry(
const std::string& className);
80 std::map<std::string, CachedCommonPlace> cpCache;
82 std::string cplSegmentName;
83 std::string sceneName;
85 WorkingMemoryInterfacePrx wm;
86 PriorKnowledgeInterfacePrx prior;
87 LongtermMemoryInterfacePrx ltm;
88 GraphNodePoseResolverInterfacePrx psr;
89 CommonPlacesLearnerInterfacePrx cpl;
91 ObjectInstanceMemorySegmentBasePrx objectInstances;
92 GraphMemorySegmentBasePrx graphSegment;
93 PersistentObjectInstanceSegmentBasePrx cplObjectsSegment;
95 std::vector<ObjectInstancePtr> cplObjects;
97 PredicateInfo putAwayLocation;