21 namespace std_plugins {
39 PluginBase::initialize(uas_);
66 void handle_heartbeat(
const mavlink::mavlink_message_t *msg, mavlink::minimal::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.
Subscriptions get_subscriptions() override
#define ROS_INFO_NAMED(name,...)
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)
PluginBase()
Plugin constructor Should not do anything before initialize()
void handle_statustext(const mavlink::mavlink_message_t *msg, mavlink::common::msg::STATUSTEXT &st)
void handle_heartbeat(const mavlink::mavlink_message_t *msg, mavlink::minimal::msg::HEARTBEAT &hb)
void handle_statustext_raw(const mavlink::mavlink_message_t *msg, const mavconn::Framing f)
void initialize(UAS &uas_) override
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)