map, odom, and base_link: The Three Frames on a Mobile Robot

What map, odom, and base_link each mean, who publishes map→odom and odom→base_link, why only one of those edges may jump, and how to read the chain with tf2_echo.

In this article

  • A 10 m corridor, with the numbers
  • Which jump is normal
  • base_footprint is not base_link
  • Axes, so a sign error is obvious
  • Three bugs that only happen on this chain