#include <ros/ros.h>
#include <geometry_msgs/Twist.h>
#include <signal.h>
#include <stdio.h>
#include <termios.h>
#include <unistd.h>
Go to the source code of this file.
Classes | |
class | KeyboardReader |
class | TeleopTurtle |
Macros | |
#define | KEYCODE_B 0x62 |
#define | KEYCODE_C 0x63 |
#define | KEYCODE_D 0x64 |
#define | KEYCODE_DOWN 0x42 |
#define | KEYCODE_E 0x65 |
#define | KEYCODE_F 0x66 |
#define | KEYCODE_G 0x67 |
#define | KEYCODE_LEFT 0x44 |
#define | KEYCODE_Q 0x71 |
#define | KEYCODE_R 0x72 |
#define | KEYCODE_RIGHT 0x43 |
#define | KEYCODE_T 0x74 |
#define | KEYCODE_UP 0x41 |
#define | KEYCODE_V 0x76 |
Functions | |
int | main (int argc, char **argv) |
void | quit (int sig) |
Variables | |
KeyboardReader | input |
#define KEYCODE_B 0x62 |
Definition at line 16 of file teleop_turtle_key.cpp.
#define KEYCODE_C 0x63 |
Definition at line 17 of file teleop_turtle_key.cpp.
#define KEYCODE_D 0x64 |
Definition at line 18 of file teleop_turtle_key.cpp.
#define KEYCODE_DOWN 0x42 |
Definition at line 15 of file teleop_turtle_key.cpp.
#define KEYCODE_E 0x65 |
Definition at line 19 of file teleop_turtle_key.cpp.
#define KEYCODE_F 0x66 |
Definition at line 20 of file teleop_turtle_key.cpp.
#define KEYCODE_G 0x67 |
Definition at line 21 of file teleop_turtle_key.cpp.
#define KEYCODE_LEFT 0x44 |
Definition at line 13 of file teleop_turtle_key.cpp.
#define KEYCODE_Q 0x71 |
Definition at line 22 of file teleop_turtle_key.cpp.
#define KEYCODE_R 0x72 |
Definition at line 23 of file teleop_turtle_key.cpp.
#define KEYCODE_RIGHT 0x43 |
Definition at line 12 of file teleop_turtle_key.cpp.
#define KEYCODE_T 0x74 |
Definition at line 24 of file teleop_turtle_key.cpp.
#define KEYCODE_UP 0x41 |
Definition at line 14 of file teleop_turtle_key.cpp.
#define KEYCODE_V 0x76 |
Definition at line 25 of file teleop_turtle_key.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 190 of file teleop_turtle_key.cpp.
void quit | ( | int | sig | ) |
Definition at line 181 of file teleop_turtle_key.cpp.
KeyboardReader input |
Definition at line 152 of file teleop_turtle_key.cpp.