Hwurzburg
7c6816ec70
AP_Airspeed: change UAVCAN in metadata to DroneCAN
3 years ago
Peter Barker
f9580c0dfe
AP_Airspeed: add date for parameter conversion code
3 years ago
Josh Henderson
ea4c3d68d6
AP_Airspeed: make MAV_SEVERITY levels higher
3 years ago
Iampete1
89c0a8ea04
AP_Airspeed: use floats for get/set output scaled
3 years ago
Hwurzburg
b327f80946
AP_Airspeed: do not cal if backend does not exist
3 years ago
Iampete1
0731af751a
AP_Airspeed: analog: check valid pin
3 years ago
Peter Barker
22e9ad4818
AP_Airspeed: move from HAL_NO_GCS to HAL_GCS_ENABLED
3 years ago
Andrew Tridgell
f65620f4f3
AP_Airspeed: allow for an AIRSPEED list in hwdef.dat
...
this saves a lot of flash by only including specific drivers
3 years ago
Josh Henderson
c454cea401
AP_Airspeed: fix MS5525 driver to allow copying driver to 64bit SITL
3 years ago
Peter Barker
16c11fc4fa
AP_Airspeed: allow zero offset if we are skipping calibration
3 years ago
Peter Barker
2be49cb42b
AP_Airspeed: fix examples for AP_AHRS_DCM becoming backend
4 years ago
Andrew Tridgell
3f67917c26
AP_Airspeed: check for baro baro data in SDP3X
...
this matters for SDP3X as AP_Periph sensor with no baro
4 years ago
Andrew Tridgell
cbf549b1eb
AP_Airspeed: fixed display of ARSPD_DEVID when ARSPD2_TYPE=0
4 years ago
Andrew Tridgell
5f87335325
AP_Airspeed: review updates
...
Co-authored-by: Peter Barker <pb-gh@barker.dropbear.id.au>
4 years ago
Andrew Tridgell
70bb470eb0
AP_Airspeed: fixed AP_Periph build
4 years ago
Andrew Tridgell
0bdd8231cf
AP_Airspeed: added ARSPD_OPTIONS bit for disabling voltage correction
...
if the MS4525 has its own LDO then we are should disable the
correction
4 years ago
Andrew Tridgell
ca1508b02e
AP_Airspeed: added DEVID parameters for airspeed
...
this makes log analysis easier
4 years ago
Andrew Tridgell
7f85b413f2
AP_Airspeed: use GCS_SEND_TEXT instead of printf for sensor probe messages
4 years ago
Andrew Tridgell
e6c7970a19
AP_Airspeed: support 3 I2C addresses for MS4525
...
and if bus number is configured then use only that bus number,
otherwise probe all buses as per existing behaviour
4 years ago
Peter Barker
6da68e39f8
AP_Airspeed: add rc channel option to disable all airspeed sensors
4 years ago
Michael du Breuil
29d6900888
AP_Airspeed: Remove unneeded initilization
...
We pre zero all memory
4 years ago
Peter Barker
00002b78a4
AP_Airspeed: remove HIL support
4 years ago
QioTek
0190a42e47
AP_Airspeed: added ASP5033 driver
4 years ago
Andrew Tridgell
ea57b1982f
AP_Airspeed: cope with no temperature on MSP airspeed
4 years ago
Andrew Tridgell
2d75ef4f60
AP_Airspeed: handle INT16_MIN temperature for UAVCAN sensor
4 years ago
Andrew Tridgell
73fda4e6a7
AP_Airspeed: cope with zero ratio in SDP3X driver
...
needed for AP_Periph
4 years ago
Andrew Tridgell
857d905d9f
AP_Airspeed: added MSP backend
4 years ago
Peter Barker
de2802e322
AP_Airspeed: populate airspeed_raw for sensors returning airspeed reading
...
Without this ARSP[x].Airspeed isn't populated
4 years ago
Hwurzburg
615b8add8c
AP_Airspeed: add inflight airspeed cal rc switch
4 years ago
Peter Barker
8647dda8a9
AP_Airspeed: add and use instance number to ARSP message
4 years ago
Iampete1
7aad83ccca
AP_Airspeed: add MATLAB based NMEA sensor example
4 years ago
Iampete1
0e41b821e8
AP_Airspeed: defualt to type none on sub
4 years ago
Iampete1
2aff8787c1
AP_Airspeed: add NMEA water speed backend
4 years ago
Iampete1
662d4640ef
AP_Airspeed: add dedicated MAX_WIND param
4 years ago
Pierre Kancir
52898cfdbd
AP_Airspeed: remove size warning on SDP3X crc function.
...
Clang-Tidy: Loop variable has narrower type 'uint8_t' (aka 'unsigned char') than iteration's upper bound 'unsigned int'
4 years ago
Andrew Tridgell
505953bdb2
AP_Airspeed: added get_num_sensors()
5 years ago
Andrew Tridgell
a20d3fed94
AP_Airspeed: allow hwdef override of airspeed default type
5 years ago
Siddharth Purohit
d65b43795a
AP_Airspeed: move to using CANManager library
5 years ago
Josh Welsh
eb4b5fb720
AP_Airspeed: Add additional DLVR support 20inH2O 30inH2O 60inH2O
5 years ago
Henry Wurzburg
21940cea09
AP_Airspeed: fix airspeed messages for consistency
5 years ago
Michael du Breuil
ceb0a9c827
AP_Airspeed: Rearrange state to save memory
...
Saves 8 bytes per airspeed sensor (2 backends for 8 total), and removes
the unneeded width specifier, which has no impact on used memory, and
saves us 88 bytes of flash because we don't have to do work to shift the
bits around.
5 years ago
Andrew Tridgell
40f1b5f9ae
AP_Airspeed: use GCS_SEND_TEXT()
5 years ago
Peter Barker
6046aa3625
AP_Airspeed: rename APMrover2 to Rover
5 years ago
Andrew Tridgell
0f6f684bab
AP_Airspeed: expose get_corrected_pressure()
...
needed for AP_Periph
5 years ago
Andrew Tridgell
b5e091bc84
AP_Airspeed: hide unused parameters for AP_Periph
5 years ago
Andrew Tridgell
1fac578b37
AP_Airspeed: make all semaphores recursive
...
the cost is very similar and this prevents an easy coding error which
can occur on less used code paths
5 years ago
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
Peter Barker
41d34e9f88
AP_Airspeed: add missing break statement
5 years ago
Andrew Tridgell
dafd030904
AP_Airspeed: switched to recursive semaphore
...
this is needed by the SDP3X driver. It is the simplest fix for the
issue
5 years ago
Peter Barker
f407e0dd55
AP_Airspeed: correct example; need instantiated AHRS for windspeed_max
5 years ago