Probability for Robotics · Maximum Likelihood, MAP and Factor Graphs · M11-L1 · Advanced
Occupancy Grid and Pose Graph SLAM
Bench log · Rover in the teaching lab
17:20. The map of the lab has a doubled wall where the loop should close. Rover drove once around the central pillar, scanning all the way, and the map built from its own odometry shows the room twice and the pillar as a smudge.
You will build the grid in log odds, find out what is wrong with the odometer, tie the end of the loop to its start with a pose graph, and rebuild the map from the corrected path: the whole of graph SLAM in miniature.
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.