First Map in Gazebo with SLAM Toolbox

Hands-on bridge: map a Gazebo world, save PGM/YAML, switch to AMCL localization, and debug map quality before Nav2 goals.

In this article

  • Why map first, then localize
  • 1. What you need running
  • 2. Mapping phase workflow
  • 3. Save and inspect the map
  • 4. Production phase: localize on the saved map
  • 5. Debug checklist when the map looks wrong
  • 6. When to use something else