Navigation · Maps and Costmaps · M2-L1 · Beginner
Build an Inflated Costmap
09:40. Scout keeps clipping door frames on the way to the pharmacy, and in the evening it refuses the same doors with "no path". The map is correct. The costmap built from it is not.
You will write the cost function that turns a distance into a number the planner can use, inflate a whole hospital hall with it, and then measure what is left of a 0.9 m door.
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.