Odometry, TF & Costmaps for Beginners

Bridge to Nav2: wheel odometry math, map→odom→base_link, TF timeouts, global vs local frames, AMCL particles, inflation YAML, recoveries, and failure taxonomy.

In this article

  • 1. Odometry as discrete integration
  • 2. Why the TF tree is split
  • 3. TF timing: the silent killer
  • 4. Costmaps: layers, values, inflation
  • 5. Global vs local frames (easy to misconfigure)
  • 6. How this plugs into Nav2
  • 7. Recoveries (when the robot gives up)
  • When this setup is not enough
  • 8. Checklist before Nav2 tuning