Skip to content
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

[Bug] Airspeed selector invalidating data #23092

Open
lashVN opened this issue May 3, 2024 · 5 comments
Open

[Bug] Airspeed selector invalidating data #23092

lashVN opened this issue May 3, 2024 · 5 comments

Comments

@lashVN
Copy link

lashVN commented May 3, 2024

Describe the bug

~10 minutes into flight, the airspeed selector is flagging the airspeed data as invalid

To Reproduce

This issue doesn't occur every time, but is just

Expected behavior

Airspeed sensor not to be flagged as invalid

Screenshot / Media

No response

Flight Log

[No failure occurs]https://logs.px4.io/plot_app?log=19d5eeee-54f5-461d-990e-f31572208cb4
Midflight airspeed sensor failure

Software Version

Main build early May

c13e3ba

Flight controller

Pixhawk 6X

Vehicle type

None

How are the different components wired up (including port information)

No response

Additional context

System is using VectorNav driver instead of EKF2.

@lashVN
Copy link
Author

lashVN commented May 3, 2024

I've been walking through this log with @dagar, and we're having trouble discerning which check is causing the airspeed selector to invalidate the airspeed data. @sfuhrer , could you provide some context as to what might be triggering the failure flagging?

I'd especially be interested to ensure whether something in the VectorNav driver isn't publishing something as the airspeed selector is expecting.

@Kim-zhi-jiang
Copy link

Found the reason?

@sfuhrer
Copy link
Contributor

sfuhrer commented May 23, 2024

The airspeed got disabled because the measurement was flat for more than 2s.
image
Seems like the sensor you use has a low resolution of 5Pa, which then ofc makes this more likely to happen.
You can disable the check by un-setting the second bit of ASPD_DO_CHECKS.

@lashVN
Copy link
Author

lashVN commented May 23, 2024

Hi @sfuhrer , thanks for your response.

This issue has only been seen when using an external INS (not EKF2). Do you believe that is a coincidence then, that it has nothing to do with the faking on EKF2 consistency checks that we've run into in the past?

@sfuhrer
Copy link
Contributor

sfuhrer commented May 24, 2024

I assume it's a coincidence yes.
What airspeed sensor are you using?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants