Skip to content

Instantly share code, notes, and snippets.

@SweiLz
Last active January 28, 2019 04:11
Show Gist options
  • Save SweiLz/bafd5ded000f9aede3a40ce50f53cdd9 to your computer and use it in GitHub Desktop.
Save SweiLz/bafd5ded000f9aede3a40ce50f53cdd9 to your computer and use it in GitHub Desktop.

For ROS navigation, there is a tf tree map->odom->base_link. The odom pose is the base_link frame pose relative to odom frame. The absolute/global pose is the base_link frame pose relative to map frame. IMU and encoders provide the odom pose which drifts over time and thus only right for a short time. GPS, amcl and indoor position system provide the absolute/global pose. You got odom pose means you got the tf odom->base_link, and you got absolute/global pose means you got base_link pose relative to map. To correct the robot location, you have to provide the tf map->odom, which can be calculated from odom->base_link and base_link pose relative to map.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment