Andrew Tridgell
5f87335325
AP_Airspeed: review updates
...
Co-authored-by: Peter Barker <pb-gh@barker.dropbear.id.au>
2021-07-12 17:14:59 +10:00
Andrew Tridgell
70bb470eb0
AP_Airspeed: fixed AP_Periph build
2021-07-12 17:14:59 +10:00
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
2021-07-12 17:14:59 +10:00
Andrew Tridgell
ca1508b02e
AP_Airspeed: added DEVID parameters for airspeed
...
this makes log analysis easier
2021-07-12 17:14:59 +10:00
Andrew Tridgell
7f85b413f2
AP_Airspeed: use GCS_SEND_TEXT instead of printf for sensor probe messages
2021-07-12 17:14:59 +10:00
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
2021-07-12 17:14:59 +10:00
Peter Barker
6da68e39f8
AP_Airspeed: add rc channel option to disable all airspeed sensors
2021-06-23 15:13:13 +10:00
Michael du Breuil
29d6900888
AP_Airspeed: Remove unneeded initilization
...
We pre zero all memory
2021-06-22 10:08:02 +10:00
Peter Barker
00002b78a4
AP_Airspeed: remove HIL support
2021-06-15 09:47:31 +10:00
QioTek
0190a42e47
AP_Airspeed: added ASP5033 driver
2021-03-28 07:50:34 +11:00
Andrew Tridgell
ea57b1982f
AP_Airspeed: cope with no temperature on MSP airspeed
2020-12-08 20:41:12 +11:00
Andrew Tridgell
2d75ef4f60
AP_Airspeed: handle INT16_MIN temperature for UAVCAN sensor
2020-12-08 20:41:12 +11:00
Andrew Tridgell
73fda4e6a7
AP_Airspeed: cope with zero ratio in SDP3X driver
...
needed for AP_Periph
2020-12-08 20:41:12 +11:00
Andrew Tridgell
857d905d9f
AP_Airspeed: added MSP backend
2020-12-08 20:41:12 +11:00
Peter Barker
de2802e322
AP_Airspeed: populate airspeed_raw for sensors returning airspeed reading
...
Without this ARSP[x].Airspeed isn't populated
2020-12-08 11:59:49 +11:00
Hwurzburg
615b8add8c
AP_Airspeed: add inflight airspeed cal rc switch
2020-11-25 21:30:15 +11:00
Peter Barker
8647dda8a9
AP_Airspeed: add and use instance number to ARSP message
2020-11-24 12:19:45 +11:00
Iampete1
7aad83ccca
AP_Airspeed: add MATLAB based NMEA sensor example
2020-10-27 11:24:49 +11:00
Iampete1
0e41b821e8
AP_Airspeed: defualt to type none on sub
2020-10-27 11:24:49 +11:00
Iampete1
2aff8787c1
AP_Airspeed: add NMEA water speed backend
2020-10-27 11:24:49 +11:00
Iampete1
662d4640ef
AP_Airspeed: add dedicated MAX_WIND param
2020-10-27 11:21:04 +11:00
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'
2020-10-14 07:52:02 +11:00
Andrew Tridgell
505953bdb2
AP_Airspeed: added get_num_sensors()
2020-08-27 20:20:51 +10:00
Andrew Tridgell
a20d3fed94
AP_Airspeed: allow hwdef override of airspeed default type
2020-08-25 09:59:15 +10:00
Siddharth Purohit
d65b43795a
AP_Airspeed: move to using CANManager library
2020-08-19 17:31:09 +10:00
Josh Welsh
eb4b5fb720
AP_Airspeed: Add additional DLVR support 20inH2O 30inH2O 60inH2O
2020-08-12 08:02:49 +10:00
Henry Wurzburg
21940cea09
AP_Airspeed: fix airspeed messages for consistency
2020-07-21 09:41:05 +10:00
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.
2020-05-06 18:15:08 +10:00
Andrew Tridgell
40f1b5f9ae
AP_Airspeed: use GCS_SEND_TEXT()
2020-04-29 07:36:55 +10:00
Peter Barker
6046aa3625
AP_Airspeed: rename APMrover2 to Rover
2020-04-14 09:50:34 +09:00
Andrew Tridgell
0f6f684bab
AP_Airspeed: expose get_corrected_pressure()
...
needed for AP_Periph
2020-03-25 20:37:00 +11:00
Andrew Tridgell
b5e091bc84
AP_Airspeed: hide unused parameters for AP_Periph
2020-02-18 11:15:05 +11:00
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
2020-01-19 20:19:30 +11:00
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
2020-01-19 20:19:30 +11:00
Peter Barker
41d34e9f88
AP_Airspeed: add missing break statement
2020-01-15 13:55:42 +11:00
Andrew Tridgell
dafd030904
AP_Airspeed: switched to recursive semaphore
...
this is needed by the SDP3X driver. It is the simplest fix for the
issue
2019-11-10 18:50:08 +11:00
Peter Barker
f407e0dd55
AP_Airspeed: correct example; need instantiated AHRS for windspeed_max
2019-11-08 14:34:15 +11:00
Andrew Tridgell
f51378f2e8
AP_Airspeed: enable for use in AP_Periph
2019-10-21 19:12:01 +11:00
liang
8de44ec319
AP_Airspeed: protect sample timestamp while get data
2019-10-12 18:15:06 +11:00
Peter Barker
9197ebc3b2
AP_Airspeed: examples: var_info is now in GCS_MAVLINK_Parameters
2019-08-14 18:25:43 +10:00
Andrew Tridgell
c173f8e24d
AP_Airspeed: support both 5inH2O and 10inH2O versions of DLVR sensor
...
useful for faster aircraft
2019-07-19 21:39:30 -07:00
Andrew Tridgell
1ffc2cbe41
AP_Airspeed: allow setting of default airspeed pin
2019-07-13 15:23:45 +10:00
Peter Barker
ef8baf28ad
AP_Airspeed: clarify mavlink packet assembly is re-ordered field order
...
This makes it clear that the fields must be arranged according to the
order in the header file rather than that in the message definition
2019-07-11 11:53:35 +10:00
Peter Barker
00cfea03bc
AP_Airspeed: add missing includes for AHRS
2019-07-09 22:32:57 +10:00
Peter Barker
04ebb9de0b
AP_Airspeed: use send_to_active_channels for airspeed_autocal
2019-06-29 16:04:26 +10:00
Michael du Breuil
e43605cc9b
AP_Airspeed: Remove a number of unneeded top level includes
2019-06-27 14:56:21 +10:00
Jaaaky
061b4b7e70
AP_Airspeed: convert to unix style end-of-line
2019-06-19 16:39:09 +09:00
Michael du Breuil
157a3b1e34
AP_Airspeed: Fix AP_GPS.h include and use the singleton
2019-06-18 10:02:05 +10:00
Peter Barker
5cfba85095
AP_AirSpeed: take EAS2TAS directory from baro; use for all backends
...
Plane was only setting EAS2TAS in the primary frontend; calibration
expected it to be set on each instance.
2019-06-06 12:44:36 +10:00
Andrew Tridgell
03fb0b803b
AP_Airspeed: removed unusued AP_Common/Semaphore.h
2019-05-15 15:33:48 +10:00