#include <JoyStick.h>
Public Member Functions | |
virtual void | publishMessage (void) |
virtual void | setUpPublisher (void) |
TwistJoyStick (int i=GLFW_JOYSTICK_1) |
Modified JoyStick class that publishes a Twist message instead of a Joy message. This makes it easier to drive a robot.
Definition at line 185 of file JoyStick.h.
TwistJoyStick::TwistJoyStick | ( | int | i = GLFW_JOYSTICK_1 | ) | [inline] |
Definition at line 188 of file JoyStick.h.
virtual void TwistJoyStick::publishMessage | ( | void | ) | [inline, virtual] |
Reimplemented from JoyStick.
Definition at line 202 of file JoyStick.h.
virtual void TwistJoyStick::setUpPublisher | ( | void | ) | [inline, virtual] |
Reimplemented from JoyStick.
Definition at line 192 of file JoyStick.h.