28#include <VirtualRobot/VirtualRobot.h>
33#include <RobotAPI/interface/visualization/DebugDrawerInterface.h>
35#include <VisionX/interface/components/SemanticRelationAnalyzer.h>
36#include <VisionX/interface/libraries/SemanticObjectRelations/GraphStorage.h>
40#include <MemoryX/interface/components/WorkingMemoryInterface.h>
42#include <SemanticObjectRelations/SupportAnalysis/SupportAnalysis.h>
70 virtual public armarx::SemanticRelationAnalyzerInterface
82 return "SemanticRelationAnalyzer";
115 std::string prop_WorkingMemoryName;
116 std::string prop_PriorKnowledgeName;
117 std::string prop_RobotStateComponentName;
118 std::string prop_DebugDrawerTopicName;
119 int prop_UpdatePeriodInMS = 10;
120 float prop_ContactMarginInMM = 5.0f;
122 memoryx::WorkingMemoryInterfacePrx workingMemory;
123 memoryx::PriorKnowledgeInterfacePrx priorKnowledge;
124 memoryx::RelationMemorySegmentBasePrx relationSegment;
128 std::shared_ptr<armarx::semantic::JsonSimoxShapeSerializer> jsonSerializer;
132 std::mutex componentMutex;
134 semrel::SupportAnalysis supportAnalysis;
Default component property definition container.
Baseclass for all ArmarX ManagedIceObjects requiring properties.
IceUtil::Handle< PeriodicTask< T > > pointer_type
Shared pointer type for convenience.
std::string prefix
Prefix of the properties such as namespace, domain, component name, etc.
SemanticRelationAnalyzerPropertyDefinitions(std::string prefix)
Brief description of class SemanticRelationAnalyzer.
void onInitComponent() override
void onDisconnectComponent() override
armarx::PropertyDefinitionsPtr createPropertyDefinitions() override
semantic::data::Graph extractSupportGraphFromWorkingMemory(const Ice::Current &) override
void onConnectComponent() override
void onExitComponent() override
std::string getDefaultName() const override
Allows access to the objects in the working memory in form of Simox SceneObjects.
This file offers overloads of toIce() and fromIce() functions for STL container types.
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.
::IceInternal::ProxyHandle<::IceProxy::armarx::RobotStateComponentInterface > RobotStateComponentInterfacePrx
::IceInternal::ProxyHandle<::IceProxy::armarx::DebugDrawerInterface > DebugDrawerInterfacePrx