Randy Mackay
bb891a62d3
BattMonitor: fix parameter descriptions
10 years ago
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.
10 years ago
Randy Mackay
42c7b4a116
BattMon_SMBus: remove unnecessary I2C semaphore give
10 years ago
Randy Mackay
3dfb447fd7
BattMon: has_current true for Bebop
...
The bebop does not actually provide current but it does estimate the
percentage of battery remaining
10 years ago
Randy Mackay
8403b504d1
BattMon: add Bebop to monitor param description
10 years ago
Randy Mackay
9482578c60
BattMon: Bebop always uses bebop batt monitor
10 years ago
Randy Mackay
84b6ab0707
BattMon_Bebop: use ARRAY_SIZE
...
Also remove printf of failure message, instead we should add the battery
monitor health to the SYS_STATUS message sent to the ground station
10 years ago
Randy Mackay
3b36178a0b
BattMon_Bebop: init members in constructor
10 years ago
Jean-Baptiste Dubois
35ae562dbe
AP_BattMonitor: Add battery support for Bebop Hardware
10 years ago
Przemek Lekston
90378b21da
AP_BattMonitor: Fix battery monitor Floating Point Exception in SITL
...
Adds a sanity check to avoid division by zero when BATT_CAPACITY is set to 0.
10 years ago
mirkix
a1d478909a
AP_BattMonitor: Add Linux support for example
10 years ago
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