Tetrapod Project
|
#include "ros/ros.h"
#include "geometry_msgs/Twist.h"
#include "sensor_msgs/Joy.h"
#include "std_srvs/Empty.h"
#include "keyboard/Key.h"
#include <thread>
#include <fcntl.h>
#include <unistd.h>
#include <sys/select.h>
Go to the source code of this file.
Classes | |
class | JoystickController |
Macros | |
#define | BUTTON_ERROR 0.01 |
Enumerations | |
enum | JoyAxisIndices { RIGHT_STICK_UD = 4 , RIGHT_STICK_LR = 3 , LEFT_STICK_UD = 1 , LEFT_STICK_LR = 0 , R2 = 5 , L2 = 2 } |
enum | JoyButtonIndices { R1 = 5 , R2_BUTTON = 7 , R3 = 12 , L1 = 4 , L2_BUTTON = 6 , L3 = 11 , DPAD_RIGHT = 16 , DPAD_LEFT = 15 , DPAD_UP = 13 , DPAD_DOWN = 14 , START = 9 , SELECT = 8 , TRIANGLE = 2 , CIRCLE = 1 , CROSS = 0 , SQUARE = 3 } |
#define BUTTON_ERROR 0.01 |
Definition at line 14 of file joystick_controller.h.
enum JoyAxisIndices |
Enumerator | |
---|---|
RIGHT_STICK_UD | |
RIGHT_STICK_LR | |
LEFT_STICK_UD | |
LEFT_STICK_LR | |
R2 | |
L2 |
Definition at line 16 of file joystick_controller.h.
enum JoyButtonIndices |
Enumerator | |
---|---|
R1 | |
R2_BUTTON | |
R3 | |
L1 | |
L2_BUTTON | |
L3 | |
DPAD_RIGHT | |
DPAD_LEFT | |
DPAD_UP | |
DPAD_DOWN | |
START | |
SELECT | |
TRIANGLE | |
CIRCLE | |
CROSS | |
SQUARE |
Definition at line 26 of file joystick_controller.h.