ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
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.