26 #include <MemoryX/interface/memorytypes/MemorySegments.h>
27 #include <MemoryX/interface/components/WorkingMemoryInterface.h>
40 defineOptionalProperty<float>(
"DistanceThreshold", 1000.f,
"Threshold below which the agent is considered to be close to a node");
41 defineOptionalProperty<float>(
"HumanDistanceThreshold", 2000.f,
"Threshold for the human below which the agent is considered to be close to a node");
42 defineOptionalProperty<std::string>(
"PlatformGraphSceneName",
"XperienceDemoKitchenRM",
"Name of the scene in the graph segment");
66 PredicateInfoList
getPredicateInfos(
const Ice::Current&
c = Ice::emptyCurrent)
override;
67 PredicateInstanceList
calcPredicates(
const Ice::Current&)
override;
73 std::vector<memoryx::EntityRefBasePtr> agentAtNodeRefs;
76 std::map<std::string, CachedNodeInfo> nodeInfoCache;
77 std::map<std::string, std::vector<std::string>> nodeParentsCache;
79 CachedNodeInfo getCacheEntry(
const std::string& nodeId);
81 float distanceThreshold, humanDistanceThreshold;
82 std::string sceneName;
84 WorkingMemoryInterfacePrx wm;
85 PriorKnowledgeInterfacePrx prior;
86 GraphNodePoseResolverInterfacePrx psr;
88 AgentInstancesSegmentBasePrx agentInstances;
89 GraphMemorySegmentBasePrx graphSegment;
90 std::vector<GraphNodeBasePtr> graphNodes;
92 PredicateInfo agentAt;