Josh Henderson
e37efa45de
AP_BattMonitor: add SMBus address param and create SMBus subtree
2021-08-03 09:36:26 +10:00
Josh Henderson
84fb03cb79
AP_BattMonitor: SMBus remove unused bool returns
2021-07-18 16:13:06 -07:00
Josh Henderson
dfa8e55622
AP_BattMonitor: add has_temperature method to Backend
2021-01-12 17:43:55 +11:00
Nick Belanger
dbe5b90398
AP_BattMonitor: Adding driver for Rotoye Batmon equipped smart batteries
2020-11-11 14:24:13 +11:00
Randy Mackay
2396a8176c
AP_BattMonitor: comment fix
2020-06-05 16:57:39 -07:00
Randy Mackay
268c67d12d
AP_BattMonitor: correct Maxell capacity
2020-06-05 16:57:39 -07:00
Randy Mackay
3de2dff6e3
AP_BattMonitor: simplify SMBus driver includes
2020-06-05 16:57:39 -07:00
Randy Mackay
4ea565e4ed
AP_BattMonitor: Maxell driver inherits from SMBus_Generic
2020-06-05 16:57:39 -07:00
Randy Mackay
f869cd9aa6
AP_BattMonitor: complete rename of SMBus_Maxell to Generic
2020-06-05 16:57:39 -07:00
Andrew Tridgell
ece777098c
AP_BattMonitor: added SUI SMBUS battery backend
...
originally by Kelly Schrock
2019-12-30 09:50:04 -07:00
Randy Mackay
300c0aafb1
AP_BattMonitor: add cycle count for smbus batteries
2019-12-18 15:54:42 +11:00
Andrew Tridgell
11518857b6
AP_BattMonitor: added reset_remaining() API
...
used to allow battery swap before takeoff
2019-06-25 09:56:25 +10:00
murata
3ec733d4f8
AP_BattMonitor: Aggregate the commands defined in the SMBUS specification.
...
AP_BattMonitor: Aggregate the commands defined in the SMBUS specification.
2018-02-02 09:17:30 +09: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
Michael du Breuil
3dd47bff8b
AP_BattMonitor: Allow generic SMBus batteries to not have cell voltages
2017-07-15 14:53:53 +01:00
Randy Mackay
7a2d8fd5fd
AP_BattMonitor: add has_cell_voltages method
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
f026438f22
AP_BattMonitor: Fetch remaining capacity
2017-05-30 20:28:12 +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
Michael du Breuil
3ab3face9b
AP_BattMonitor: SMBus: Read serial number
2017-04-28 00:36:10 +01:00
Michael du Breuil
e0d49e6d84
AP_BattMonitor: Use a unified SMBus temperature interface
2017-04-21 00:38:41 +01:00
Michael du Breuil
9c3b97347a
AP_BattMonitor: Unify read_word interface
2017-04-21 00:38:41 +01:00
Michael du Breuil
3319c3ccdc
AP_BattMonitor: Use a common PEC helper
2017-04-21 00:38:41 +01:00
Randy Mackay
ebb60e8d2f
AP_BattMonitor: remove PX4 driver
2017-02-09 10:45:01 +09:00
Tatsuya Yamaguchi
3e445fd4b8
AP_BattMonitor: add Maxell Battery support
2017-02-09 10:45:00 +09:00
Tatsuya Yamaguchi
d30350276c
AP_BattMonitor: I2C driver becomes Solo driver
...
Rename class to Solo
Use internal I2C bus
Add capacity, current, button press checking
Only check continuously for voltage if reading fails for more than 5 seconds
2017-02-09 10:44:50 +09: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
c7dd6ae816
BattMon: SMBus becomes unhealthy after 5sec timeout
...
Also remove unused internal variable
2015-03-20 11:05:30 +09:00
Randy Mackay
314db1403d
BattMon_SMBus: smart battery monitor driver
2014-12-31 15:22:45 +09:00