37#include <VirtualRobot/VirtualRobot.h>
39#include <RobotAPI/interface/core/FramedPoseBase.h>
40#include <RobotAPI/interface/visualization/DebugDrawerInterface.h>
42#include <MemoryX/interface/components/PriorKnowledgeInterface.h>
43#include <MemoryX/interface/components/WorkingMemoryInterface.h>
44#include <MemoryX/interface/observers/ObjectMemoryObserverInterface.h>
46#include <RobotAPI/interface/components/ViewSelectionInterface.h>
48#include <RobotComponents/interface/components/PathPlanner.h>
63 "RobotStateComponentName",
64 "RobotStateComponent",
65 "Name of the robot state component that should be used");
71 "Name of the WorkingMemory component that should be used");
73 "ObjectMemoryObserverName",
74 "ObjectMemoryObserver",
75 "Name of the ObjectMemoryObserver component that should be used");
79 "Name of the PriorKnowledge component that should be used");
83 "Name of the Path Planner component that should be used");
87 "Name of the ViewSelection component that should be used");
103 return "BringObjectGroupStatechartContext";
106 void onInitStatechartContext()
override;
107 void onConnectStatechartContext()
override;
109 memoryx::WorkingMemoryInterfacePrx
112 return workingMemoryProxy;
115 memoryx::ObjectMemoryObserverInterfacePrx
118 return objectMemoryObserverProxy;
121 memoryx::PriorKnowledgeInterfacePrx
124 return priorKnowledgeProxy;
130 return debugDrawerTopicProxy;
142 return robotStateComponent;
152 return pathPlannerPrx;
155 ViewSelectionInterfacePrx
158 return viewSelection;
174 memoryx::WorkingMemoryInterfacePrx workingMemoryProxy;
175 memoryx::ObjectMemoryObserverInterfacePrx objectMemoryObserverProxy;
176 memoryx::PriorKnowledgeInterfacePrx priorKnowledgeProxy;
180 PathPlannerBasePrx pathPlannerPrx;
181 ViewSelectionInterfacePrx viewSelection;
#define ARMARXCOMPONENT_IMPORT_EXPORT
custom implementation of the StatechartContext for a statechart
PathPlannerBasePrx getPathPlanner() const
RobotStateComponentInterfacePrx getRobotStateComponent()
memoryx::ObjectMemoryObserverInterfacePrx getObjectMemoryObserverProxy()
armarx::DebugDrawerInterfacePrx getDebugDrawerTopicProxy()
memoryx::WorkingMemoryInterfacePrx getWorkingMemoryProxy()
const VirtualRobot::RobotPtr getRobot()
memoryx::PriorKnowledgeInterfacePrx getPriorKnowledgeProxy()
ViewSelectionInterfacePrx getViewSelection() const
std::string getDefaultName() const override
Retrieve default name of component.
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)
StatechartContextPropertyDefinitions(std::string prefix)
std::shared_ptr< class Robot > RobotPtr
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.
::IceInternal::ProxyHandle<::IceProxy::armarx::RobotStateComponentInterface > RobotStateComponentInterfacePrx
::IceInternal::ProxyHandle<::IceProxy::armarx::DebugDrawerInterface > DebugDrawerInterfacePrx
BringObjectGroupStatechartContextProperties(std::string prefix)