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
Iampete1
7d4f305f20
AP_BatteryMoniter: add mask param to sum battery backend.
3 years ago
Andy Piper
70b02aeadf
AP_BattMonitor: convert APM_BUILD_COPTER_OR_HELI() to APM_BUILD_COPTER_OR_HELI
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
Gone4Dirt
1d02ac768d
AP_BattMonitor: Add APM_BUILD_Heli
3 years ago
Peter Barker
f71b4ec568
AP_BattMonitor: rename GENERATOR_ENABLED to HAL_GENERATOR_ENABLED
3 years ago
Peter Barker
b18bdb80d6
AP_BattMonitor: move from HAL_NO_GCS to HAL_GCS_ENABLED
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
Josh Henderson
8af12608df
AP_BattMonitor: make NeoDesign obey SMBUS_ENABLE
4 years ago
Josh Henderson
80a17cb97f
AP_BattMonitor: get Mavlink charge state
4 years ago
Andy Piper
71e7f7e476
AP_BattMonitor: refector to use AP_ESC_Telem
...
rename AP_BattMonitor_BLHeliESC -> AP_BattMonitor_ESC
record volts, amps and consumption as floats
Correct ESC-telemetry-based voltage and temperature (<amilcar.lucas@iav.de>)
Correct ESC-telemetry-based voltage and temperature when less than 12 ESCs are used (<amilcar.lucas@iav.de>)
fix jumps in consumed current (<amilcar.lucas@iav.de>)
Implement temperature readings (<amilcar.lucas@iav.de>)
Fix temperature scaling (<amilcar.lucas@iav.de>)
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
Michael du Breuil
e5de148ad1
AP_BattMonitor: Fix nullptr deref when resetting a battery
4 years ago
Josh Henderson
e91953fa3b
AP_BattMonitor: move log BAT & BCL into AP_BattMonitor
4 years ago
Josh Henderson
dfa8e55622
AP_BattMonitor: add has_temperature method to Backend
4 years ago
Peter Barker
00a8a8fe8e
AP_BattMonitor: use enum class For Battery Failsafe
4 years ago
Tom Pittenger
48e2b78cab
AP_BattMonitor: fix compile for AP_Periph
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
Siddharth Purohit
9820ea9023
AP_BattMonitor: move to using CANManager library
5 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
9f26bd0a67
AP_BattMonitor: TYPE param swap for SMBus-Maxell and SMBus-Generic
...
Generic becomes type "7" which was previously Maxell. Maxell becomes type 16
5 years ago
Randy Mackay
3de2dff6e3
AP_BattMonitor: simplify SMBus driver includes
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
Kelly Schrock
2cb54bb11d
AP_BattMonitor: NeoDesign battery driver
...
Adds a driver for the NeoDesign BMS, with variable cell count.
5 years ago
Peter Barker
e1f8af1653
AP_BattMonitor: rename APMrover2 to Rover
5 years ago
Andrew Tridgell
ece777098c
AP_BattMonitor: added SUI SMBUS battery backend
...
originally by Kelly Schrock
5 years ago
Randy Mackay
0288b3d43c
AP_BattMonitor: set default I2C bus for Solo and Maxell drivers
5 years ago
murata
44a8702d94
AP_BattMonitor: Maxell battery on any I2C bus
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
Peter Barker
4fd31b7bc4
AP_BattMonitor: use corrected version of send_to_components
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
Pierre Kancir
b67bab01f6
AP_BattMonitor: pass mavlink_message_t by const reference
6 years ago
Michael du Breuil
0a4e3a77b3
AP_BattMonitor: Refactor interface for fetching current related data
6 years ago
Andrew Tridgell
88111ef81a
AP_BattMonitor: reset failsafe flags when we reset battery remaining
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
cc7d13e9ef
AP_BattMonitor: Remove param ignore flags
6 years ago
Tom Pittenger
9aa1fe6dc5
AP_BattMonitor: rename dataflash to logger
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