APM:Libraries
Public Attributes | List of all members
AP_BattMonitor::BattMonitor_State Struct Reference

#include <AP_BattMonitor.h>

Collaboration diagram for AP_BattMonitor::BattMonitor_State:
[legend]

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
 

Detailed Description

Definition at line 65 of file AP_BattMonitor.h.

Member Data Documentation

◆ cell_voltages

cells AP_BattMonitor::BattMonitor_State::cell_voltages

◆ consumed_mah

float AP_BattMonitor::BattMonitor_State::consumed_mah

◆ consumed_wh

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().

◆ critical_voltage_start_ms

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().

◆ current_amps

float AP_BattMonitor::BattMonitor_State::current_amps

◆ failsafe

BatteryFailsafe AP_BattMonitor::BattMonitor_State::failsafe

Definition at line 78 of file AP_BattMonitor.h.

Referenced by AP_BattMonitor::check_failsafes().

◆ healthy

bool AP_BattMonitor::BattMonitor_State::healthy

◆ last_time_micros

uint32_t AP_BattMonitor::BattMonitor_State::last_time_micros

◆ low_voltage_start_ms

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().

◆ resistance

float AP_BattMonitor::BattMonitor_State::resistance

◆ temperature

float AP_BattMonitor::BattMonitor_State::temperature

◆ temperature_time

uint32_t AP_BattMonitor::BattMonitor_State::temperature_time

Definition at line 75 of file AP_BattMonitor.h.

Referenced by AP_BattMonitor_SMBus::read_temp().

◆ voltage

float AP_BattMonitor::BattMonitor_State::voltage

◆ voltage_resting_estimate

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().


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