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

Public Member Functions

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

Private Member Functions

void handle_log_data (const mavlink::mavlink_message_t *, mavlink::common::msg::LOG_DATA &ld)
 
void handle_log_entry (const mavlink::mavlink_message_t *, mavlink::common::msg::LOG_ENTRY &le)
 
bool log_request_data_cb (mavros_msgs::LogRequestData::Request &req, mavros_msgs::LogRequestData::Response &res)
 
bool log_request_end_cb (mavros_msgs::LogRequestEnd::Request &, mavros_msgs::LogRequestEnd::Response &res)
 
bool log_request_list_cb (mavros_msgs::LogRequestList::Request &req, mavros_msgs::LogRequestList::Response &res)
 

Private Attributes

ros::Publisher log_data_pub
 
ros::Publisher log_entry_pub
 
ros::ServiceServer log_request_data_srv
 
ros::ServiceServer log_request_end_srv
 
ros::ServiceServer log_request_list_srv
 
ros::NodeHandle nh
 

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 10 of file log_transfer.cpp.

Constructor & Destructor Documentation

mavros::extra_plugins::LogTransferPlugin::LogTransferPlugin ( )
inline

Definition at line 12 of file log_transfer.cpp.

Member Function Documentation

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

Implements mavros::plugin::PluginBase.

Definition at line 30 of file log_transfer.cpp.

void mavros::extra_plugins::LogTransferPlugin::handle_log_data ( const mavlink::mavlink_message_t ,
mavlink::common::msg::LOG_DATA &  ld 
)
inlineprivate

Definition at line 55 of file log_transfer.cpp.

void mavros::extra_plugins::LogTransferPlugin::handle_log_entry ( const mavlink::mavlink_message_t ,
mavlink::common::msg::LOG_ENTRY &  le 
)
inlineprivate

Definition at line 43 of file log_transfer.cpp.

void mavros::extra_plugins::LogTransferPlugin::initialize ( UAS uas)
inlineoverridevirtual

Reimplemented from mavros::plugin::PluginBase.

Definition at line 15 of file log_transfer.cpp.

bool mavros::extra_plugins::LogTransferPlugin::log_request_data_cb ( mavros_msgs::LogRequestData::Request &  req,
mavros_msgs::LogRequestData::Response &  res 
)
inlineprivate

Definition at line 87 of file log_transfer.cpp.

bool mavros::extra_plugins::LogTransferPlugin::log_request_end_cb ( mavros_msgs::LogRequestEnd::Request &  ,
mavros_msgs::LogRequestEnd::Response &  res 
)
inlineprivate

Definition at line 105 of file log_transfer.cpp.

bool mavros::extra_plugins::LogTransferPlugin::log_request_list_cb ( mavros_msgs::LogRequestList::Request &  req,
mavros_msgs::LogRequestList::Response &  res 
)
inlineprivate

Definition at line 70 of file log_transfer.cpp.

Member Data Documentation

ros::Publisher mavros::extra_plugins::LogTransferPlugin::log_data_pub
private

Definition at line 40 of file log_transfer.cpp.

ros::Publisher mavros::extra_plugins::LogTransferPlugin::log_entry_pub
private

Definition at line 40 of file log_transfer.cpp.

ros::ServiceServer mavros::extra_plugins::LogTransferPlugin::log_request_data_srv
private

Definition at line 41 of file log_transfer.cpp.

ros::ServiceServer mavros::extra_plugins::LogTransferPlugin::log_request_end_srv
private

Definition at line 41 of file log_transfer.cpp.

ros::ServiceServer mavros::extra_plugins::LogTransferPlugin::log_request_list_srv
private

Definition at line 41 of file log_transfer.cpp.

ros::NodeHandle mavros::extra_plugins::LogTransferPlugin::nh
private

Definition at line 39 of file log_transfer.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