forked from ArduPilot/ardupilot
-
Notifications
You must be signed in to change notification settings - Fork 24
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
Pr ekf gps check fix #44
Merged
tridge
merged 14 commits into
tridge:pr-ekf-gps-check-fix
from
priseborough:pr-ekf-gps-check-fix
Sep 30, 2023
Merged
Pr ekf gps check fix #44
tridge
merged 14 commits into
tridge:pr-ekf-gps-check-fix
from
priseborough:pr-ekf-gps-check-fix
Sep 30, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Make it user selectable. Remove potential for a race condition between decisions based on latest data and the EKF fusion processing which operates on a delayed time horizon. This is achieved by preventing data entering the buffer if awaiting checks to pass ensuring that no EKF fusion time horizon processes can use data that hasn't passed checks. Log the waitingForGpsChecks class variable
It looks like there is a bug with logged airspeed innovations flat-lining during dead reckoning so I will chase that up now. |
The previous method resulted in data incest and fusion of predicted airspeed on every EKF internal time step. This was not apparent during flight where the vehicle was turning, but during long straight legs did not constrain along track drift.
priseborough
force-pushed
the
pr-ekf-gps-check-fix
branch
from
September 27, 2023 23:27
b3750e7
to
6b59c7b
Compare
Ensure that a fallback for planes will always occur if the EKF is unable to provide attitude, vertical velocity or vertical position and the DCM is. Add separate control over fallback behaviour in FW and VTOL modes
priseborough
force-pushed
the
pr-ekf-gps-check-fix
branch
from
September 29, 2023 09:42
2ab90b3
to
650385b
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I'm not convinced that fb38bbb and 25249f9 are necessary, but they do improve accuracy.
I'll follow up with this PR ArduPilot#23999