|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
15 #define DEFAULT_THREAD_PERIOD 10
25 std::vector<JoypadControl::LoopablePort*>
m_ports;
62 std::vector<size_t> m_stickDof;
68 std::vector<JoypadControl::LoopablePort*> m_ports;
71 bool getCount(
const int& vocab_toget,
unsigned int& value);
86 bool close()
override;
95 bool getRawStickDoF(
unsigned int stick_id,
unsigned int& DoF)
override;
96 bool getRawButton(
unsigned int button_id,
float& value)
override;
98 bool getRawHat(
unsigned int hat_id,
unsigned char& value)
override;
99 bool getRawAxis(
unsigned int axis_id,
double& value)
override;
JoypadCtrl_coordinateMode
bool getRawStickCount(unsigned int &stick_count) override
JoypadControlClient & operator=(const JoypadControlClient &)=delete
~JoypadControlClient() override=default
A base class for nested structures that can be searched.
bool getRawStick(unsigned int stick_id, yarp::sig::Vector &value, JoypadCtrl_coordinateMode coordinate_mode) override
JoypadControlClient & operator=(JoypadControlClient &&)=delete
bool getRawTrackballCount(unsigned int &Trackball_count) override
Interface implemented by all device drivers.
bool getRawButton(unsigned int button_id, float &value) override
PeriodicThread(double period, ShouldUseSystemClock useSystemClock=ShouldUseSystemClock::No)
Constructor.
bool getRawTouchSurfaceCount(unsigned int &touch_count) override
std::vector< JoypadControl::LoopablePort * > m_ports
void run() override
Loop function.
A mini-server for network communication.
bool getRawHatCount(unsigned int &Hat_count) override
bool close() override
Close the DeviceDriver.
virtual ~JoypadControlWatchdog()=default
JoypadControlClient: joypad input network wrapper on client side
bool getRawButtonCount(unsigned int &button_count) override
bool getRawAxisCount(unsigned int &axis_count) override
bool getRawAxis(unsigned int axis_id, double &value) override
bool getRawTouch(unsigned int touch_id, yarp::sig::Vector &value) override
bool open(yarp::os::Searchable &config) override
Open the DeviceDriver.
An abstraction for a periodic thread.
JoypadControlClient(const JoypadControlClient &)=delete
bool getRawHat(unsigned int hat_id, unsigned char &value) override
bool getRawStickDoF(unsigned int stick_id, unsigned int &DoF) override
JoypadControlClient(JoypadControlClient &&)=delete
bool getRawTrackball(unsigned int trackball_id, yarp::sig::Vector &value) override