Skip to content

AirspeedSelector: increase default of ASPD_WERR_THR #25225

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

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
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 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant