ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

The slower the speed of turtlebot the better the mapping result we got..WHY?

asked 2014-12-14 16:07:11 -0600

ghost gravatar image

Hi there. I m making mapping with my turtlebot by using ros gmapping. I notice that the slower the speed of turtlebot movement, the better map result that i got in rvis map. But i dont know why, and what theory that can support me to say this.please help me by giving the best reason.

regards

edit retag flag offensive close merge delete

Comments

Are you running gmapping on the turtlebot while you drive it around, or are you running gmapping afterwards, on a bag file?

ahendrix gravatar image ahendrix  ( 2014-12-14 17:28:34 -0600 )edit

Im running the gmapping while drive it around

ghost gravatar image ghost  ( 2014-12-14 18:29:04 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-12-14 18:39:34 -0600

ahendrix gravatar image

gmapping is CPU-intensive, particularly in configurations like the turtlebot, where it needs to run updates frequently to compensate for the poor odometry and poor field of view of the Kinect (compared to a scanning laser). The updates for gmapping are performed either when the robot has turned by more than a specified amount, or when the robot has moved linearly by more than a specified amount.

I suspect what's happening is that update step in gmapping is taking a long time on your CPU, and it isn't able to update as frequently as the parameters specify. By driving the robot more slowly, you give it more time to compute between updates.

To check this, you can watch the CPU usage on the turtlebot while driving it around, and you can watch the log output from gmapping, to see how frequently it's performing updates and resampling.

edit flag offensive delete link more

Comments

nice explanation..thank you

ghost gravatar image ghost  ( 2014-12-14 19:00:31 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2014-12-14 16:07:11 -0600

Seen: 333 times

Last updated: Dec 14 '14