Andrew Tridgell
debe7db861
AP_BattMonitor: convert example from .pde to .cpp
10 years ago
Randy Mackay
5560d3dba1
BattMonitor: fix example sketch
10 years ago
Andrew Tridgell
8055e5792d
AP_BattMonitor: fix for HAL_SITL rename
10 years ago
Tom Pittenger
dbc01e2f1a
BattMon: fix compile warning re to unused variable
10 years ago
Tom Pittenger
0926cf17dd
BattMon: fix compile warnings re float constants
10 years ago
Randy Mackay
56d2306a18
BattMon_SMBus_PX4: read capacity
10 years ago
Randy Mackay
c6440a48b3
BattMon_Backend: add init and set_capacity methods
10 years ago
Randy Mackay
c7dd6ae816
BattMon: SMBus becomes unhealthy after 5sec timeout
...
Also remove unused internal variable
10 years ago
Randy Mackay
c44f304253
BattMon: analog monitor always healthy
10 years ago
Randy Mackay
1217ab9579
BattMon: add get_type method
10 years ago
Emile Castelnuovo
90663664f3
AP_BattMonitor: VRBRAIN deleted unused boards, corrected default batt volt divider.
10 years ago
Randy Mackay
5ba1b20d3b
BattMon: add SMBus to MONITOR param description
10 years ago
Randy Mackay
022c549339
BattMon_SMBus_I2C: use get_PEC to check reads
10 years ago
Randy Mackay
bf0e5a350c
BattMon_SMBus_I2C: add get_PEC method
10 years ago
Randy Mackay
3951e4d99b
BattMon: example sketch reads from SMBus
10 years ago
Randy Mackay
aecc8aac1f
BattMon: correct typo in monitor type enum
10 years ago
Randy Mackay
909d525206
BattMon: fix example sketch compile error
10 years ago
Randy Mackay
76a28a962c
BattMon: remove #defines for monitor type
10 years ago
Randy Mackay
f077ecd338
BattMon_PX4: class to read from PX4Firmware via orb
10 years ago
Randy Mackay
3f35dc54fe
BattMon_I2C: smart battery class for APM
10 years ago
Randy Mackay
314db1403d
BattMon_SMBus: smart battery monitor driver
10 years ago
Randy Mackay
4d7df9ed26
BattMon_Analog: move analog features to new class
10 years ago
Randy Mackay
39dbf05c8f
BattMon_Backend: create backend class
10 years ago
Randy Mackay
eec66d8451
BattMon: parent class becomes frontend class
10 years ago
Randy Mackay
45e0e48e54
BattMon: minor param description update
10 years ago
Andrew Tridgell
40709f655e
AP_BattMonitor: fixed example build
11 years ago
Andrew Tridgell
ab6302540d
AP_BattMonitor: added 2nd battery voltage monitoring
11 years ago
Andrew Tridgell
93f2d81ff4
AP_BattMonitor: fixed example build
11 years ago
Emile Castelnuovo
bdd9fe77c7
VRBRAIN: change default pin for analog input.
11 years ago
LukeMike
8f552d5758
VRBRAIN: Changed the management of VirtualRobotix's boards.
11 years ago
Kevin Hester
80cb13e222
BattMon: fixup line endings
11 years ago
Emile Castelnuovo
1d27e0d127
AP_BattMonitor: added #defines for VRBRAIN board
11 years ago
Andrew Tridgell
dcb42af3e9
AP_BattMonitor: fixed example build
11 years ago
Randy Mackay
d09fd0d035
BattMonitor: add @Increment to CAPACITY description
11 years ago
Andrew Tridgell
f34b1c280d
AP_BattMonitor: added set_monitoring() API
...
needed for test sketch
11 years ago
Randy Mackay
1a070e61f0
BattMon: amp-per-volt reduced to 17 (was 18.002)
11 years ago
Craig3DRobotics
e5501bf911
AP_BattMonitor: Updated parameter descriptions
11 years ago
Andrew Tridgell
cd65e2109d
AP_BattMonitor: fixed type in docs
11 years ago
Randy Mackay
9aea577eb1
BattMonitor: correct default pins for PX4
12 years ago
Randy Mackay
f1309ed63f
BattMonitor: bug fix for current_total_mah
12 years ago
Randy Mackay
7d73e62a23
BattMonitor: add exhausted method
...
Current total calculations changed to use micros instead of millis for
improved accuracy
Removed unused pack_capacity accessor
Initialise private members
12 years ago
Randy Mackay
d9fe099885
BattMonitor: update comments and defaults
12 years ago
Andrew Tridgell
366d73124a
AP_Battery: fixed parameter name and default voltage ratio
...
also setup SITL with right pins
12 years ago
Andrew Tridgell
88777beab0
AP_BattMonitor: minor cleanups
...
cleanup name to be multiplier not div ratio, and make 2 variables
non-static
12 years ago
Randy Mackay
8b06a12fa4
BattMonitor: initial draft lib
12 years ago