KalmanFilter
A Kalman filter for linear state estimation.
The Kalman filter is an optimal state estimator for linear systems with Gaussian noise. It combines predictions from a system model with noisy measurements to produce an optimal estimate of the system state.
The filter operates on a linear system of the form:
x(k+1) = A * x(k) + B * u(k) + w(k) (state equation)
y(k) = C * x(k) + D * u(k) + v(k) (measurement equation)where:
xis the state vectoruis the input vectoryis the measurement vectorwis process noise with covariance Qvis measurement noise with covariance R
Parameters
The linear system model describing the plant dynamics
Standard deviations of the state model (process noise)
Standard deviations of the measurements (measurement noise)
The discretization timestep in seconds (default 0.05s / 50ms)
Type Parameters
The number of states in the system
The number of inputs to the system
The number of outputs (measurements) from the system