Classes | |
struct | Axis |
struct | Button |
Public Member Functions | |
sensor_msgs::Joy::_axes_type::value_type | getAxis (const sensor_msgs::JoyConstPtr &joy, Axis axis) |
sensor_msgs::Joy::_buttons_type::value_type | getButton (const sensor_msgs::JoyConstPtr &joy, int button) |
void | joyTwistCallback (const sensor_msgs::JoyConstPtr &joy) |
void | stop () |
Teleop () | |
~Teleop () | |
Private Attributes | |
struct { | |
Axis x | |
Axis y | |
Axis yaw | |
Axis z | |
} | axes_ |
ros::Subscriber | joy_subscriber_ |
ros::NodeHandle | node_handle_ |
geometry_msgs::Twist | velocity_ |
ros::Publisher | velocity_publisher_ |
Definition at line 34 of file quadrotor_teleop.cpp.
Teleop::Teleop | ( | ) | [inline] |
Definition at line 63 of file quadrotor_teleop.cpp.
Teleop::~Teleop | ( | ) | [inline] |
Definition at line 82 of file quadrotor_teleop.cpp.
sensor_msgs::Joy::_axes_type::value_type Teleop::getAxis | ( | const sensor_msgs::JoyConstPtr & | joy, |
Axis | axis | ||
) | [inline] |
Definition at line 96 of file quadrotor_teleop.cpp.
sensor_msgs::Joy::_buttons_type::value_type Teleop::getButton | ( | const sensor_msgs::JoyConstPtr & | joy, |
int | button | ||
) | [inline] |
Definition at line 111 of file quadrotor_teleop.cpp.
void Teleop::joyTwistCallback | ( | const sensor_msgs::JoyConstPtr & | joy | ) | [inline] |
Definition at line 87 of file quadrotor_teleop.cpp.
void Teleop::stop | ( | ) | [inline] |
Definition at line 120 of file quadrotor_teleop.cpp.
struct { ... } Teleop::axes_ [private] |
ros::Subscriber Teleop::joy_subscriber_ [private] |
Definition at line 38 of file quadrotor_teleop.cpp.
ros::NodeHandle Teleop::node_handle_ [private] |
Definition at line 37 of file quadrotor_teleop.cpp.
geometry_msgs::Twist Teleop::velocity_ [private] |
Definition at line 41 of file quadrotor_teleop.cpp.
ros::Publisher Teleop::velocity_publisher_ [private] |
Definition at line 40 of file quadrotor_teleop.cpp.
Definition at line 56 of file quadrotor_teleop.cpp.
Definition at line 57 of file quadrotor_teleop.cpp.
Definition at line 59 of file quadrotor_teleop.cpp.
Definition at line 58 of file quadrotor_teleop.cpp.