35 #include <RobotAPI/interface/units/KinematicUnitInterface.h>
36 #include <RobotAPI/interface/units/TCPControlUnit.h>
37 #include <RobotAPI/interface/observers/KinematicUnitObserverInterface.h>
38 #include <RobotAPI/interface/core/RobotState.h>
45 #include <VirtualRobot/VirtualRobot.h>
55 defineRequiredProperty<std::string>(
"KinematicUnitName",
"Name of the kinematic unit that should be used");
56 defineRequiredProperty<std::string>(
"KinematicUnitObserverName",
"Name of the kinematic unit observer that should be used");
57 defineOptionalProperty<std::string>(
"RobotStateComponentName",
"RobotStateComponent",
"Name of the robot state component that should be used");
58 defineOptionalProperty<std::string>(
"TCPControlUnitName",
"TCPControlUnit",
"Name of the tcp control unit component that should be used");
73 return "MotionControlGroupStatechartContext";
75 void onInitStatechartContext()
override;
76 void onConnectStatechartContext()
override;
89 return localCollisionRobot;
93 return localStructureRobot;
98 return robotStateComponent;
102 return kinematicUnitPrx;
106 return kinematicUnitObserverPrx;
110 return getProperty<std::string>(
"KinematicUnitObserverName").getValue();
114 return tcpControlPrx;
118 return debugDrawerTopicProxy;
123 return debugObserverProxy;
142 VirtualRobot::RobotPtr localrobot;
143 VirtualRobot::RobotPtr localCollisionRobot;
144 VirtualRobot::RobotPtr localStructureRobot;
145 std::shared_ptr<RemoteRobot> remoteRobot;
146 RobotStateComponentInterfacePrx robotStateComponent;
147 KinematicUnitInterfacePrx kinematicUnitPrx;
148 KinematicUnitObserverInterfacePrx kinematicUnitObserverPrx;
149 TCPControlUnitInterfacePrx tcpControlPrx;