Ask Your Question

How odometry is going to help the navigation stack?

asked 2013-12-11 02:03:15 -0600

RB gravatar image

Hi, Although I am going through the tutorials, I need some precise answer.

  1. How odometry helps navigation stack.
  2. How it is related with tf?
  3. Is odometry helpful for generating velocity command to base controller?
  4. Is it somehow related to amcl, sensor data? then how it is related?

Thanks for your time

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-12-11 02:31:01 -0600

dornhege gravatar image

Odometry is/can be used in multiple components in the navigation stack. Costmaps might be defined in the odometry frame and thus transformed by odometry. The controller can used odometry to determine the next command (this depends on the implementation/algorithm).

Usually odometry is send in two ways: TF + odom message. TF nicely embeds with all other tf frames, while the message contains additional uncertainty information.

AMCL uses odometry as an essential input.

edit flag offensive delete link more


@dornhege, from wikipedia, I get a definition of odometry as "Odometry is the use of data from moving sensors to estimate change in position over time. " 1)Does odometry uses sensor data to help the AMCL? 2) If we see a tf message suppose flowing into slam_gmapping, then we can say slam_gmapping uses odometry?3) /odom is a tf message and will it corresponds to world frame?

RB gravatar imageRB ( 2013-12-11 03:06:16 -0600 )edit

1) There might be different sources, the most common one is wheel encoders. 2) Yes and it does exactly that. 3) No. /odom is a custom message containing uncertainties that runs in parallel with the /odom -> /base_link transform in tf. Both should contain the same odometry information though.

dornhege gravatar imagedornhege ( 2013-12-11 03:28:14 -0600 )edit

Note that odometry differs from tf in that it contains both uncertainties and velocity information, both of which are absent in tf.

Thomas D gravatar imageThomas D ( 2013-12-11 03:49:29 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2013-12-11 02:03:15 -0600

Seen: 250 times

Last updated: Dec 11 '13