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
[legend]

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 284 of file sys_status.cpp.


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


mavros
Author(s): Vladimir Ermakov
autogenerated on Tue Jun 1 2021 02:36:27