Skip to content

Dealing with angles in the UKF #197

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

Closed
offirk opened this issue Dec 4, 2019 · 2 comments
Closed

Dealing with angles in the UKF #197

offirk opened this issue Dec 4, 2019 · 2 comments
Labels

Comments

@offirk
Copy link

offirk commented Dec 4, 2019

Hi,
I'm trying to implement a UKF that fuses several sensors, among them a gyroscope.
in the UKF there is a special treatment for the calculation of the residual in the case of angle measurements, by allowing to define a specific subtraction function (since it is not a regular 'linear' subtraction). however, in the update function final step, the addition of the residual (times K, the gain) to the state vector X, there is no such option and the addition is a regular arithmetic addition.
am I missing something here?
thanks, Offir

@rlabbe rlabbe added the bug label May 3, 2020
rlabbe added a commit that referenced this issue May 4, 2020
I've added state_add as an attribute to the class to support
this use case.
@rlabbe
Copy link
Owner

rlabbe commented May 4, 2020

I've added state_add attribute to the class to support this.

@rlabbe rlabbe closed this as completed May 4, 2020
@beetleskin
Copy link

beetleskin commented Feb 10, 2021

Don't we have to do the same within rts_smoothing?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants