Skip to content

Conversation

sfuhrer
Copy link
Contributor

@sfuhrer sfuhrer commented Jul 15, 2025

Solved Problem

The default is very low, leading to the ground-minus-wind airspeed approximation being declared invalid all the time.

Solution

Increase the default. And update the param meta data while on it.
I also consider removing the param and hard-code it.

Changelog Entry

For release notes:

Improvement: AirspeedSelector: increase default of ASPD_WERR_THR to have ground-minus-wind airspeed approximation valid most 

Context

I got to the new default of 2m/s by looking at a bunch of logs from different vehicles and different conditions. Screenshots attached below. We generally want to not yet validate it right after init (the variance was around 6 there usually), and when on very long straight flight paths (see second screenshot).
The check is here, sqrt(variance_north + variance_east).

image image image

Note: since #24522 we have an alternative "synthetic" airspeed, based purely on the vehicle mode and the current thrust setpoint.

sfuhrer added 2 commits July 15, 2025 14:43
Signed-off-by: Silvan <silvan@auterion.com>
The previous default of 0.55m/s was very restrictive, the
ground-minus-wind airspeed estimate was barely ever valid
with it.

Signed-off-by: Silvan <silvan@auterion.com>
@dagar dagar merged commit f4fb485 into main Aug 8, 2025
70 checks passed
@dagar dagar deleted the pr-airspeed-selector-remove-ASPD_WERR_THR-main branch August 8, 2025 02:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants