Classes | Defines | Functions | Variables
elektron_teleop_keyboard.cpp File Reference
#include <termios.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <ros/ros.h>
#include <geometry_msgs/Twist.h>
Include dependency graph for elektron_teleop_keyboard.cpp:

Go to the source code of this file.

Classes

class  ElektronTeleopKeyboard

Defines

#define KEYCODE_A   0x61
#define KEYCODE_A_CAP   0x41
#define KEYCODE_D   0x64
#define KEYCODE_D_CAP   0x44
#define KEYCODE_S   0x73
#define KEYCODE_S_CAP   0x53
#define KEYCODE_SPC   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 Documentation

#define KEYCODE_A   0x61

Definition at line 9 of file elektron_teleop_keyboard.cpp.

#define KEYCODE_A_CAP   0x41

Definition at line 14 of file elektron_teleop_keyboard.cpp.

#define KEYCODE_D   0x64

Definition at line 10 of file elektron_teleop_keyboard.cpp.

#define KEYCODE_D_CAP   0x44

Definition at line 15 of file elektron_teleop_keyboard.cpp.

#define KEYCODE_S   0x73

Definition at line 11 of file elektron_teleop_keyboard.cpp.

#define KEYCODE_S_CAP   0x53

Definition at line 16 of file elektron_teleop_keyboard.cpp.

#define KEYCODE_SPC   0x20

Definition at line 19 of file elektron_teleop_keyboard.cpp.

#define KEYCODE_W   0x77

Definition at line 12 of file elektron_teleop_keyboard.cpp.

#define KEYCODE_W_CAP   0x57

Definition at line 17 of file elektron_teleop_keyboard.cpp.


Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 53 of file elektron_teleop_keyboard.cpp.

void quit ( int  sig)

Definition at line 48 of file elektron_teleop_keyboard.cpp.


Variable Documentation

int kfd = 0

Definition at line 45 of file elektron_teleop_keyboard.cpp.

struct termios cooked raw

Definition at line 46 of file elektron_teleop_keyboard.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends Defines


elektron_teleop
Author(s): Maciej Stefanczyk
autogenerated on Thu Nov 14 2013 11:57:40