29#include <MemoryX/interface/components/WorkingMemoryInterface.h>
30#include <MemoryX/interface/memorytypes/MemorySegments.h>
43 "Threshold below which the agent is considered to be close to a node");
46 "Threshold for the human below which the agent is "
47 "considered to be close to a node");
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;
std::string getConfigIdentifier()
Retrieve config identifier for this component as set in constructor.
std::string prefix
Prefix of the properties such as namespace, domain, component name, etc.
PropertyDefinition< PropertyType > & defineOptionalProperty(const std::string &name, PropertyType defaultValue, const std::string &description="", PropertyDefinitionBase::PropertyConstness constness=PropertyDefinitionBase::eConstant)
AgentAtPredicateProviderPropertyDefinitions(std::string prefix)
void onConnectWorldStateUpdater() override
void onInitWorldStateUpdater() override
AgentAtPredicateProvider()
PredicateInstanceList calcPredicates(const Ice::Current &) override
PredicateInfoList getPredicateInfos(const Ice::Current &c=Ice::emptyCurrent) override
armarx::PropertyDefinitionsPtr createPropertyDefinitions() override
std::string getDefaultName() const override
Retrieve default name of component.
WorldStateUpdaterPropertyDefinitions(std::string prefix)
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.