#include <teleop.h>
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 |
universal_teleop::Teleop::Teleop | ( | void | ) |
Definition at line 10 of file teleop.cpp.
void universal_teleop::Teleop::control | ( | void | ) |
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.
std::map<std::string, float> universal_teleop::Teleop::axis_scales [private] |
std::map<std::string, int> universal_teleop::Teleop::joy_axes [private] |
std::map<int, std::string> universal_teleop::Teleop::joy_axis_map [private] |
std::map<int, std::string> universal_teleop::Teleop::joy_button_map [private] |
std::map<uint16_t, std::string> universal_teleop::Teleop::key_map [private] |
sensor_msgs::Joy universal_teleop::Teleop::last_joy_msg [private] |
ros::NodeHandle universal_teleop::Teleop::n [private] |
bool universal_teleop::Teleop::override_enabled [private] |