Foundation
A Kalman filter estimates a system state that you cannot observe perfectly. Here the hidden state is the robot's position and velocity. GPS reports noisy position; wheel odometry predicts motion between GPS fixes.
- Prediction moves the previous estimate forward using wheel/IMU motion.
- Uncertainty grows during prediction because the model is never exact.
- Update pulls the prediction toward the measurement, weighted by expected sensor noise.