27 #include <MemoryX/interface/components/WorkingMemoryInterface.h>
28 #include <MemoryX/interface/memorytypes/MemorySegments.h>
39 defineOptionalProperty<float>(
42 "Threshold below which an object is considered to be close to a node");
43 defineOptionalProperty<float>(
"HandDistanceThreshold",
45 "Threshold below which an object is considered to "
46 "grasped, and no predicate instance will be generated");
47 defineOptionalProperty<std::string>(
"PlatformGraphSceneName",
48 "XperienceDemoKitchenRM",
49 "Name of the scene in the graph segment");
73 PredicateInfoList
getPredicateInfos(
const Ice::Current& = Ice::emptyCurrent)
override;
74 PredicateInstanceList
calcPredicates(
const Ice::Current& = Ice::emptyCurrent)
override;
80 EntityRefBasePtr nodeRef;
81 std::string originalFrame;
82 Ice::StringSeq parents;
86 CachedNodeInfo getCacheEntry(
const std::string& nodeId);
88 WorkingMemoryInterfacePrx wm;
89 PriorKnowledgeInterfacePrx prior;
90 GraphNodePoseResolverInterfacePrx psr;
92 AgentInstancesSegmentBasePrx agentInstances;
93 ObjectInstanceMemorySegmentBasePrx objectInstances;
94 PersistentObjectClassSegmentBasePrx objectClasses;
95 GraphMemorySegmentBasePrx graphs;
97 std::string sceneName;
98 float distanceThreshold;
99 float handDistanceThreshold;
101 std::map<std::string, CachedNodeInfo> nodeInfoMap;
102 GraphNodeBaseList graphNodes;
103 std::map<std::string, std::vector<std::string>> classNameParentsMap;