Public Member Functions | Private Member Functions | Private Attributes
universal_teleop::Teleop Class Reference

#include <teleop.h>

List of all members.

Public Member Functions

void control (void)
 Teleop (void)

Private Member Functions

void joystick_event (const sensor_msgs::Joy::ConstPtr &joy)
void keyboard_down_event (const keyboard::Key::ConstPtr &key)
void keyboard_up_event (const keyboard::Key::ConstPtr &key)
void process_event (const universal_teleop::Event &e)

Private Attributes

std::map< std::string, float > axis_scales
std::map< std::string, int > joy_axes
std::map< int, std::string > joy_axis_map
std::map< int, std::string > joy_button_map
ros::Subscriber joy_sub
std::map< uint16_t, std::string > key_map
ros::Subscriber keydown_sub
ros::Subscriber keyup_sub
sensor_msgs::Joy last_joy_msg
ros::NodeHandle n
bool override_enabled
ros::Publisher pub_control
ros::Publisher pub_emergency
ros::Publisher pub_event
ros::Publisher pub_land
ros::Publisher pub_takeoff
ros::Publisher pub_vel

Detailed Description

Definition at line 10 of file teleop.h.


Constructor & Destructor Documentation

Definition at line 10 of file teleop.cpp.


Member Function Documentation

Definition at line 120 of file teleop.cpp.

void universal_teleop::Teleop::joystick_event ( const sensor_msgs::Joy::ConstPtr &  joy) [private]

Definition at line 69 of file teleop.cpp.

void universal_teleop::Teleop::keyboard_down_event ( const keyboard::Key::ConstPtr &  key) [private]

Definition at line 111 of file teleop.cpp.

void universal_teleop::Teleop::keyboard_up_event ( const keyboard::Key::ConstPtr &  key) [private]

Definition at line 101 of file teleop.cpp.

void universal_teleop::Teleop::process_event ( const universal_teleop::Event &  e) [private]

Definition at line 46 of file teleop.cpp.


Member Data Documentation

std::map<std::string, float> universal_teleop::Teleop::axis_scales [private]

Definition at line 33 of file teleop.h.

std::map<std::string, int> universal_teleop::Teleop::joy_axes [private]

Definition at line 35 of file teleop.h.

std::map<int, std::string> universal_teleop::Teleop::joy_axis_map [private]

Definition at line 30 of file teleop.h.

std::map<int, std::string> universal_teleop::Teleop::joy_button_map [private]

Definition at line 29 of file teleop.h.

Definition at line 24 of file teleop.h.

std::map<uint16_t, std::string> universal_teleop::Teleop::key_map [private]

Definition at line 31 of file teleop.h.

Definition at line 24 of file teleop.h.

Definition at line 24 of file teleop.h.

sensor_msgs::Joy universal_teleop::Teleop::last_joy_msg [private]

Definition at line 28 of file teleop.h.

Definition at line 22 of file teleop.h.

Definition at line 37 of file teleop.h.

Definition at line 25 of file teleop.h.

Definition at line 26 of file teleop.h.

Definition at line 25 of file teleop.h.

Definition at line 26 of file teleop.h.

Definition at line 26 of file teleop.h.

Definition at line 25 of file teleop.h.


The documentation for this class was generated from the following files:


universal_teleop
Author(s):
autogenerated on Thu Aug 27 2015 15:32:46