36#include <RobotAPI/interface/core/RobotState.h>
37#include <RobotAPI/interface/observers/KinematicUnitObserverInterface.h>
38#include <RobotAPI/interface/units/KinematicUnitInterface.h>
39#include <RobotAPI/interface/units/TCPControlUnit.h>
45#include <VirtualRobot/VirtualRobot.h>
56 "Name of the kinematic unit that should be used");
58 "KinematicUnitObserverName",
59 "Name of the kinematic unit observer that should be used");
61 "RobotStateComponentName",
62 "RobotStateComponent",
63 "Name of the robot state component that should be used");
67 "Name of the tcp control unit component that should be used");
83 return "MotionControlGroupStatechartContext";
86 void onInitStatechartContext()
override;
87 void onConnectStatechartContext()
override;
89 const std::shared_ptr<RemoteRobot>
104 return localCollisionRobot;
110 return localStructureRobot;
116 return robotStateComponent;
119 KinematicUnitInterfacePrx
122 return kinematicUnitPrx;
125 KinematicUnitObserverInterfacePrx
128 return kinematicUnitObserverPrx;
137 TCPControlUnitInterfacePrx
140 return tcpControlPrx;
146 return debugDrawerTopicProxy;
152 return debugObserverProxy;
173 std::shared_ptr<RemoteRobot> remoteRobot;
175 KinematicUnitInterfacePrx kinematicUnitPrx;
176 KinematicUnitObserverInterfacePrx kinematicUnitObserverPrx;
177 TCPControlUnitInterfacePrx tcpControlPrx;
#define ARMARXCOMPONENT_IMPORT_EXPORT
Property< PropertyType > getProperty(const std::string &name)
custom implementation of the StatechartContext for a statechart
DebugDrawerInterfacePrx getDebugDrawerTopicProxy()
KinematicUnitInterfacePrx getKinematicUnit()
RobotStateComponentInterfacePrx getRobotStateComponent()
const VirtualRobot::RobotPtr getLocalCollisionRobot()
KinematicUnitObserverInterfacePrx getKinematicUnitObserver()
const VirtualRobot::RobotPtr getLocalRobot()
const RobotPoolPtr & getRobotPool() const
Robot Pool containing collision robots.
TCPControlUnitInterfacePrx getTCPControlUnit()
DebugObserverInterfacePrx getDebugObserverProxy() const
const VirtualRobot::RobotPtr getLocalStructureRobot()
const std::shared_ptr< RemoteRobot > getRobot()
std::string getKinematicUnitObserverName()
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)
PropertyDefinition< PropertyType > & defineRequiredProperty(const std::string &name, const std::string &description="", PropertyDefinitionBase::PropertyConstness constness=PropertyDefinitionBase::eConstant)
StatechartContextPropertyDefinitions(std::string prefix)
std::shared_ptr< class Robot > RobotPtr
::IceInternal::ProxyHandle<::IceProxy::armarx::DebugObserverInterface > DebugObserverInterfacePrx
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.
::IceInternal::ProxyHandle<::IceProxy::armarx::RobotStateComponentInterface > RobotStateComponentInterfacePrx
::IceInternal::ProxyHandle<::IceProxy::armarx::DebugDrawerInterface > DebugDrawerInterfacePrx
std::shared_ptr< class RobotPool > RobotPoolPtr
MotionControlGroupStatechartContextProperties(std::string prefix)