-
Notifications
You must be signed in to change notification settings - Fork 387
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
Handle numerical errors properly #8
Comments
Do the numerical errors mean non-positive definite of square root S in SR-UKF and non-positive definite of covariance matrix P in UKF?
|
Yes, this is about these kind of errors which usually occur when the covariance matrix is not positive definite. One approach to handle these would be to force the covariance to be positive definite for instance using the method proposed by Higham (adapted matlab implementation here). Unfortunately I do not have the time right now to implement this, but contributions are of course very welcome. |
Thanks for your information mherb, I have also notice a solution like this. I will try to fix it. |
But what if the matrix is negative definite? There should be a check before even attempting a matrix rescaling; something like:
I like this approach because of the ability to touch the internal filter state and covariance via the |
No description provided.
The text was updated successfully, but these errors were encountered: