Why we need to filter sensor data
Every robot sensor lies โ a little. GPS has 3 m noise. An IMU accumulates drift. Wheel odometry slips. No single reading is trustworthy in isolation, but a sequence of noisy readings, combined with a model of how the robot moves, yields an estimate far better than any individual measurement.
The Kalman filter (Rudolf Kรกlmรกn, 1960) solves exactly this: given a linear dynamical system driven by Gaussian noise and observed through a linear measurement model corrupted by Gaussian noise, it computes the minimum-variance unbiased estimate of the state at each timestep. It is not a heuristic โ it is provably optimal under these assumptions. Outside linear-Gaussian systems, it becomes an approximation, but a remarkably robust one. The Apollo Guidance Computer used a Kalman filter for lunar navigation in 1969; your phone uses a variant for GPS-IMU fusion today.
