Classes | Namespaces | Defines
sys_status.cpp File Reference

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>
Include dependency graph for sys_status.cpp:

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)

Detailed Description

System Status plugin.

Author:
Vladimir Ermakov <vooon341@gmail.com>

Definition in file sys_status.cpp.


Define Documentation

#define STAT_ADD_SENSOR (   msg,
  sensor_mask 
)
Value:
if (last_st.onboard_control_sensors_enabled & sensor_mask)      \
                stat.add(msg, (last_st.onboard_control_sensors_health & sensor_mask) ? "Ok" : "Fail")


mavros
Author(s): Vladimir Ermakov
autogenerated on Sat Jun 8 2019 19:55:20