Navigation · Trajectories and Path Following · M5-L4 · Intermediate
Compare Pure Pursuit and Stanley
15:45. The tug that moves linen carts uses a front-wheel steering controller, and Scout uses pure pursuit. Facilities want one controller for the east wing: a 40 m corridor with two tight bends. Each team says theirs is better.
You will write the Stanley steering law and the two error measurements it needs, and then read three runs from the same simulation of the same corridor to see what each controller does well, where each is wrong, and what matters more than the choice between them.
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.