Classes | Macros | Functions | Variables
keyboard_teleop.cpp File Reference
#include <termios.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <ros/ros.h>
#include <sensor_msgs/JointState.h>
#include <std_msgs/Float64MultiArray.h>
Include dependency graph for keyboard_teleop.cpp:

Go to the source code of this file.

Classes

class  TeleopJointsKeyboard
 

Macros

#define KEYCODE_a   0x61
 
#define KEYCODE_b   0x62
 
#define KEYCODE_c   0x63
 
#define KEYCODE_d   0x64
 
#define KEYCODE_e   0x65
 
#define KEYCODE_ESCAPE   0x1B
 
#define KEYCODE_f   0x66
 
#define KEYCODE_g   0x67
 
#define KEYCODE_h   0x68
 
#define KEYCODE_i   0x69
 
#define KEYCODE_j   0x6a
 
#define KEYCODE_k   0x6b
 
#define KEYCODE_l   0x6c
 
#define KEYCODE_m   0x6d
 
#define KEYCODE_n   0x6e
 
#define KEYCODE_o   0x6f
 
#define KEYCODE_p   0x70
 
#define KEYCODE_q   0x71
 
#define KEYCODE_r   0x72
 
#define KEYCODE_s   0x73
 
#define KEYCODE_t   0x74
 
#define KEYCODE_u   0x75
 
#define KEYCODE_v   0x76
 
#define KEYCODE_w   0x77
 
#define KEYCODE_x   0x78
 
#define KEYCODE_y   0x79
 
#define KEYCODE_z   0x7a
 

Functions

int main (int argc, char **argv)
 
void quit (int sig)
 

Variables

int kfd = 0
 
struct termios cooked raw
 

Macro Definition Documentation

◆ KEYCODE_a

#define KEYCODE_a   0x61

Definition at line 48 of file keyboard_teleop.cpp.

◆ KEYCODE_b

#define KEYCODE_b   0x62

Definition at line 49 of file keyboard_teleop.cpp.

◆ KEYCODE_c

#define KEYCODE_c   0x63

Definition at line 50 of file keyboard_teleop.cpp.

◆ KEYCODE_d

#define KEYCODE_d   0x64

Definition at line 51 of file keyboard_teleop.cpp.

◆ KEYCODE_e

#define KEYCODE_e   0x65

Definition at line 52 of file keyboard_teleop.cpp.

◆ KEYCODE_ESCAPE

#define KEYCODE_ESCAPE   0x1B

Definition at line 74 of file keyboard_teleop.cpp.

◆ KEYCODE_f

#define KEYCODE_f   0x66

Definition at line 53 of file keyboard_teleop.cpp.

◆ KEYCODE_g

#define KEYCODE_g   0x67

Definition at line 54 of file keyboard_teleop.cpp.

◆ KEYCODE_h

#define KEYCODE_h   0x68

Definition at line 55 of file keyboard_teleop.cpp.

◆ KEYCODE_i

#define KEYCODE_i   0x69

Definition at line 56 of file keyboard_teleop.cpp.

◆ KEYCODE_j

#define KEYCODE_j   0x6a

Definition at line 57 of file keyboard_teleop.cpp.

◆ KEYCODE_k

#define KEYCODE_k   0x6b

Definition at line 58 of file keyboard_teleop.cpp.

◆ KEYCODE_l

#define KEYCODE_l   0x6c

Definition at line 59 of file keyboard_teleop.cpp.

◆ KEYCODE_m

#define KEYCODE_m   0x6d

Definition at line 60 of file keyboard_teleop.cpp.

◆ KEYCODE_n

#define KEYCODE_n   0x6e

Definition at line 61 of file keyboard_teleop.cpp.

◆ KEYCODE_o

#define KEYCODE_o   0x6f

Definition at line 62 of file keyboard_teleop.cpp.

◆ KEYCODE_p

#define KEYCODE_p   0x70

Definition at line 63 of file keyboard_teleop.cpp.

◆ KEYCODE_q

#define KEYCODE_q   0x71

Definition at line 64 of file keyboard_teleop.cpp.

◆ KEYCODE_r

#define KEYCODE_r   0x72

Definition at line 65 of file keyboard_teleop.cpp.

◆ KEYCODE_s

#define KEYCODE_s   0x73

Definition at line 66 of file keyboard_teleop.cpp.

◆ KEYCODE_t

#define KEYCODE_t   0x74

Definition at line 67 of file keyboard_teleop.cpp.

◆ KEYCODE_u

#define KEYCODE_u   0x75

Definition at line 68 of file keyboard_teleop.cpp.

◆ KEYCODE_v

#define KEYCODE_v   0x76

Definition at line 69 of file keyboard_teleop.cpp.

◆ KEYCODE_w

#define KEYCODE_w   0x77

Definition at line 70 of file keyboard_teleop.cpp.

◆ KEYCODE_x

#define KEYCODE_x   0x78

Definition at line 71 of file keyboard_teleop.cpp.

◆ KEYCODE_y

#define KEYCODE_y   0x79

Definition at line 72 of file keyboard_teleop.cpp.

◆ KEYCODE_z

#define KEYCODE_z   0x7a

Definition at line 73 of file keyboard_teleop.cpp.

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 246 of file keyboard_teleop.cpp.

◆ quit()

void quit ( int  sig)

Definition at line 79 of file keyboard_teleop.cpp.

Variable Documentation

◆ kfd

int kfd = 0

Definition at line 76 of file keyboard_teleop.cpp.

◆ raw

struct termios cooked raw

Definition at line 77 of file keyboard_teleop.cpp.



ros_control_boilerplate
Author(s): Dave Coleman
autogenerated on Mon Feb 28 2022 23:27:26