Andrew Tridgell
72dc87e5c1
AP_Baro: use NEW_NOTHROW for new(std::nothrow)
2024-06-04 09:20:21 +10:00
Peter Barker
b863f8a331
AP_Baro: allow baro backends to be individually compiled out
2022-05-22 12:11:45 +10:00
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.
2021-12-22 18:50:58 +11:00
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>
2021-12-17 11:58:19 +11:00
ES-Alexander
600df16604
Add pressure offset based on device P-mode
2021-08-10 18:30:04 -04:00
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.
2020-12-04 16:37:10 +11:00
Patrick José Pereira
e1b6ef3e14
AP_BARO: Fix zero as nullptr in KellerLD
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2020-08-09 10:12:16 +10:00
Andrew Tridgell
978a7d2859
AP_Baro: added device IDs for barometers
...
this allows us to tell what barometers were detected in logs
2020-07-21 08:20:01 +09:00
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
2020-01-19 20:19:30 +11:00
Andrew Tridgell
b2cc992e0c
AP_Baro: convert to use WITH_SEMAPHORE()
2018-08-23 08:21:48 +10:00
night-ghost
cb8a34f784
AP_Baro: added range filter to backend, use it in most sensors (thanks khancyr for style correction)
2018-04-11 14:46:42 +10:00
Jacob Walser
e492c733d8
AP_Baro: fixup Keller LD comments
2017-08-29 12:30:32 -04:00
Jacob Walser
07e00de549
AP_Baro: Tweak Keller LD driver for better performance after initial tests
2017-08-29 08:08:16 -04:00
Jacob Walser
2a71afd3ba
AP_Baro: Remove superfluous casts
2017-08-29 08:08:16 -04:00
Jacob Walser
a08da4ecc4
AP_Baro: New AP_Baro_Keller device driver
2017-08-29 08:08:16 -04:00