Public Member Functions | Private Member Functions | Private Attributes
mavplugin::RCIOPlugin Class Reference

RC IO plugin. More...

Inheritance diagram for mavplugin::RCIOPlugin:
Inheritance graph
[legend]

List of all members.

Public Member Functions

std::string const get_name () const
 Plugin name (CamelCase)
const message_map get_rx_handlers ()
 Return map with message rx handlers.
void initialize (UAS &uas_, ros::NodeHandle &nh, diagnostic_updater::Updater &diag_updater)
 Plugin initializer.
 RCIOPlugin ()

Private Member Functions

void connection_cb (bool connected)
void handle_rc_channels (const mavlink_message_t *msg, uint8_t sysid, uint8_t compid)
void handle_rc_channels_raw (const mavlink_message_t *msg, uint8_t sysid, uint8_t compid)
void handle_servo_output_raw (const mavlink_message_t *msg, uint8_t sysid, uint8_t compid)
void override_cb (const mavros::OverrideRCIn::ConstPtr req)
void rc_channels_override (const boost::array< uint16_t, 8 > &channels)

Private Attributes

bool has_rc_channels_msg
std::recursive_mutex mutex
ros::Subscriber override_sub
std::vector< uint16_t > raw_rc_in
std::vector< uint16_t > raw_rc_out
ros::Publisher rc_in_pub
ros::NodeHandle rc_nh
ros::Publisher rc_out_pub
UASuas

Detailed Description

RC IO plugin.

Definition at line 39 of file rc_io.cpp.


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


mavros
Author(s): Vladimir Ermakov
autogenerated on Wed Aug 26 2015 12:29:13