TunaLobster
aa2c6b8d17
AP_BattMonitor: Add macros for Fuel options
...
Adds macros for FuelFlow, FuelLevel_PWM, and FuelLevel_Analog. The features are enabled on all 2MB boards.
3 years ago
TunaLobster
6733f75542
AP_BattMonitor: Add Fuel Level Analog driver
3 years ago
Andrew Tridgell
ba10c0ae42
AP_BattMonitor: make healthy() check all configured monitors
...
GCS reporting for SYS_STATUS should check all healthy, not just first
backend
3 years ago
Andrew Tridgell
9c067f360f
AP_BattMonitor: added option to send resting voltage to GCS
3 years ago
Hwurzburg
95e074a7bc
AP_BattMonitor: update option names in BATTMonitor in prep for expansion
3 years ago
Shiv Tyagi
c34301d925
AP_BattMonitor: remove MPPT_PacketDigital from Type enum
...
we have removed AP_BattMonitor_MPPT_PacketDigital, hence this should be removed too
3 years ago
Shiv Tyagi
b34a7e46a8
AP_BatteryMonitor: remove AP_BattMonitor_MPPT_PacketDigital class
...
since latest versions of PacketDigital MPPT support UAVCAN, we can remove this older class
3 years ago
Randy Mackay
dea7e969bd
AP_BattMonitor_UAVCAN: re-format text based fault reporting and add get_mavlink_fault_bitmask
3 years ago
Josh Henderson
fb28b39206
AP_BattMonitor: remove old parameter conversion to allow setting BATT_MONITOR to 0
3 years ago
Andrew Tridgell
75dfa6bae4
AP_BattMonitor: support other INA2xx battery monitors
...
added parameters for I2C bus and address. Tested on INA231 and INA226
This allows any 2M flash board to use an INA2xx battery monitor
3 years ago
Iampete1
73fb871695
AP_BatteryMoniter: combine pointer loaded param tables
3 years ago
Randy Mackay
d3c8a5e85f
AP_BattMonitor: add torqeedo battery monitor
3 years ago
李孟晓
bf1a17825c
AP_BattMonitor: Provide the time remaining
3 years ago
Andrew Tridgell
281b8eb234
AP_BattMonitor: support LTC2946 I2C battery monitoring
3 years ago
Andrew Tridgell
2903e10fc0
AP_BattMonitor: added INA231 backend
...
only enabled via hwdef.dat for now
3 years ago
Tatsuya Yamaguchi
1dcc5c3030
AP_BattMonitor: cope with AP_BATT_MONITOR_MAX_INSTANCES < 9
3 years ago
Willian Galvani
735e2ab651
AP_BattMonitor: change capacity_remaining_pct() to a bool
3 years ago
Josh Henderson
289264f1dd
AP_BattMonitor: move analog parameters to subgroupvarptr
4 years ago
Josh Henderson
e37efa45de
AP_BattMonitor: add SMBus address param and create SMBus subtree
4 years ago
Dr.-Ing. Amilcar do Carmo Lucas
85666959ea
AP_BattMonitor: Increase the max. nr. of supported battery cells from 12 to 14
...
Uses a second message, because the original message does not support any more fields
4 years ago
Josh Henderson
80a17cb97f
AP_BattMonitor: get Mavlink charge state
4 years ago
Tom Pittenger
a365e18420
AP_BattMonitor: add MPPT PacketDigital driver
4 years ago
Iampete1
9fdceeded3
AP_BattMoniter: add reset remaining per-instance rename existing to _mask
4 years ago
Patrick José Pereira
d190fff887
AP_BattMonitor: Add missing const in member functions
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
4 years ago
Peter Barker
00a8a8fe8e
AP_BattMonitor: use enum class For Battery Failsafe
4 years ago
Tom Pittenger
171a10e117
AP_BattMonitor: Add support for multiple UAVCAN batteries from a single node
4 years ago
Gone4Dirt
836717c0af
AP_BattMonitor: Add support for AP_Generator frontend-backend
4 years ago
Nick Belanger
dbe5b90398
AP_BattMonitor: Adding driver for Rotoye Batmon equipped smart batteries
4 years ago
Peter Barker
2e3ba2a4d2
AP_BattMonitor: move battery type enumeration out of parameters object
5 years ago
Peter Barker
8e708a0a32
AP_BattMonitor: add backend for generator supply
5 years ago
Randy Mackay
3e519b25a4
AP_BattMonitor: fix comments re voltage scaling
5 years ago
Randy Mackay
cc6298e7ac
AP_BattMonitor: SMBus Generic reads up to 12 cell voltages
...
Checks for the highest cell for 15 seconds and then reduces the cell voltage calls to cover only those cells that actually exist
also renames SMBus _last_cell_update_us
5 years ago
Randy Mackay
4ea565e4ed
AP_BattMonitor: Maxell driver inherits from SMBus_Generic
5 years ago
Randy Mackay
f869cd9aa6
AP_BattMonitor: complete rename of SMBus_Maxell to Generic
5 years ago
Randy Mackay
300c0aafb1
AP_BattMonitor: add cycle count for smbus batteries
5 years ago
Andrew Tridgell
fbe69ba9ab
AP_BattMonitor: support selective enable of SMBUS and fuel battery monitors
5 years ago
James
e474b7dcfe
AP_BattMonitor: add PWM Fuel Level Sensor
...
this sensor produces PWM between 1100 and 1900, giving fuel level as a
percentage
6 years ago
Michael du Breuil
0a4e3a77b3
AP_BattMonitor: Refactor interface for fetching current related data
6 years ago
Andrew Tridgell
11518857b6
AP_BattMonitor: added reset_remaining() API
...
used to allow battery swap before takeoff
6 years ago
Michael du Breuil
e177db7dcd
AP_BattMonitor: Remove unused method, make some public functions private
6 years ago
Andrew Tridgell
5571a84a49
AP_BattMonitor: added a "battery" backend for liquid fuel flow
...
This is for sensors that give a pulse for each fixed volume of fuel.
Output is:
- current in Amps maps to in litres/hour
- consumed mAh is in consumed millilitres
- fixed 1.0v voltage
6 years ago
Michael du Breuil
d96aad86a5
AP_BattMonitor: Make type() const
6 years ago
Tom Pittenger
8ef4616bc2
AP_BattMonitor: unify singleton naming to _singleton and get_singleton()
6 years ago
Matt
134e7fb81c
AP_BattMonitor: Add powering off mavlink broadcast
6 years ago
Andrew Tridgell
25247433dc
AP_BattMonitor: added Sum backend type
...
this is used to combine battery monitors into a single reporting
unit. It operates on all instances beyond itself
6 years ago
Michael du Breuil
8b3d993b1e
AP_BattMonitor: Enable 9 battery monitors
6 years ago
Michael du Breuil
0137d6543f
AP_BattMonitor: Allow AP_BattMonitor to run arming checks
6 years ago
Dr.-Ing. Amilcar Do Carmo Lucas
24c1b0890d
AP_BattMonitor: NFC improve coments
7 years ago
Michael du Breuil
4a11093ebb
AP_BattMonitor: Support critical and low battery failsafes
...
Also removes the example script, as it was broken, and causing more
headaches then it was worth
7 years ago
Dr.-Ing. Amilcar Do Carmo Lucas
6cbeb73d1b
AP_BattMonitor: NFC rename functions and variables to match their functionality
7 years ago