Applies the correction (update, measurement, data) step of the Kalman filter.
This method applies the correction step to the state and covariance passed in sc using the measurement z and measurement noise R. An optional parameter param may be used by some implementations, but it is usually ignored. The updated state and covariance after the correction step is returned.
Parameters
sc
The state and covariance to which the correction step is to be applied.
z
The measurement vector to be used for correction.
R
The measurement noise covariance matrix to be used for correction.
Returns
The state and covariance after the correction update.
Applies the prediction (time) step of the Kalman filter.
This method applies the prediction step to the state and covariance passed in sc using the input u and process noise Q. The state and covariance are updated by dt into the future, if applicable to the implementation. An optional parameter param may be used by some implementations, but it is usually ignored. The updated state and covariance after the prediction step is returned.
Parameters
sc
The state and covariance to which the prediction step is to be applied.
u
The input vector to be used for prediction.
Q
The process noise covariance matrix to be used for prediction.
dt
The time step for the prediction update (the state and covariance will be predicted by dt into the future).
Returns
The state and covariance after the prediction step.
The documentation for this class was generated from the following file: