#include <termios.h>
#include <signal.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <ros/ros.h>
#include <geometry_msgs/Twist.h>
#include <std_msgs/String.h>
Go to the source code of this file.
Classes | |
class | TeleopPR2Keyboard |
Defines | |
#define | KEYCODE_A 0x61 |
#define | KEYCODE_A_CAP 0x41 |
#define | KEYCODE_D 0x64 |
#define | KEYCODE_D_CAP 0x44 |
#define | KEYCODE_E 0x65 |
#define | KEYCODE_E_CAP 0x45 |
#define | KEYCODE_Q 0x71 |
#define | KEYCODE_Q_CAP 0x51 |
#define | KEYCODE_S 0x73 |
#define | KEYCODE_S_CAP 0x53 |
#define | KEYCODE_SPACE 0x20 |
#define | KEYCODE_W 0x77 |
#define | KEYCODE_W_CAP 0x57 |
Functions | |
int | main (int argc, char **argv) |
void | quit (int sig) |
Variables | |
int | kfd = 0 |
struct termios cooked | raw |
#define KEYCODE_A 0x61 |
Definition at line 43 of file uos_diffdrive_teleop_key.cpp.
#define KEYCODE_A_CAP 0x41 |
Definition at line 50 of file uos_diffdrive_teleop_key.cpp.
#define KEYCODE_D 0x64 |
Definition at line 44 of file uos_diffdrive_teleop_key.cpp.
#define KEYCODE_D_CAP 0x44 |
Definition at line 51 of file uos_diffdrive_teleop_key.cpp.
#define KEYCODE_E 0x65 |
Definition at line 48 of file uos_diffdrive_teleop_key.cpp.
#define KEYCODE_E_CAP 0x45 |
Definition at line 55 of file uos_diffdrive_teleop_key.cpp.
#define KEYCODE_Q 0x71 |
Definition at line 47 of file uos_diffdrive_teleop_key.cpp.
#define KEYCODE_Q_CAP 0x51 |
Definition at line 54 of file uos_diffdrive_teleop_key.cpp.
#define KEYCODE_S 0x73 |
Definition at line 45 of file uos_diffdrive_teleop_key.cpp.
#define KEYCODE_S_CAP 0x53 |
Definition at line 52 of file uos_diffdrive_teleop_key.cpp.
#define KEYCODE_SPACE 0x20 |
Definition at line 57 of file uos_diffdrive_teleop_key.cpp.
#define KEYCODE_W 0x77 |
Definition at line 46 of file uos_diffdrive_teleop_key.cpp.
#define KEYCODE_W_CAP 0x57 |
Definition at line 53 of file uos_diffdrive_teleop_key.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 100 of file uos_diffdrive_teleop_key.cpp.
void quit | ( | int | sig | ) |
Definition at line 94 of file uos_diffdrive_teleop_key.cpp.
int kfd = 0 |
Definition at line 91 of file uos_diffdrive_teleop_key.cpp.
struct termios cooked raw |
Definition at line 92 of file uos_diffdrive_teleop_key.cpp.