Kalman filter with averaging filter model

The Kalman filter tries to estimate the next measured values of the sensor based on a prediction model. The filter first builds the prediction and then refines it by the specified uncertainty of the measured values. The basis of the prediction is the moving averaging filter.