|
APM:Libraries
|
#include <AP_Common/AP_Common.h>#include <AP_Param/AP_Param.h>#include <AP_Math/AP_Math.h>#include <GCS_MAVLink/GCS_MAVLink.h>#include "AP_BattMonitor_Params.h"Go to the source code of this file.
Classes | |
| class | AP_BattMonitor |
| struct | AP_BattMonitor::cells |
| struct | AP_BattMonitor::BattMonitor_State |
Namespaces | |
| AP | |
Macros | |
| #define | AP_BATT_MONITOR_MAX_INSTANCES 2 |
| #define | AP_BATT_PRIMARY_INSTANCE 0 |
| #define | AP_BATT_SERIAL_NUMBER_DEFAULT -1 |
| #define | AP_BATT_MONITOR_TIMEOUT 5000 |
| #define | AP_BATT_MONITOR_RES_EST_TC_1 0.5f |
| #define | AP_BATT_MONITOR_RES_EST_TC_2 0.1f |
Functions | |
| AP_BattMonitor & | AP::battery () |
| #define AP_BATT_MONITOR_MAX_INSTANCES 2 |
Definition at line 10 of file AP_BattMonitor.h.
Referenced by AP_BattMonitor::get_cell_voltages(), AP_BattMonitor::get_temperature(), AP_BattMonitor::init(), and AP_BattMonitor::pack_capacity_mah().
| #define AP_BATT_MONITOR_RES_EST_TC_1 0.5f |
Definition at line 19 of file AP_BattMonitor.h.
Referenced by AP_BattMonitor_Backend::update_resistance_estimate().
| #define AP_BATT_MONITOR_RES_EST_TC_2 0.1f |
Definition at line 20 of file AP_BattMonitor.h.
Referenced by AP_BattMonitor_Backend::update_resistance_estimate().
| #define AP_BATT_MONITOR_TIMEOUT 5000 |
Definition at line 17 of file AP_BattMonitor.h.
Referenced by AP_BattMonitor::get_temperature().
| #define AP_BATT_PRIMARY_INSTANCE 0 |
Definition at line 13 of file AP_BattMonitor.h.
Referenced by AP_BattMonitor::capacity_remaining_pct(), AP_BattMonitor::consumed_mah(), AP_BattMonitor::consumed_wh(), AP_BattMonitor::current_amps(), AP_BattMonitor::get_cell_voltages(), AP_BattMonitor::get_resistance(), AP_BattMonitor::get_temperature(), AP_BattMonitor::get_type(), AP_BattMonitor::has_cell_voltages(), AP_BattMonitor::has_consumed_energy(), AP_BattMonitor::has_current(), AP_BattMonitor::healthy(), AP_BattMonitor::pack_capacity_mah(), AP_BattMonitor::voltage(), and AP_BattMonitor::voltage_resting_estimate().
| #define AP_BATT_SERIAL_NUMBER_DEFAULT -1 |
Definition at line 15 of file AP_BattMonitor.h.
Referenced by AP_BattMonitor_SMBus::AP_BattMonitor_SMBus().
1.8.13