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程序是错的? #2

Open
demolpc opened this issue Feb 26, 2020 · 1 comment
Open

二维kalman程序是错的? #2

demolpc opened this issue Feb 26, 2020 · 1 comment

Comments

@demolpc
Copy link

demolpc commented Feb 26, 2020

    /* p(n|n-1)=A^2*p(n-1|n-1)+q */
    state->p[0][0] = state->A[0][0] * state->p[0][0] + state->A[0][1] * state->p[1][0] + state->q[0];

还有q应该是2乘2的矩阵,这里为什么是二维向量?

@TabDynasty
Copy link

确实,他少乘了一个A的转置,但是对于你的第二个问题,一般来说Q和R矩阵都是对角阵,副对角线上的两个值都为零,因为两个误差值一般是独立的,所以他用二维向量来表示是可以的

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

2 participants