Probability for Robotics · Introduction to Probability in Robotics · M1-L1 · Beginner
Noisy Robot Motion Simulator
Bench log · Rover in the teaching lab
09:10. Rover is told to drive 2.00 m straight ahead and stop on its charging dock, a square 20 cm wide. The command is the same every time. The result is not: the wheels slip, so the distance is a little off, and the first turn towards the dock is never exact, so the heading is a little off.
The team has to decide how good a heading sensor to buy, and the numbers on the whiteboard disagree: a report claims 91% docking, the lab says fewer than nine runs in ten work, and the simulator somebody wrote sends Rover in every direction. You will settle it with experiments, a repaired simulator, an honest estimate with an error bar, and a plan for how many real runs are enough.
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.