Michael du Breuil
0137d6543f
AP_BattMonitor: Allow AP_BattMonitor to run arming checks
2018-10-09 00:44:46 +01:00
Michael du Breuil
deaa5046cb
AP_BattMonitor: Split the failsafe conditions from their timers
2018-10-09 00:44:46 +01:00
Michael du Breuil
1bb4f07365
AP_BattMonitor: Move failsafe checks to the backend
2018-10-09 00:44:46 +01:00
Siddharth Purohit
6e85003b56
AP_BattMonitor: move BattInfo message subscription and handling to AP_BattMonitor
2018-08-29 22:54:59 +01:00
DOMINATOR\Eugene
fcccc0174b
AP_BattMonitor: UAVCAN battery information added
2018-03-02 11:48:00 +12:00
Holger Steinhaus
7383552ebc
AP_BatteryMonitor: count mWh spent since powerup
2018-02-06 20:00:16 -07:00
Michael du Breuil
8712fbd55d
AP_BattMonitor: Move per battery params into a containing class
2018-01-17 22:21:55 +00:00
Michael du Breuil
0cee2f2896
AP_BattMonitor: Require all backends to provide init
2017-10-26 20:10:08 +11:00
Randy Mackay
7a2d8fd5fd
AP_BattMonitor: add has_cell_voltages method
2017-06-06 14:57:04 +09:00
Leonard Hall
8709fe58ec
AP_BattMonitor: resistance learning
2017-06-06 14:57:04 +09:00
Randy Mackay
989677ddfd
AP_BattMonitor: move has_current to backend
2017-06-06 14:57:04 +09:00
Michael du Breuil
22ab8de4d2
AP_BattMonitor: SMBus: Fetch pack capacity
2017-04-28 00:36:10 +01:00
Michael du Breuil
f919c409bb
AP_BattMonitor: Remove redundant state copy
...
Every backend stored a instance reference, which wasn't used in most locations
which is redundant given that the state already tracks the instance for us as
well.
2017-04-28 00:36:10 +01:00
Francisco Ferreira
3a89421c70
AP_BattMonitor: remove Bebop fixed capacity
...
Bebop, Bebop2 and Disco all use this class but it was always setting the capacity to the Bebop one, overriding the parameter
2016-10-24 09:24:11 -03:00
Mathieu OTHACEHE
152edf7189
Global: remove mode line from headers
...
Using a global .dir-locals.el file is a better alternative than
reincluding the same emacs header in every file of the project.
2016-10-24 09:42:01 -02:00
Lucas De Marchi
62f50aede7
AP_BattMonitor: replace header guard with pragma once
2016-02-18 14:52:34 -02:00
Gustavo Jose de Sousa
ff20124f1d
AP_BattMonitor: standardize inclusion of libaries headers
...
This commit changes the way libraries headers are included in source files:
- If the header is in the same directory the source belongs to, so the
notation '#include ""' is used with the path relative to the directory
containing the source.
- If the header is outside the directory containing the source, then we use
the notation '#include <>' with the path relative to libraries folder.
Some of the advantages of such approach:
- Only one search path for libraries headers.
- OSs like Windows may have a better lookup time.
2015-08-11 16:28:42 +10:00
Randy Mackay
c6440a48b3
BattMon_Backend: add init and set_capacity methods
2015-04-11 14:10:19 +09:00
Randy Mackay
39dbf05c8f
BattMon_Backend: create backend class
2014-12-31 15:22:43 +09:00