Fixing square root kalman (K, S, and off-diagonal elements of P)#243
Merged
Conversation
added 7 commits
June 29, 2021 14:24
… in the update step of the square root decomposition with regards to K, S, and the square root of S.
…ments of P, not just the diagonal.
… filter to get P, Q, and R from their square roots (was dot(P1_2.T, P1_2) when it should be dot(P1_2, P1_2.T)).
…osition and velocity) to better check that S and SI are computed correctly.
… more strict by reducing the tolerance to 1e-6.
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.
I was trying to work through the math used in the square root kalman filter to make sure I understood it while comparing to various references such as BDO Anderson and JB Moore. Optimal filtering. Prentice-Hall (1979) and found a couple issues in the update method.
To fix this, I did the following
I also went ahead and