-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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
AirspeedSelector, FailureDetector: Tailsitter attitude fixes #21319
Conversation
00f079e
to
7322232
Compare
Distributing even more tailsitter special cases everywhere is a bit concerning. |
Not nice but quite without alternative aren't we? And compared to other if(tailsitter) special cases the ones related to rotating the attitude are the easiest to justify no? @dagar @bresch can we get this in and fix the remaining EKF fusion issue in #21328? |
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
-set roll/pitch used for failure detection during transition to 0 -rotate estimated attitude 90° in FW flight Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
The attitude frame is wrong for tailsitters doing side slip fusion for wind estimation. It doesn't take into account that the frames is 90deg tilted in FW flight. Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
7322232
to
29d934a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perfect, thanks
…on is set Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
Solved Problem
#21229
Solution
Rotate attitude 90° in airspeed selector and failure detector.
Still have some
WARN [ekf2] primary EKF changed 0 (filter fault) -> 3
that I'm looking into, which may have been the root issue for #21229.It seems to be a EKF side slip fusion failure
# 6 - true if fusion of the synthetic sideslip constraint has encountered a numerical error