Classes | Public Member Functions | Private Attributes
Teleop Class Reference

List of all members.

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_

Detailed Description

Definition at line 34 of file quadrotor_teleop.cpp.


Constructor & Destructor Documentation

Teleop::Teleop ( ) [inline]

Definition at line 63 of file quadrotor_teleop.cpp.

Teleop::~Teleop ( ) [inline]

Definition at line 82 of file quadrotor_teleop.cpp.


Member Function Documentation

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.


Member Data Documentation

struct { ... } Teleop::axes_ [private]

Definition at line 38 of file quadrotor_teleop.cpp.

Definition at line 37 of file quadrotor_teleop.cpp.

geometry_msgs::Twist Teleop::velocity_ [private]

Definition at line 41 of file quadrotor_teleop.cpp.

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.


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


crazyflie_demo
Author(s): Wolfgang Hoenig
autogenerated on Sun Oct 8 2017 02:48:01