Public Member Functions | Private Member Functions | Private Attributes | List of all members
mavros::extra_plugins::PlayTunePlugin Class Reference
Inheritance diagram for mavros::extra_plugins::PlayTunePlugin:
Inheritance graph
[legend]

Public Member Functions

Subscriptions get_subscriptions () override
 
void initialize (UAS &uas_) override
 
 PlayTunePlugin ()
 
- Public Member Functions inherited from mavros::plugin::PluginBase
virtual ~PluginBase ()
 

Private Member Functions

void callback (const mavros_msgs::PlayTuneV2::ConstPtr &tune)
 

Private Attributes

ros::NodeHandle nh
 
ros::Subscriber sub
 

Additional Inherited Members

- Public Types inherited from mavros::plugin::PluginBase
typedef boost::shared_ptr< PluginBase const > ConstPtr
 
typedef mavconn::MAVConnInterface::ReceivedCb HandlerCb
 
typedef std::tuple< mavlink::msgid_t, const char *, size_t, HandlerCbHandlerInfo
 
typedef boost::shared_ptr< PluginBasePtr
 
typedef std::vector< HandlerInfoSubscriptions
 
- Protected Member Functions inherited from mavros::plugin::PluginBase
virtual void capabilities_cb (UAS::MAV_CAP capabilities)
 
virtual void connection_cb (bool connected)
 
void enable_capabilities_cb ()
 
void enable_connection_cb ()
 
HandlerInfo make_handler (const mavlink::msgid_t id, void(_C::*fn)(const mavlink::mavlink_message_t *msg, const mavconn::Framing framing))
 
HandlerInfo make_handler (void(_C::*fn)(const mavlink::mavlink_message_t *, _T &))
 
 PluginBase ()
 
- Protected Attributes inherited from mavros::plugin::PluginBase
UASm_uas
 

Detailed Description

Definition at line 9 of file play_tune.cpp.

Constructor & Destructor Documentation

mavros::extra_plugins::PlayTunePlugin::PlayTunePlugin ( )
inline

Definition at line 12 of file play_tune.cpp.

Member Function Documentation

void mavros::extra_plugins::PlayTunePlugin::callback ( const mavros_msgs::PlayTuneV2::ConstPtr tune)
inlineprivate

Definition at line 28 of file play_tune.cpp.

Subscriptions mavros::extra_plugins::PlayTunePlugin::get_subscriptions ( )
inlineoverridevirtual

Implements mavros::plugin::PluginBase.

Definition at line 20 of file play_tune.cpp.

void mavros::extra_plugins::PlayTunePlugin::initialize ( UAS uas_)
inlineoverridevirtual

Reimplemented from mavros::plugin::PluginBase.

Definition at line 14 of file play_tune.cpp.

Member Data Documentation

ros::NodeHandle mavros::extra_plugins::PlayTunePlugin::nh
private

Definition at line 25 of file play_tune.cpp.

ros::Subscriber mavros::extra_plugins::PlayTunePlugin::sub
private

Definition at line 26 of file play_tune.cpp.


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


mavros_extras
Author(s): Vladimir Ermakov , Amilcar Lucas
autogenerated on Tue Jun 1 2021 02:36:37