29 #include <MemoryX/interface/components/WorkingMemoryInterface.h>
30 #include <MemoryX/interface/memorytypes/MemorySegments.h>
40 defineOptionalProperty<float>(
43 "Threshold below which the agent is considered to be close to a node");
44 defineOptionalProperty<float>(
"HumanDistanceThreshold",
46 "Threshold for the human below which the agent is "
47 "considered to be close to a node");
48 defineOptionalProperty<std::string>(
"PlatformGraphSceneName",
49 "XperienceDemoKitchenRM",
50 "Name of the scene in the graph segment");
74 PredicateInfoList
getPredicateInfos(
const Ice::Current&
c = Ice::emptyCurrent)
override;
75 PredicateInstanceList
calcPredicates(
const Ice::Current&)
override;
81 std::vector<memoryx::EntityRefBasePtr> agentAtNodeRefs;
84 std::map<std::string, CachedNodeInfo> nodeInfoCache;
85 std::map<std::string, std::vector<std::string>> nodeParentsCache;
87 CachedNodeInfo getCacheEntry(
const std::string& nodeId);
89 float distanceThreshold, humanDistanceThreshold;
90 std::string sceneName;
92 WorkingMemoryInterfacePrx wm;
93 PriorKnowledgeInterfacePrx prior;
94 GraphNodePoseResolverInterfacePrx psr;
96 AgentInstancesSegmentBasePrx agentInstances;
97 GraphMemorySegmentBasePrx graphSegment;
98 std::vector<GraphNodeBasePtr> graphNodes;
100 PredicateInfo agentAt;