System Status plugin. More...
#include <mavros/mavros_plugin.h>
#include <pluginlib/class_list_macros.h>
#include <mavros/State.h>
#include <mavros/BatteryStatus.h>
#include <mavros/StreamRate.h>
#include <mavros/SetMode.h>
Go to the source code of this file.
Classes | |
class | mavplugin::BatteryStatusDiag |
class | mavplugin::HeartbeatStatus |
class | mavplugin::HwStatus |
class | mavplugin::MemInfo |
class | mavplugin::SystemStatusDiag |
class | mavplugin::SystemStatusPlugin |
System status plugin. Required for most applications. 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")