Mykhailo Kuznietsov
fb2bf42cf6
AP_Airspeed: Fix some typos
...
Fixed some typos found in the code.
2023-10-12 18:30:42 +11:00
Andrew Tridgell
faa4d28851
AP_Airspeed: fixed handling of unhealthy airspeed
...
this fixes a bug introduced in
https://github.com/ArduPilot/ardupilot/pull/22416 which results in
using bad airspeed data on timeout. The prev_health variable is
updated by the get_pressure call
2023-08-11 10:33:36 +10:00
Peter Barker
c88a53b662
AP_Airspeed: tidy AP_Airspeed includes, use AP_AIRSPEED_ENABLED properly
2023-07-18 11:03:07 +10:00
Ryan Friedman
47e3d1af02
AP_Airspeed: Improve ARSPD_WIND_MAX behavior by handling 3D speed
...
* The previous method negated earth-frame vertical velocity
* In a steep dive on a plane, the 2D ground speed assumption of speed breaks down
* Use 3D speed always
* If only a 2D fix is avialable, then vertical velocity should be 0
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-04-26 14:08:01 +10:00
Ryan Friedman
4ba1c56368
AP_Airspeed: Add missing D in ARSP
...
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-04-15 23:14:12 +10:00
Andrew Tridgell
6912b0db9e
AP_Airspeed: rename more variables, types and defines
2023-04-11 10:31:31 +10:00
Andrew Tridgell
d2882c79de
AP_Airspeed: change UAVCAN_ENABLED to DRONECAN_ENABLED
2023-04-11 10:31:31 +10:00
Andrew Tridgell
5188816274
AP_Airspeed: update header references
2023-04-11 10:31:31 +10:00
Andrew Tridgell
19cd2a8fe6
AP_Airspeed: fixed airspeed peripherals
...
AP_Periph does not have the ARSPD_BUS parameter, and setting this
default sets the bus to one that doesn't exist, plus it can't be fixed
using user parameters
2023-03-24 12:01:31 +11:00
Peter Barker
e20f8f5dcc
AP_Airspeed: save some bytes by making conversion structure static
2023-03-10 08:49:36 +11:00
Peter Barker
d7357a3330
AP_Airspeed: add get_calibration_state in dummy driver
2023-02-21 17:07:41 +11:00
Peter Barker
d7ec1e7b0c
AP_Airspeed: add support for mavlink in-progress message
2023-02-21 17:07:41 +11:00
Iampete1
3299976eae
AP_Airspeed: move setting of first backend defualts to constructor to avoid race
2023-01-05 08:27:45 +11:00
Iampete1
58ac399aa9
AP_Airspeed: add allocare method for periph
2023-01-03 10:17:56 +11:00
Iampete1
bfab3e8b04
AP_Airspeed: AP_Airspeed_Params: provide dummy var table to save flash
2023-01-03 10:17:56 +11:00
Iampete1
a20c07b745
AP_Airspeed: add global enable parameter
2023-01-03 10:17:56 +11:00
Iampete1
0bb7e8a789
AP_Airspeed: add param conversion to per-instance
2023-01-03 10:17:56 +11:00
Iampete1
e8802d1858
AP_Airspeed: remove old param conversion
2023-01-03 10:17:56 +11:00
Gone4Dirt
0138d0c2cc
AP_Airspeed: move params to seperate file
2023-01-03 10:17:56 +11:00
Iampete1
e142747d1f
AP_Airspeed: Periph: remove useage of hidden params and remove tuber order
2022-12-20 11:12:25 +11:00
Henry Wurzburg
08840b4a65
AP_Airspeed: add warning for large offset cal
2022-12-13 17:08:42 +11:00
Peter Barker
533b9e12b1
AP_Airspeed: change namespace of MultiCopter and FixedWing params
...
this stops the libraries knowing anything about AP_Vehicle
2022-11-09 19:04:37 +11:00
Andrew Tridgell
1c868cac37
AP_Airspeed: add instance to hygrometer logging
2022-10-24 17:35:07 +11:00
Henry Wurzburg
3ef45c684f
AP_Airspeed: generalize ARSPD_BUS metadata
2022-10-19 23:27:25 +11:00
Andrew Tridgell
dc5492f9ca
AP_Airspeed: support DroneCAN airspeed with hygrometer data
...
some DroneCAN airspeed sensors can send hygrometer data, for when they
have de-icing support
2022-10-19 13:17:30 +11:00
Andrew Tridgell
cc4a7993bc
AP_Airspeed: use DEVID to maintain lineup of CAN sensors
...
persist DEVID and use it to ensure that we keep the order of DroneCAN
sensors between boots. It still allows for a sensor to be swapped out
for a new one, while keeping slot of the one that hasn't been removed
2022-10-08 21:12:01 +11:00
Paul Riseborough
b11393a369
AP_Airspeed: Update documentation for used parameter index warnings
2022-09-26 14:17:53 +10:00
Paul Riseborough
4808863b2d
AP_Airspeed: remove unsupported parameter units descriptor
2022-09-26 14:17:53 +10:00
Paul Riseborough
1423334f03
AP_Airspeed: Add tuning advice for ARSP_WIND_GATE
2022-09-26 14:17:53 +10:00
Paul Riseborough
ed271e8025
AP_Airspeed: Enable use of EKF3 to check airspeed health
2022-09-26 14:17:53 +10:00
Henry Wurzburg
db496cf256
AP_Airspeed: correct metadata in libraries failing checks on emitter
2022-08-16 11:50:11 +10:00
Andrew Tridgell
eed14b3688
AP_Airspeed: fixed autotest for copter param parse
...
This command was failing:
Tools/autotest/param_metadata/param_parse.py --vehicle Copter
I don't understand why it starts to fail now, but this is the fix
2022-06-08 09:23:04 +10:00
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
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
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
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
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
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