Go to the documentation of this file.
27 #include <ArmarXCore/interface/components/EmergencyStopInterface.h>
29 #include <RobotAPI/interface/units/GamepadUnit.h>
31 #include <RobotAPI/interface/units/HandUnitInterface.h>
34 #include <RobotAPI/interface/components/RobotHealthInterface.h>
35 #include <RobotAPI/interface/units/PlatformUnitInterface.h>
52 defineOptionalProperty<std::string>(
"PlatformUnitName",
"Armar6IcePlatformUnit",
"Name of the platform unit to use");
53 defineOptionalProperty<std::string>(
"GamepadTopicName",
"GamepadValues",
"Name of the Gamepad Topic");
54 defineOptionalProperty<float>(
"ScaleX", 1000.0f,
"scaling factor in mm per second");
55 defineOptionalProperty<float>(
"ScaleY", 1000.0f,
"scaling factor in mm per second");
56 defineOptionalProperty<float>(
"ScaleAngle", 1.0f,
"scaling factor in radian per second");
73 virtual public GamepadUnitListener
83 return "GamepadControlUnit";
113 PlatformUnitInterfacePrx platformUnitPrx;
119 bool enableHeartBeat =
false;
123 EmergencyStopMasterInterfacePrx emergencyStop;
125 bool leftHandOpen =
true;
126 bool rightHandOpen =
true;
128 long leftHandTime = 0;
129 long rightHandTime = 0;
133 const TimestampBasePtr& timestamp,
const Ice::Current&
c)
override;
std::string prefix
Prefix of the properties such as namespace, domain, component name, etc.
void onInitComponent() override
void reportGamepadState(const std::string &device, const std::string &name, const GamepadData &data, const TimestampBasePtr ×tamp, const Ice::Current &c) override
armarx::PropertyDefinitionsPtr createPropertyDefinitions() override
void onExitComponent() override
void onDisconnectComponent() override
std::string getDefaultName() const override
Baseclass for all ArmarX ManagedIceObjects requiring properties.
Default component property definition container.
GamepadControlUnitPropertyDefinitions(std::string prefix)
Brief description of class GamepadControlUnit.
This file offers overloads of toIce() and fromIce() functions for STL container types.
void onConnectComponent() override