What problem is this solving?
You never see the robot's true position. You only get two imperfect clues:
- GPS — “you are roughly here,” but the reading jumps around and sometimes vanishes near buildings.
- Wheels (odometry) — “I rolled this far,” which is smooth second-to-second, but a small speed error piles up over time.
A Kalman filter keeps a running best guess of position and speed, updates it every step, and also tracks how unsure that guess is.