26 #include <MemoryX/interface/memorytypes/MemorySegments.h>
27 #include <MemoryX/interface/components/WorkingMemoryInterface.h>
40 defineOptionalProperty<float>(
"DistanceThreshold", 1500.f,
"Threshold below which an object is considered to be close to a node");
41 defineOptionalProperty<float>(
"HandDistanceThreshold", 150.f,
"Threshold below which an object is considered to grasped, and no predicate instance will be generated");
42 defineOptionalProperty<std::string>(
"PlatformGraphSceneName",
"XperienceDemoKitchenRM",
"Name of the scene in the graph segment");
66 PredicateInfoList
getPredicateInfos(
const Ice::Current& = Ice::emptyCurrent)
override;
67 PredicateInstanceList
calcPredicates(
const Ice::Current& = Ice::emptyCurrent)
override;
73 EntityRefBasePtr nodeRef;
74 std::string originalFrame;
75 Ice::StringSeq parents;
79 CachedNodeInfo getCacheEntry(
const std::string& nodeId);
81 WorkingMemoryInterfacePrx wm;
82 PriorKnowledgeInterfacePrx prior;
83 GraphNodePoseResolverInterfacePrx psr;
85 AgentInstancesSegmentBasePrx agentInstances;
86 ObjectInstanceMemorySegmentBasePrx objectInstances;
87 PersistentObjectClassSegmentBasePrx objectClasses;
88 GraphMemorySegmentBasePrx graphs;
90 std::string sceneName;
91 float distanceThreshold;
92 float handDistanceThreshold;
94 std::map<std::string, CachedNodeInfo> nodeInfoMap;
95 GraphNodeBaseList graphNodes;
96 std::map<std::string, std::vector<std::string>> classNameParentsMap;