System Status plugin. More...
#include <mavros/mavros_plugin.h>
#include <pluginlib/class_list_macros.h>
#include <mavros_msgs/State.h>
#include <mavros_msgs/ExtendedState.h>
#include <mavros_msgs/BatteryStatus.h>
#include <mavros_msgs/StreamRate.h>
#include <mavros_msgs/SetMode.h>
#include <mavros_msgs/CommandLong.h>
Go to the source code of this file.
Classes | |
class | mavplugin::BatteryStatusDiag |
Battery diagnostic updater. More... | |
class | mavplugin::HeartbeatStatus |
class | mavplugin::HwStatus |
Hardware status (APM-only) More... | |
class | mavplugin::MemInfo |
Memory usage diag (APM-only) More... | |
class | mavplugin::SystemStatusDiag |
System status diagnostic updater. More... | |
class | mavplugin::SystemStatusPlugin |
System status plugin. More... | |
Namespaces | |
namespace | mavplugin |
Defines | |
#define | STAT_ADD_SENSOR(msg, sensor_mask) |
System Status plugin.
Definition in file sys_status.cpp.
#define STAT_ADD_SENSOR | ( | msg, | |
sensor_mask | |||
) |
if (last_st.onboard_control_sensors_enabled & sensor_mask) \ stat.add(msg, (last_st.onboard_control_sensors_health & sensor_mask) ? "Ok" : "Fail")