Peter Barker
97ea8b52af
AP_Baro: KellerLD: clean up reading of calibration data
...
Co-authored-by: Josh Henderson <hendjoshsr71@gmail.com>
Checks all return values from transfer functions to avoid use of
uninitialised data.
3 years ago
Shiv Tyagi
dd00fd720d
AP_Baro_KellerLD : set/update _p_mode_offset based on _p_mode
...
This initialises/updates _p_mode_offset on the basis of _p_mode
Co-Authored-By: Josh Henderson <69225461+hendjoshsr71@users.noreply.github.com>
Co-Authored-By: ES-Alexander <25898329+ES-Alexander@users.noreply.github.com>
3 years ago
ES-Alexander
600df16604
Add pressure offset based on device P-mode
4 years ago
Peter Barker
771666ee52
AP_Baro: correct i2c transfer invocation in KellerLD
...
This allows the device to work on boards which are not Pixhawk1. For
reasons yet to be determined.
4 years ago
Patrick José Pereira
e1b6ef3e14
AP_BARO: Fix zero as nullptr in KellerLD
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
5 years ago
Andrew Tridgell
978a7d2859
AP_Baro: added device IDs for barometers
...
this allows us to tell what barometers were detected in logs
5 years ago
Andrew Tridgell
8c563ef1bf
AP_Baro: use take_blocking instead of HAL_SEMAPHORE_BLOCK_FOREVER
...
this makes for cleaner and smaller code as the failure case is not
needed
5 years ago
Andrew Tridgell
b2cc992e0c
AP_Baro: convert to use WITH_SEMAPHORE()
7 years ago
night-ghost
cb8a34f784
AP_Baro: added range filter to backend, use it in most sensors (thanks khancyr for style correction)
7 years ago
Jacob Walser
e492c733d8
AP_Baro: fixup Keller LD comments
8 years ago
Jacob Walser
07e00de549
AP_Baro: Tweak Keller LD driver for better performance after initial tests
8 years ago
Jacob Walser
2a71afd3ba
AP_Baro: Remove superfluous casts
8 years ago
Jacob Walser
a08da4ecc4
AP_Baro: New AP_Baro_Keller device driver
8 years ago