25#include <ArmarXCore/interface/components/EmergencyStopInterface.h>
31#include <RobotAPI/interface/units/GamepadUnit.h>
35 using namespace armarx::RemoteGui::Client;
44 "GamepadTopicName",
"GamepadValues",
"Name of the Gamepad Topic to publish to");
46 "EmergencyStopTopicName",
48 "Name of the Emergency Stop Topic to publish to");
50 "DeviceName",
"InterventionDebugger",
"Simulated gamepad device name");
52 "GamepadName",
"VirtualGamepad",
"Simulated gamepad name");
116 return "InterventionDebugger";
122 return "InterventionDebugger";
134 void RemoteGui_update()
override;
136 void createGamepadTab();
137 void updateGamepadTab();
139 void createEmergencyStopTab();
140 void updateEmergencyStopTab();
142 void publishGamepadState();
143 void publishEmergencyStopState(EmergencyStopState state);
149 GamepadUnitListenerPrx gamepadTopicPrx;
150 EmergencyStopListenerPrx emergencyStopTopicPrx;
152 std::string deviceName;
153 std::string gamepadName;
155 EmergencyStopState lastPublishedEstopState = EmergencyStopState::eEmergencyStopInactive;
Default component property definition container.
ComponentPropertyDefinitions(std::string prefix, bool hasObjectNameParameter=true)
Baseclass for all ArmarX ManagedIceObjects requiring properties.
InterventionDebuggerPropertyDefinitions(std::string prefix)
void onInitComponent() override
Pure virtual hook for the subclass.
void onDisconnectComponent() override
Hook for subclass.
armarx::PropertyDefinitionsPtr createPropertyDefinitions() override
void onConnectComponent() override
Pure virtual hook for the subclass.
static std::string GetDefaultName()
void onExitComponent() override
Hook for subclass.
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)
This file offers overloads of toIce() and fromIce() functions for STL container types.
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.
ToggleButton emergencyStopActive