Navigation · Navigation Foundations · M1-L2 · Beginner
Drive the Robot: Unicycle and Car-Like Models
07:12. The overnight simulation said Scout would reach the pharmacy with 10 cm to spare. On the real floor it ended up 40 cm to the left, and nobody can say whether the robot or the simulator is wrong. Facilities also want to know whether the new car-like tug can turn around in the east corridor, which is 2.0 m wide.
Both questions depend on the same thing: a correct model of how the robot moves. You will write the motion step for a differential-drive robot and for a car-like one, check them against hidden scenarios, and answer the corridor question with numbers.
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.