You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am learning kalman filter from your notebooks. I have a question for the notebook Kalman-Filter-CA-Ball. The covariance matrix Q in the notebook is something like this:
since it's a covariance matrix, and the value between all the acceleration are 1.0, I think this means acc_x and acc_y and acc_z are not Independent. For example, the following code make some random values with an all one covariance matrix:
import numpy as np
np.random.multivariate_normal([0, 0, 0], np.ones((3, 3)), size=5)
I think x, v_x, acc_x are dependent, y, v_y, acc_y are dependent, and z, v_z, acc_z are dependent, all other pairs are Independent. So the matrix Q is something like this:
Hi ruoyu0088,
you can think about the process noise covariance matrix Q as an wrapper for everything, which is possible and is not modeled by the dynamic matrix. So, it estimates how bad things can get when the system is run open loop for a given period of time, without measurement (correction step).
So I took into account, that the very light ball is influenced in every direction by air and nonlinear drag.
But theoretically your Q is correct! As you can see, after some filter steps, the Kalman filter itself, figured it out and estimated the uncertainty (P) in the same shape as you want to define it for Q:
Hi, I am learning kalman filter from your notebooks. I have a question for the notebook
Kalman-Filter-CA-Ball
. The covariance matrix Q in the notebook is something like this:since it's a covariance matrix, and the value between all the acceleration are 1.0, I think this means acc_x and acc_y and acc_z are not Independent. For example, the following code make some random values with an all one covariance matrix:
the output is:
All the columns are the same value.
I think x, v_x, acc_x are dependent, y, v_y, acc_y are dependent, and z, v_z, acc_z are dependent, all other pairs are Independent. So the matrix Q is something like this:
I am not sure I am right or not, just create this issue to discuss about this.
The text was updated successfully, but these errors were encountered: