Ask Your Question
1

Setting the Turtlebot initial pose estimate

asked 2011-10-28 05:24:52 -0500

Having successfully made a map I'm following the instructions for navigation here:

http://www.ros.org/wiki/turtlebot_navigation/Tutorials/Autonomously%20navigate%20in%20a%20known%20map

But when attempting to set the initial pose the robot isn't relocated on the map. I can see that there is an attempt to set the pose, like this:

[ INFO] [1319821331.969617532]: Setting pose: -0.708 -0.116 1.488 [frame=/map]

but within rviz the robot remains fixed in place. I'm using the latest electric source code checked out and compiled. On the turtlebot itself I am getting the following warning, which might not be related:

[ WARN] [1319821429.390001799]: Map update loop missed its desired rate of 3.0000Hz... the loop actually took 0.5033 seconds

The only parameter which is different from what's described in the wiki is the map yaml file, and that appears to have loaded correctly within rviz.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
2

answered 2011-10-28 06:01:15 -0500

Brian Gerkey gravatar image

This often means that subscribers on the robot (in this case amcl) can't contact off-board publishers (in this case rviz). Check the network troubleshooting guide to verify that you have bi-directional communication; you may need to, for example, set ROS_IP on your off-board machine.

edit flag offensive delete link more

Comments

From tests it appears that the network is set up ok. One warning which I often seem to be getting when starting the amcl demo is: [ WARN] [1319886789.489061969]: Waiting on transform from /base_link to /map to become available before running costmap, tf error: JediHamster ( 2011-10-28 23:15:56 -0500 )edit
I think I've fixed the problem. It looks as if both the robot and the remote computer both need to have explicit names set up for them within /etc/hosts - you can't just rely upon using IP addresses. JediHamster ( 2011-10-29 00:56:05 -0500 )edit

Your Answer

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

Add Answer

[hide preview]

Stats

Asked: 2011-10-28 05:24:52 -0500

Seen: 590 times

Last updated: Oct 28 '11