[WIP] ekf2: EKF init immediately on first IMU sample#24046
Closed
[WIP] ekf2: EKF init immediately on first IMU sample#24046
Conversation
- tilt init use filtered accel/gyro on delayed time horizon - publish estimator_status on every EKF update (even if !_filter_initialised)
FLASH Analysispx4_fmu-v5xpx4_fmu-v6xUpdated: 2024-11-27T22:44:49 |
985c3fd to
6f484b6
Compare
bresch
reviewed
Jan 10, 2025
Member
bresch
left a comment
There was a problem hiding this comment.
It's a nice cleanup, we shouldn't forget about this PR
|
|
||
| } else { | ||
| // if filter not initialized | ||
|
|
Member
There was a problem hiding this comment.
is this the only missing piece of this PR?
| _is_first_imu_sample = false; | ||
|
|
||
| _state = {}; | ||
| initialiseTilt(_accel_lpf.getState()); |
Member
There was a problem hiding this comment.
Is this to get a tilt estimate even if accel norm is > 20% longer or smaller than 1g?
| } | ||
| } | ||
|
|
||
| updateIMUBiasInhibit(imu_sample_delayed); |
Member
There was a problem hiding this comment.
Why running the state and covariance prediction if the filter is not initialized?
|
This pull request has been automatically closed due to 120 days of inactivity. If you would like to continue, please feel free to reopen it or submit a new PR. |
This file contains hidden or 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
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.
Uh oh!
There was an error while loading. Please reload this page.