Skip to content
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

Kalman filter example: wrong transition matrix? #276

Open
bilderbuchi opened this issue Aug 17, 2022 · 0 comments
Open

Kalman filter example: wrong transition matrix? #276

bilderbuchi opened this issue Aug 17, 2022 · 0 comments

Comments

@bilderbuchi
Copy link

The example given on the Kalman Filter documentation page defines a position+velocity problem, with this state transition matrix F:

f.F = np.array([[1.,1.],
                [0.,1.]])

From what I can tell, the upper right element should actually be dt, not 1. I can exclude that the timestep size dt is coincidentally 1, because further down we have f.Q = Q_discrete_white_noise(dim=2, dt=0.1, var=0.13).

So, afaict, here it should say

f.F = np.array([[1.,0.1],
                [0.,1.]])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant