Probability for Robotics · Extended and Unscented Kalman Filters · M8-L1 · Advanced
EKF versus UKF
Bench log · Rover in the teaching lab
13:15. The EKF reports a tight covariance while Rover is a metre away from where it says it is. The bench test turns out to be the culprit: a sensor with a wide bearing noise looking at a pole straight ahead, the textbook case in which a tangent is a poor stand-in for a curve.
You will see where the Jacobian stops being enough, write the EKF correction (and meet the angle bug that only shows when a landmark is behind the robot), write the unscented transform, and measure both against a cloud of Monte Carlo samples.
Your task
Lab complete: post-mortem
You have passed every stage. Now connect it back to the theory and move on:
Output
What Python can I use?
Plain Python with math and the course library robotprob (for example from robotprob import Rng, mean, gaussian_pdf). NumPy is not available in the browser. Your code runs in a background worker: an endless loop is stopped after a few seconds and the page stays usable. It runs in your browser and is never sent anywhere.