Robot Learning · Sim-to-Real Transfer and Robustness · M10-L1 · Intermediate
Randomize the Simulator
Experiment log · Scout at Meridian General Hospital
Experiment log, Meridian General Hospital, robotics bench. Scout's reaching controller was tuned in the simulator, where it swings round the pillar on the tightest path and arrives in about 31 steps without a single crash. On the east-wing floors it crashed in a third of the runs: the real motors are weaker, the floor drags harder, the commands arrive a quarter of a second late and the position readings are noisy. None of that is in the simulator.
The bench lead proposes domain randomization: train the controller on a different simulated world in every episode, drawn from ranges around what we measured. You write the sampler, the coverage check, and finally the function that chooses the ranges from measurements of six floors. The lab trains in simulation and tests on four floors you have not seen. This is a simplified toy study on the simulated Scout; no real robot data is used.
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.