Andrew Tridgell
2e5fe75aa7
AP_Airspeed: 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
liang
8de44ec319
AP_Airspeed: protect sample timestamp while get data
5 years ago
murata
295c343959
AP_Airspeed: Commonize the CRC4 method
6 years ago
Andrew Tridgell
fe064a2d4e
AP_Airspeed: use WITH_SEMAPHORE()
...
and removed usage of hal.util->new_semaphore()
6 years ago
Michael du Breuil
f2b4e06a1a
AP_Airspeed: Add 5"H2O DLVR differential sensor driver
7 years ago
Andrew Tridgell
58b0ac07ec
AP_Airspeed: support dual airspeed sensors
...
allow for a primary and secondary airspeed sensor
7 years ago
Michael du Breuil
5fedc65efb
AP_Airspeed: Allow specifying the MS5525 address
7 years ago
Andrew Tridgell
55f73f4163
AP_Airspeed: fixed timing errors in MS5525 driver
...
this fixes issue #7188 , where we could read from the MS5525 sensor too
soon after requesting data and the result coming back would be garbage
7 years ago
murata
af65be5aa4
AP_Airspeed: Change from magic number 0 to definition name.
8 years ago
Lucas De Marchi
f6a4a4dbe8
AP_Airspeed: MS5525: use common macros to deal with endianness
...
Instead of calling a special method in the device, just use be16toh()
which is implemented for all platforms in our special sparse-endian.h
file. It has the advantage of using a special type for different
endianness and makes no assumption we are running on LE.
8 years ago
Lucas De Marchi
5472bc4de1
Global: change Device::PeriodicCb signature
...
Remove bool return as it's never being used and not supported on PX4.
8 years ago
Andrew Tridgell
43bac678cd
AP_Airspeed: Added MS5525 airspeed driver
...
also improved averaging in MS4525 driver
8 years ago