Go to the documentation of this file.
27 #include <RobotAPI/interface/units/GamepadUnit.h>
29 #include <RobotAPI/interface/visualization/DebugDrawerInterface.h>
47 defineOptionalProperty<std::string>(
"GamepadTopicName",
"GamepadValues",
"Name of the Gamepad Topic");
48 defineOptionalProperty<std::string>(
"DebugDrawerTopic",
"DebugDrawerUpdates",
"Name of the DebugDrawerTopic");
63 virtual public GamepadUnitObserverInterface
70 return "GamepadUnitObserver";
89 void reportGamepadState(
const std::string& device,
const std::string& name,
const GamepadData&
data,
const TimestampBasePtr& timestamp,
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)