Robot Learning · Model-Based Robot Learning · M7-L3 · Advanced
When the Model Lies
Experiment log · Scout at Meridian General Hospital
Experiment log, Meridian General Hospital, logistics corridor. Scout's planner now uses a model learned from slow test drives. In the simulator replay every plan is perfect and the robot glides around the pillar to the pharmacy. On the floor, the same plans clip the pillar two times out of five. The average prediction error of the model is a few centimetres, so what is going on?
You will diagnose it in three steps: split the model's error by where Scout is, work out how many steps of a plan can be trusted when the worst drives are taken seriously, and choose how often to replan. JavaScript then drives Scout from ten starting positions through the hall, with a planner that uses the lying model and your replan interval, and counts goals and collisions.
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 heapq. 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.