Ask Your Question

frequency of odometry updates for navigation stack

asked 2016-05-23 20:20:09 -0500

billy gravatar image

I am working my way through the tutorial for the navigation stack. I have odometry msgs being published at about 12Hz (that's how fast they come in from the HW). The tutorial doesn't have any recommendation about frequency of odom updates, but I have found at least one thread here that mentions someone using 800Hz. I could increase from 12 Hz, but could not get above 50Hz given the current HW I have. Laser scan updates at ~3Hz.

This is for a tank-steer about 20cm across that should be able to move at maybe 30cm/sec.

What frequency have you guys been successful (or unsuccessful) with? Does 12 - 50Hz sound feasible?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2016-05-23 20:37:54 -0500

Well, if you get your odometry at 12Hz and your max speed is 0.3m/sec that means that if your robot is moving at max speed it will travel 0.025m (2.5cm) between odometry updates. If that is something you can live with, then it is OK.

I usually work with a robot that publishes odometry at ~20Hz with 0.5m/sec max speed without any major issue, although to avoid overshooting or oscillating around a goal point in autonomous navigation, the robot needs to drive slowly when close to the goal.

As a rule of thumb, the finest control you want the higher rate you need.

edit flag offensive delete link more


That's the feedback I was hoping for. Thanks for your help.

billy gravatar image billy  ( 2016-05-23 22:43:40 -0500 )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: 2016-05-23 20:20:09 -0500

Seen: 791 times

Last updated: May 23 '16