ardupilot/libraries/AP_BattMonitor
Andrew Tridgell 11fece27d3 AP_BattMonitor: fixed battery percentage with aux info
when we have aux battery information we had assumed the CAN device
would provide the battery remaining percentage. We should obey the "do
not use CAN SoC" with or without an AUX message

This fixes CAN battery monitors with a cell monitor
2023-11-27 07:55:37 +11:00
..
tests AP_BattMonitor: Add calculate_mah, add unit tests 2021-12-22 07:52:03 +11:00
AP_BattMonitor.cpp AP_BattMonitor: support configuring battery #2 in hwdef 2023-03-15 18:51:37 +11:00
AP_BattMonitor.h AP_BattMonitor: support configuring battery #2 in hwdef 2023-03-15 18:51:37 +11:00
AP_BattMonitor_Analog.cpp AP_BattMonitor: Fixes the setting of a default parameter for battery instance #2 set in hwdef 2023-06-08 09:29:59 +10:00
AP_BattMonitor_Analog.h AP_BattMonitor: add defines for all battery backends 2023-03-10 08:48:24 +11:00
AP_BattMonitor_Backend.cpp AP_BattMoniter: don't allow equal low and critical FS thresholds 2023-01-17 10:36:09 +11:00
AP_BattMonitor_Backend.h AP_BattMonitor: add external MPPT on-off control 2023-03-07 11:42:24 +11:00
AP_BattMonitor_Bebop.cpp AP_BattMonitor: add defines for all battery backends 2023-03-10 08:48:24 +11:00
AP_BattMonitor_Bebop.h AP_BattMonitor: added reset_remaining() API 2019-06-25 09:56:25 +10:00
AP_BattMonitor_EFI.cpp AP_BattMonitor: add defines for all battery backends 2023-03-10 08:48:24 +11:00
AP_BattMonitor_EFI.h AP_BattMonitor: add defines for all battery backends 2023-03-10 08:48:24 +11:00
AP_BattMonitor_ESC.cpp AP_BattMonitor: add defines for all battery backends 2023-03-10 08:48:24 +11:00
AP_BattMonitor_ESC.h AP_BattMonitor: add defines for all battery backends 2023-03-10 08:48:24 +11:00
AP_BattMonitor_FuelFlow.cpp AP_BattMonitor: add defines for all battery backends 2023-03-10 08:48:24 +11:00
AP_BattMonitor_FuelFlow.h AP_BattMonitor: add defines for all battery backends 2023-03-10 08:48:24 +11:00
AP_BattMonitor_FuelLevel_Analog.cpp AP_BattMonitor: add defines for all battery backends 2023-03-10 08:48:24 +11:00
AP_BattMonitor_FuelLevel_Analog.h AP_BattMonitor: add defines for all battery backends 2023-03-10 08:48:24 +11:00
AP_BattMonitor_FuelLevel_PWM.cpp AP_BattMonitor: add defines for all battery backends 2023-03-10 08:48:24 +11:00
AP_BattMonitor_FuelLevel_PWM.h AP_BattMonitor: add defines for all battery backends 2023-03-10 08:48:24 +11:00
AP_BattMonitor_Generator.cpp AP_BattMonitor: rename fuel_remain_pct to fuel_remain_scale 2023-03-15 19:08:18 +11:00
AP_BattMonitor_Generator.h AP_BattMonitor: rename GENERATOR_ENABLED to HAL_GENERATOR_ENABLED 2021-09-26 19:24:09 +10:00
AP_BattMonitor_INA2xx.cpp AP_BattMonitor: added SHUNT parameter to INS2xx driver 2023-10-13 16:26:01 +09:00
AP_BattMonitor_INA2xx.h AP_BattMonitor: added SHUNT parameter to INS2xx driver 2023-10-13 16:26:01 +09:00
AP_BattMonitor_INA239.cpp AP_HAL_ChibiOS: add defines for all battery backends 2023-03-10 08:48:24 +11:00
AP_BattMonitor_INA239.h AP_BattMonitor: add defines for all battery backends 2023-03-10 08:48:24 +11:00
AP_BattMonitor_LTC2946.cpp AP_BattMonitor: add defines for all battery backends 2023-03-10 08:48:24 +11:00
AP_BattMonitor_LTC2946.h AP_BattMonitor: add defines for all battery backends 2023-03-10 08:48:24 +11:00
AP_BattMonitor_Logging.cpp AP_BattMonitor_logging: update to use capacity_remaining_pct() as a bool 2021-09-08 17:17:41 +10:00
AP_BattMonitor_Params.cpp AP_BattMonitor: support EFI "battery" backend 2023-02-09 07:12:39 +11:00
AP_BattMonitor_Params.h AP_BattMonitor: refactor Option param usage 2023-02-24 09:50:14 -08:00
AP_BattMonitor_SMBus.cpp AP_BattMonitor: add defines for all battery backends 2023-03-10 08:48:24 +11:00
AP_BattMonitor_SMBus.h AP_BattMonitor: add defines for all battery backends 2023-03-10 08:48:24 +11:00
AP_BattMonitor_SMBus_Generic.cpp AP_BattMonitor: add defines for all battery backends 2023-03-10 08:48:24 +11:00
AP_BattMonitor_SMBus_Generic.h AP_BattMonitor: add defines for all battery backends 2023-03-10 08:48:24 +11:00
AP_BattMonitor_SMBus_Maxell.h AP_BattMonitor: add defines for all battery backends 2023-03-10 08:48:24 +11:00
AP_BattMonitor_SMBus_NeoDesign.cpp AP_BattMonitor: add defines for all battery backends 2023-03-10 08:48:24 +11:00
AP_BattMonitor_SMBus_NeoDesign.h AP_BattMonitor: add defines for all battery backends 2023-03-10 08:48:24 +11:00
AP_BattMonitor_SMBus_Rotoye.cpp AP_BattMonitor: add defines for all battery backends 2023-03-10 08:48:24 +11:00
AP_BattMonitor_SMBus_Rotoye.h AP_BattMonitor: add defines for all battery backends 2023-03-10 08:48:24 +11:00
AP_BattMonitor_SMBus_SUI.cpp AP_BattMonitor: add defines for all battery backends 2023-03-10 08:48:24 +11:00
AP_BattMonitor_SMBus_SUI.h AP_BattMonitor: add defines for all battery backends 2023-03-10 08:48:24 +11:00
AP_BattMonitor_SMBus_Solo.cpp AP_BattMonitor: add defines for all battery backends 2023-03-10 08:48:24 +11:00
AP_BattMonitor_SMBus_Solo.h AP_BattMonitor: add defines for all battery backends 2023-03-10 08:48:24 +11:00
AP_BattMonitor_Sum.cpp AP_BattMonitor: add defines for all battery backends 2023-03-10 08:48:24 +11:00
AP_BattMonitor_Sum.h AP_BattMonitor: add defines for all battery backends 2023-03-10 08:48:24 +11:00
AP_BattMonitor_Synthetic_Current.cpp AP_BattMonitor: add defines for all battery backends 2023-03-10 08:48:24 +11:00
AP_BattMonitor_Synthetic_Current.h AP_BattMonitor: add defines for all battery backends 2023-03-10 08:48:24 +11:00
AP_BattMonitor_Torqeedo.cpp AP_BattMonitor: add defines for all battery backends 2023-03-10 08:48:24 +11:00
AP_BattMonitor_Torqeedo.h AP_BattMonitor: add defines for all battery backends 2023-03-10 08:48:24 +11:00
AP_BattMonitor_UAVCAN.cpp AP_BattMonitor: fixed battery percentage with aux info 2023-11-27 07:55:37 +11:00
AP_BattMonitor_UAVCAN.h AP_BattMonitor: UAVCAN: allow battery reset if not using CAN SoC 2023-09-05 19:40:15 +09:00
AP_BattMonitor_config.h AP_BattMonitor: specify AP_BATTERY_ESC_ENABLED for periph in chibios_hwdef.py 2023-03-12 09:35:35 +11:00
LogStructure.h AP_BattMonitor: mark log messages as streaming 2021-08-03 10:23:36 +10:00