#include <termios.h>
#include <signal.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <ros/ros.h>
#include <sensor_msgs/JointState.h>
#include <katana_msgs/JointMovementAction.h>
#include <control_msgs/GripperCommandAction.h>
#include <actionlib/server/simple_action_server.h>
#include <actionlib/client/simple_action_client.h>
Go to the source code of this file.
Classes | |
class | katana::KatanaTeleopKey |
Namespaces | |
namespace | katana |
Defines | |
#define | GRASP 1 |
#define | KEYCODE_0 0x30 |
#define | KEYCODE_1 0x31 |
#define | KEYCODE_2 0x32 |
#define | KEYCODE_3 0x33 |
#define | KEYCODE_4 0x34 |
#define | KEYCODE_5 0x35 |
#define | KEYCODE_6 0x36 |
#define | KEYCODE_7 0x37 |
#define | KEYCODE_8 0x38 |
#define | KEYCODE_9 0x39 |
#define | KEYCODE_A 0x61 |
#define | KEYCODE_C 0x63 |
#define | KEYCODE_COMMA 0x2C |
#define | KEYCODE_D 0x64 |
#define | KEYCODE_I 0x69 |
#define | KEYCODE_NUMBER 0x23 |
#define | KEYCODE_O 0x6F |
#define | KEYCODE_PLUS 0x2B |
#define | KEYCODE_POINT 0x2E |
#define | KEYCODE_Q 0x71 |
#define | KEYCODE_R 0x72 |
#define | KEYCODE_S 0x73 |
#define | KEYCODE_W 0x77 |
#define | RELEASE 2 |
Typedefs | |
typedef control_msgs::GripperCommandGoal | GCG |
typedef actionlib::SimpleActionClient < katana_msgs::JointMovementAction > | JMAC |
Variables | |
bool | got_joint_states_ |
int | kfd = 0 |
struct termios cooked | raw |
#define GRASP 1 |
Definition at line 73 of file katana_teleop_key.h.
#define KEYCODE_0 0x30 |
Definition at line 62 of file katana_teleop_key.h.
#define KEYCODE_1 0x31 |
Definition at line 63 of file katana_teleop_key.h.
#define KEYCODE_2 0x32 |
Definition at line 64 of file katana_teleop_key.h.
#define KEYCODE_3 0x33 |
Definition at line 65 of file katana_teleop_key.h.
#define KEYCODE_4 0x34 |
Definition at line 66 of file katana_teleop_key.h.
#define KEYCODE_5 0x35 |
Definition at line 67 of file katana_teleop_key.h.
#define KEYCODE_6 0x36 |
Definition at line 68 of file katana_teleop_key.h.
#define KEYCODE_7 0x37 |
Definition at line 69 of file katana_teleop_key.h.
#define KEYCODE_8 0x38 |
Definition at line 70 of file katana_teleop_key.h.
#define KEYCODE_9 0x39 |
Definition at line 71 of file katana_teleop_key.h.
#define KEYCODE_A 0x61 |
Definition at line 45 of file katana_teleop_key.h.
#define KEYCODE_C 0x63 |
Definition at line 55 of file katana_teleop_key.h.
#define KEYCODE_COMMA 0x2C |
Definition at line 60 of file katana_teleop_key.h.
#define KEYCODE_D 0x64 |
Definition at line 46 of file katana_teleop_key.h.
#define KEYCODE_I 0x69 |
Definition at line 52 of file katana_teleop_key.h.
#define KEYCODE_NUMBER 0x23 |
Definition at line 58 of file katana_teleop_key.h.
#define KEYCODE_O 0x6F |
Definition at line 54 of file katana_teleop_key.h.
#define KEYCODE_PLUS 0x2B |
Definition at line 57 of file katana_teleop_key.h.
#define KEYCODE_POINT 0x2E |
Definition at line 59 of file katana_teleop_key.h.
#define KEYCODE_Q 0x71 |
Definition at line 51 of file katana_teleop_key.h.
#define KEYCODE_R 0x72 |
Definition at line 50 of file katana_teleop_key.h.
#define KEYCODE_S 0x73 |
Definition at line 47 of file katana_teleop_key.h.
#define KEYCODE_W 0x77 |
Definition at line 48 of file katana_teleop_key.h.
#define RELEASE 2 |
Definition at line 74 of file katana_teleop_key.h.
typedef control_msgs::GripperCommandGoal GCG |
Definition at line 43 of file katana_teleop_key.h.
typedef actionlib::SimpleActionClient<katana_msgs::JointMovementAction> JMAC |
Definition at line 42 of file katana_teleop_key.h.
bool got_joint_states_ |
Definition at line 78 of file katana_teleop_key.h.
int kfd = 0 |
Definition at line 77 of file katana_teleop_key.h.
struct termios cooked raw |
Definition at line 76 of file katana_teleop_key.h.