Go to the documentation of this file.
31 #include <RobotAPI/interface/units/GamepadUnit.h>
32 #include <RobotAPI/interface/visualization/DebugDrawerInterface.h>
47 defineOptionalProperty<std::string>(
48 "GamepadTopicName",
"GamepadValues",
"Name of the Gamepad Topic");
49 defineOptionalProperty<std::string>(
50 "DebugDrawerTopic",
"DebugDrawerUpdates",
"Name of the DebugDrawerTopic");
72 return "GamepadUnitObserver";
93 const std::string& name,
94 const GamepadData&
data,
95 const TimestampBasePtr& timestamp,
96 const Ice::Current&
c)
override;
Observer monitoring @IMU sensor values.
PropertyDefinitionsPtr createPropertyDefinitions() override
void reportGamepadState(const std::string &device, const std::string &name, const GamepadData &data, const TimestampBasePtr ×tamp, const Ice::Current &c) override
Baseclass for all ArmarX Observers.
std::string prefix
Prefix of the properties such as namespace, domain, component name, etc.
void onConnectObserver() override
Framework hook.
void onInitObserver() override
Framework hook.
void onExitObserver() override
Framework hook.
std::string getDefaultName() const override
Retrieve default name of component.
This file offers overloads of toIce() and fromIce() functions for STL container types.
GamepadUnitObserverPropertyDefinitions(std::string prefix)