#include <termios.h>
#include <signal.h>
#include <math.h>
#include <stdlib.h>
#include <stdio.h>
#include <ros/ros.h>
#include <trajectory_msgs/JointTrajectory.h>
#include <string>
#include <vector>
#include <ostream>
#include "ros/serialization.h"
#include "ros/builtin_message_traits.h"
#include "ros/message_operations.h"
#include "ros/message.h"
#include "ros/time.h"
#include "std_msgs/Header.h"
Go to the source code of this file.
Classes | |
class | TeleopHeadKeyboard |
Defines | |
#define | HEAD_TOPIC "/head_traj_controller/command" |
#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_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 HEAD_TOPIC "/head_traj_controller/command" |
Definition at line 43 of file teleop_head_keyboard.cpp.
#define KEYCODE_A 0x61 |
Definition at line 45 of file teleop_head_keyboard.cpp.
#define KEYCODE_A_CAP 0x41 |
Definition at line 50 of file teleop_head_keyboard.cpp.
#define KEYCODE_D 0x64 |
Definition at line 46 of file teleop_head_keyboard.cpp.
#define KEYCODE_D_CAP 0x44 |
Definition at line 51 of file teleop_head_keyboard.cpp.
#define KEYCODE_S 0x73 |
Definition at line 47 of file teleop_head_keyboard.cpp.
#define KEYCODE_S_CAP 0x53 |
Definition at line 52 of file teleop_head_keyboard.cpp.
#define KEYCODE_W 0x77 |
Definition at line 48 of file teleop_head_keyboard.cpp.
#define KEYCODE_W_CAP 0x57 |
Definition at line 53 of file teleop_head_keyboard.cpp.
int main | ( | int | argc, | |
char ** | argv | |||
) |
Definition at line 94 of file teleop_head_keyboard.cpp.
void quit | ( | int | sig | ) |
Definition at line 88 of file teleop_head_keyboard.cpp.
int kfd = 0 |
Definition at line 85 of file teleop_head_keyboard.cpp.
struct termios cooked raw |
Definition at line 86 of file teleop_head_keyboard.cpp.