Navigation · Navigation in the Real World · M9-L2 · Advanced
Lint a Nav2 Parameter File
10:05. The new Scout unit boots, the costmaps appear in the visualiser, and the first goal is rejected with a transform timeout. A second unit starts, drives, and then stops with "failed to make progress" while the wheels are turning. Both run the same 300-line parameter file, copied from the last site, edited by four people.
Reading 300 lines for a contradiction is slow and error-prone. You will write the small linter that does it in a second, and learn which relationships a parameter file has to satisfy.
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. The file arrives as the nested dict params; the starter code includes leaves(params), which flattens it into dotted paths such as amcl.ros__parameters.use_sim_time. No YAML or XML modules are available or needed. Your code runs in a background worker and is never sent anywhere.