Commit Graph

304 Commits

Author SHA1 Message Date
Peter Barker dd2283d73b AP_Airspeed: add SITL backend 2022-05-25 17:52:44 +10:00
Ruffalo-sunghwan 001643eb4f AP_Airspeed : correct comment spelling 2022-05-24 20:27:45 +09:00
Andrew Tridgell 61a27698da AP_Airspeed: fixed airspeed cal on 2nd airspeed sensor
we need to use the pressure from the sensor we are calibrating
2022-05-17 19:34:32 +10:00
Peter Barker 19190fb134 AP_Airspeed: log airspeed primary changes 2022-05-17 10:27:57 +10:00
Joshua Henderson 5087eabbca AP_Airspeed: remove negative pressure set unhealthy 2022-05-10 16:58:51 +10:00
Peter Barker 4b95ad12bf AP_Airspeed: allow backends to be compiled out 2022-05-10 09:02:51 +10:00
Gone4Dirt 2ff83bea53 AP_Airspeed: Add enabled check to get functions 2022-05-05 17:44:16 +10:00
Gone4Dirt e82ba228ce AP_Airspeed: Add nullptr check to healthy function 2022-05-05 17:44:16 +10:00
Gone4Dirt edb25340d1 AP_Airspeed: Move multi-line functions out of header 2022-05-05 17:44:16 +10:00
Peter Barker 9b14760dc9 AP_Airspeed: tidy includes 2022-05-03 09:14:58 +10:00
Mirko Denecke d6843c4ca1 AP_Airspeed: fix auxiliary typo 2022-05-02 10:55:08 +10:00
Henry Wurzburg fa81f7813c AP_Airspeed: correct metadata for params for non-Plane vehicles 2022-04-05 09:58:10 +10:00
Peter Barker deb7b13da5 AP_Airspeed: disable AUTOCAL if airspeed is disabled 2022-03-15 08:52:37 +11:00
Tom Pittenger 42d1ce635b AP_Airspeed: improve description of ARSPD_TUBE_ORDR 2022-03-08 14:34:58 -08:00
Iampete1 72a65cadb8 AP_Airspeed: rename get_health_failure_probability to get_health_probability 2022-03-02 16:14:50 +11:00
Iampete1 9c4188d730 AP_Airspeed: Health: use reading from correct airspeed sensor 2022-03-02 16:14:50 +11:00
Michael du Breuil 382cbb9b4d AP_Airspeed: Sanity check DLVR raw data before accumulating it
This is intended to help with really bad RF interference flipping bits on the I2C bus which can lead to some intresting results
2022-02-09 09:00:22 +11:00
murata 629469acbf AP_Airspeed: remove duplicated words from comments 2022-02-07 08:24:14 +09:00
Peter Barker 2d0d2a123d AP_Airspeed: move Airspeed up to AP_Vehicle, use dummy class for Copter 2022-01-19 18:21:32 +11:00
Josh Henderson 1831a1a009 AP_Airspeed: NFC add note about TYPE 0 index 2022-01-19 18:21:32 +11:00
Josh Henderson bf65b2eba8 AP_Airspeed: move default type for SITL to be for only Plane 2022-01-19 18:21:32 +11:00
Joshua Henderson 3cfbad0f4d AP_Airspeed: add AP_AIRSPEED_ENABLED 2022-01-19 18:21:32 +11:00
Peter Barker 3969d6d56f AP_Airspeed: make C_TO_KELVIN a function macro; create KELVIN_TO_C
These are in celsius
2022-01-13 18:31:46 +11:00
Hwurzburg 7c6816ec70 AP_Airspeed: change UAVCAN in metadata to DroneCAN 2021-12-15 09:53:21 +11:00
Peter Barker f9580c0dfe AP_Airspeed: add date for parameter conversion code 2021-11-23 12:27:14 +00:00
Josh Henderson ea4c3d68d6 AP_Airspeed: make MAV_SEVERITY levels higher 2021-11-03 18:06:48 -07:00
Iampete1 89c0a8ea04 AP_Airspeed: use floats for get/set output scaled 2021-10-20 18:29:58 +11:00
Hwurzburg b327f80946 AP_Airspeed: do not cal if backend does not exist 2021-10-07 13:36:44 +11:00
Iampete1 0731af751a AP_Airspeed: analog: check valid pin 2021-10-06 18:42:51 +11:00
Peter Barker 22e9ad4818 AP_Airspeed: move from HAL_NO_GCS to HAL_GCS_ENABLED 2021-09-22 21:37:00 +10:00
Andrew Tridgell f65620f4f3 AP_Airspeed: allow for an AIRSPEED list in hwdef.dat
this saves a lot of flash by only including specific drivers
2021-09-21 13:51:40 +10:00
Josh Henderson c454cea401 AP_Airspeed: fix MS5525 driver to allow copying driver to 64bit SITL 2021-09-21 09:30:58 +10:00
Peter Barker 16c11fc4fa AP_Airspeed: allow zero offset if we are skipping calibration 2021-09-15 17:52:34 +10:00
Peter Barker 2be49cb42b AP_Airspeed: fix examples for AP_AHRS_DCM becoming backend 2021-08-31 14:28:53 +10:00
Andrew Tridgell 3f67917c26 AP_Airspeed: check for baro baro data in SDP3X
this matters for SDP3X as AP_Periph sensor with no baro
2021-08-10 07:10:02 +10:00
Andrew Tridgell cbf549b1eb AP_Airspeed: fixed display of ARSPD_DEVID when ARSPD2_TYPE=0 2021-07-21 18:22:11 +10:00
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