|
APM:Libraries
|
#include <AP_BattMonitor.h>
Public Attributes | |
| cells | cell_voltages |
| float | voltage |
| float | current_amps |
| float | consumed_mah |
| float | consumed_wh |
| uint32_t | last_time_micros |
| uint32_t | low_voltage_start_ms |
| uint32_t | critical_voltage_start_ms |
| float | temperature |
| uint32_t | temperature_time |
| float | voltage_resting_estimate |
| float | resistance |
| BatteryFailsafe | failsafe |
| bool | healthy |
Definition at line 65 of file AP_BattMonitor.h.
| cells AP_BattMonitor::BattMonitor_State::cell_voltages |
Definition at line 66 of file AP_BattMonitor.h.
Referenced by AP_BattMonitor::get_cell_voltages(), AP_BattMonitor_SMBus_Solo::timer(), and AP_BattMonitor_SMBus_Maxell::timer().
| float AP_BattMonitor::BattMonitor_State::consumed_mah |
Definition at line 69 of file AP_BattMonitor.h.
Referenced by AP_BattMonitor_Backend::capacity_remaining_pct(), AP_BattMonitor::consumed_mah(), AP_BattMonitor_Analog::read(), and AP_BattMonitor_SMBus::read_remaining_capacity().
| float AP_BattMonitor::BattMonitor_State::consumed_wh |
Definition at line 70 of file AP_BattMonitor.h.
Referenced by AP_BattMonitor::consumed_wh(), and AP_BattMonitor_Analog::read().
| uint32_t AP_BattMonitor::BattMonitor_State::critical_voltage_start_ms |
Definition at line 73 of file AP_BattMonitor.h.
Referenced by AP_BattMonitor::check_failsafe().
| float AP_BattMonitor::BattMonitor_State::current_amps |
Definition at line 68 of file AP_BattMonitor.h.
Referenced by AP_BattMonitor::current_amps(), AP_BattMonitor::overpower_detected(), AP_BattMonitor_Analog::read(), AP_BattMonitor_SMBus_Solo::timer(), AP_BattMonitor_SMBus_Maxell::timer(), and AP_BattMonitor_Backend::update_resistance_estimate().
| BatteryFailsafe AP_BattMonitor::BattMonitor_State::failsafe |
Definition at line 78 of file AP_BattMonitor.h.
Referenced by AP_BattMonitor::check_failsafes().
| bool AP_BattMonitor::BattMonitor_State::healthy |
Definition at line 79 of file AP_BattMonitor.h.
Referenced by AP_BattMonitor_Analog::AP_BattMonitor_Analog(), AP_BattMonitor::healthy(), AP_BattMonitor::overpower_detected(), AP_BattMonitor_SMBus_Solo::timer(), and AP_BattMonitor_SMBus_Maxell::timer().
| uint32_t AP_BattMonitor::BattMonitor_State::last_time_micros |
Definition at line 71 of file AP_BattMonitor.h.
Referenced by AP_BattMonitor_Analog::read(), AP_BattMonitor_SMBus_Solo::timer(), and AP_BattMonitor_SMBus_Maxell::timer().
| uint32_t AP_BattMonitor::BattMonitor_State::low_voltage_start_ms |
Definition at line 72 of file AP_BattMonitor.h.
Referenced by AP_BattMonitor::check_failsafe().
| float AP_BattMonitor::BattMonitor_State::resistance |
Definition at line 77 of file AP_BattMonitor.h.
Referenced by AP_BattMonitor::get_resistance(), and AP_BattMonitor_Backend::update_resistance_estimate().
| float AP_BattMonitor::BattMonitor_State::temperature |
Definition at line 74 of file AP_BattMonitor.h.
Referenced by AP_BattMonitor::get_temperature(), and AP_BattMonitor_SMBus::read_temp().
| uint32_t AP_BattMonitor::BattMonitor_State::temperature_time |
Definition at line 75 of file AP_BattMonitor.h.
Referenced by AP_BattMonitor_SMBus::read_temp().
| float AP_BattMonitor::BattMonitor_State::voltage |
Definition at line 67 of file AP_BattMonitor.h.
Referenced by AP_BattMonitor::check_failsafe(), AP_BattMonitor::overpower_detected(), AP_BattMonitor_Analog::read(), AP_BattMonitor_SMBus_Maxell::timer(), AP_BattMonitor_SMBus_Solo::timer(), AP_BattMonitor_Backend::update_resistance_estimate(), and AP_BattMonitor::voltage().
| float AP_BattMonitor::BattMonitor_State::voltage_resting_estimate |
Definition at line 76 of file AP_BattMonitor.h.
Referenced by AP_BattMonitor_Backend::update_resistance_estimate().
1.8.13