21 namespace std_plugins {
39 PluginBase::initialize(uas_);
66 void handle_heartbeat(
const mavlink::mavlink_message_t *msg, mavlink::common::msg::HEARTBEAT &hb) {
70 void handle_sys_status(
const mavlink::mavlink_message_t *msg, mavlink::common::msg::SYS_STATUS &st) {
74 void handle_statustext(
const mavlink::mavlink_message_t *msg, mavlink::common::msg::STATUSTEXT &st) {
MAVROS Plugin base class.
#define ROS_INFO_NAMED(name,...)
void handle_heartbeat(const mavlink::mavlink_message_t *msg, mavlink::common::msg::HEARTBEAT &hb)
HandlerInfo make_handler(const mavlink::msgid_t id, void(_C::*fn)(const mavlink::mavlink_message_t *msg, const mavconn::Framing framing))
#define ROS_INFO_STREAM_NAMED(name, args)
Subscriptions get_subscriptions()
PluginBase()
Plugin constructor Should not do anything before initialize()
void handle_statustext(const mavlink::mavlink_message_t *msg, mavlink::common::msg::STATUSTEXT &st)
void initialize(UAS &uas_)
void handle_statustext_raw(const mavlink::mavlink_message_t *msg, const mavconn::Framing f)
std::vector< HandlerInfo > Subscriptions
Subscriptions vector.
void handle_sys_status(const mavlink::mavlink_message_t *msg, mavlink::common::msg::SYS_STATUS &st)
#define PLUGINLIB_EXPORT_CLASS(class_type, base_class_type)
constexpr std::underlying_type< _T >::type enum_value(_T e)