Ask Your Question

How do I get the pose estimated by AMCL at a fixed rate?

asked 2016-02-21 15:45:48 -0600

Marty gravatar image

Hi everybody, I'd like to know if there is a way to get the 2D pose estimates by AMCL at a fixed rate as is the case for the Hector SLAM in which the topic poseupdate provides the pose estimates at 40Hz with the Hokuyo UTM-30LX.

Thanks in advance!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2016-02-21 19:06:07 -0600

jorge gravatar image

Afaik, not without modifying the code, as amcl running frequency is marked by the /scan messages arrival. Even then, you normally see lower frequencies because if update_min_d/update_min_a parameters are >= 0, it skip scans until the robot moves/turns more than these values (with negative values, amcl publishes poses even when the robot is stopped.

edit flag offensive delete link more


Thank you for your reply Jorge. I set update_min_d/update_min_a with negative values but I get the following error

Transform [sender=unknown_publisher] For frame [laser]: No transform to fixed frame [map].

This error does not occur if the two parameters are positive.

Marty gravatar image Marty  ( 2016-02-25 05:04:41 -0600 )edit

mmm.... I noticed that by inspecting the code, tried it on Stage simulation and it worked... which ROS version are you using?

jorge gravatar image jorge  ( 2016-02-25 06:42:45 -0600 )edit

ROS Indigo

Marty gravatar image Marty  ( 2016-02-25 08:31:34 -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


Asked: 2016-02-21 15:45:48 -0600

Seen: 605 times

Last updated: Feb 21 '16