GPS/IMU Sensor Fusion 2D: Vehicle Localization Drift
2D Kalman-filter simulator: watch a vehicle's raw IMU dead-reckoning drift off its true path and a held GPS-only fix lag behind, while a fused GPS+IMU estimate stays locked on — with a live position-error-vs-time chart.
This is the 2D top-down counterpart to the 3D GPS/IMU sensor-fusion simulator, running the exact same predict/update Kalman math on a flat canvas so the numbers are easy to read at a glance. A vehicle drives a closed loop while three independent position estimates race each other: a raw IMU dead-reckoning trail that integrates noisy acceleration and drifts steadily off course, a GPS-only trail that holds the last noisy fix until the next one arrives, and a Kalman-fused estimate that combines both to track the true path far more closely than either sensor alone. A live error-vs-time chart plots all three continuously, and a simulated tunnel cuts GPS entirely so you can watch the fused estimate's uncertainty inflate during the blackout and collapse the instant a fix returns.
Drive a vehicle around a closed loop and watch a raw IMU dead-reckoning estimate drift off the true path while a Kalman-filtered GPS/IMU fusion stays locked on, including a simulated tunnel GPS dropout.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install