Public Member Functions | Private Attributes | List of all members
mavros::std_plugins::BatteryStatusDiag Class Reference

Battery diagnostic updater. More...

Inheritance diagram for mavros::std_plugins::BatteryStatusDiag:
Inheritance graph

Public Member Functions

 BatteryStatusDiag (const std::string &name)
void run (diagnostic_updater::DiagnosticStatusWrapper &stat)
void set (float volt, float curr, float rem)
void set_min_voltage (float volt)
- Public Member Functions inherited from diagnostic_updater::DiagnosticTask
 DiagnosticTask (const std::string name)
const std::string & getName ()
virtual ~DiagnosticTask ()

Private Attributes

float current
float min_voltage
std::mutex mutex
float remaining
float voltage

Detailed Description

Battery diagnostic updater.

Definition at line 277 of file sys_status.cpp.

The documentation for this class was generated from the following file:

Author(s): Vladimir Ermakov
autogenerated on Mon Jul 8 2019 03:20:11