Classes | Defines | Functions | Variables
teleop_pr2_keyboard.cpp File Reference
#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 <ias_drawer_executive/RobotArm.h>
#include <ias_drawer_executive/Gripper.h>
Include dependency graph for teleop_pr2_keyboard.cpp:

Go to the source code of this file.

Classes

class  TeleopPR2Keyboard

Defines

#define KEYCODE_A   0x61
#define KEYCODE_A_CAP   0x41
#define KEYCODE_BRACK_CL   0x5D
#define KEYCODE_BRACK_OP   0x5B
#define KEYCODE_D   0x64
#define KEYCODE_D_CAP   0x44
#define KEYCODE_E   0x65
#define KEYCODE_E_CAP   0x45
#define KEYCODE_I   0x69
#define KEYCODE_I_CAP   0x49
#define KEYCODE_J   0x6A
#define KEYCODE_J_CAP   0x4A
#define KEYCODE_K   0x6B
#define KEYCODE_K_CAP   0x4B
#define KEYCODE_L   0x6C
#define KEYCODE_L_CAP   0x4C
#define KEYCODE_M   0x6D
#define KEYCODE_M_CAP   0x4D
#define KEYCODE_N   0x6E
#define KEYCODE_N_CAP   0x4E
#define KEYCODE_Q   0x71
#define KEYCODE_Q_CAP   0x51
#define KEYCODE_R   0x72
#define KEYCODE_S   0x73
#define KEYCODE_S_CAP   0x53
#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 Documentation

#define KEYCODE_A   0x61

Definition at line 45 of file teleop_pr2_keyboard.cpp.

#define KEYCODE_A_CAP   0x41

Definition at line 67 of file teleop_pr2_keyboard.cpp.

#define KEYCODE_BRACK_CL   0x5D

Definition at line 75 of file teleop_pr2_keyboard.cpp.

#define KEYCODE_BRACK_OP   0x5B

Definition at line 74 of file teleop_pr2_keyboard.cpp.

#define KEYCODE_D   0x64

Definition at line 46 of file teleop_pr2_keyboard.cpp.

#define KEYCODE_D_CAP   0x44

Definition at line 68 of file teleop_pr2_keyboard.cpp.

#define KEYCODE_E   0x65

Definition at line 50 of file teleop_pr2_keyboard.cpp.

#define KEYCODE_E_CAP   0x45

Definition at line 72 of file teleop_pr2_keyboard.cpp.

#define KEYCODE_I   0x69

Definition at line 53 of file teleop_pr2_keyboard.cpp.

#define KEYCODE_I_CAP   0x49

Definition at line 60 of file teleop_pr2_keyboard.cpp.

#define KEYCODE_J   0x6A

Definition at line 55 of file teleop_pr2_keyboard.cpp.

#define KEYCODE_J_CAP   0x4A

Definition at line 62 of file teleop_pr2_keyboard.cpp.

#define KEYCODE_K   0x6B

Definition at line 54 of file teleop_pr2_keyboard.cpp.

#define KEYCODE_K_CAP   0x4B

Definition at line 61 of file teleop_pr2_keyboard.cpp.

#define KEYCODE_L   0x6C

Definition at line 56 of file teleop_pr2_keyboard.cpp.

#define KEYCODE_L_CAP   0x4C

Definition at line 63 of file teleop_pr2_keyboard.cpp.

#define KEYCODE_M   0x6D

Definition at line 58 of file teleop_pr2_keyboard.cpp.

#define KEYCODE_M_CAP   0x4D

Definition at line 65 of file teleop_pr2_keyboard.cpp.

#define KEYCODE_N   0x6E

Definition at line 57 of file teleop_pr2_keyboard.cpp.

#define KEYCODE_N_CAP   0x4E

Definition at line 64 of file teleop_pr2_keyboard.cpp.

#define KEYCODE_Q   0x71

Definition at line 49 of file teleop_pr2_keyboard.cpp.

#define KEYCODE_Q_CAP   0x51

Definition at line 71 of file teleop_pr2_keyboard.cpp.

#define KEYCODE_R   0x72

Definition at line 51 of file teleop_pr2_keyboard.cpp.

#define KEYCODE_S   0x73

Definition at line 47 of file teleop_pr2_keyboard.cpp.

#define KEYCODE_S_CAP   0x53

Definition at line 69 of file teleop_pr2_keyboard.cpp.

#define KEYCODE_W   0x77

Definition at line 48 of file teleop_pr2_keyboard.cpp.

#define KEYCODE_W_CAP   0x57

Definition at line 70 of file teleop_pr2_keyboard.cpp.


Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 121 of file teleop_pr2_keyboard.cpp.

void quit ( int  sig)

Definition at line 115 of file teleop_pr2_keyboard.cpp.


Variable Documentation

int kfd = 0

Definition at line 112 of file teleop_pr2_keyboard.cpp.

struct termios cooked raw

Definition at line 113 of file teleop_pr2_keyboard.cpp.



ias_drawer_executive
Author(s): Thomas Ruehr
autogenerated on Mon Oct 6 2014 08:59:25