ROS Resources: Documentation | Support | Discussion Forum | Service Status | Q&A
Ask Your Question

Turtlebot spinning in place + not going straight when speeding up simulation

asked 2016-09-12 01:51:20 -0600

nzlz gravatar image

Hello, As I show in the videos above, the Turtlebot is spins around itself a bit, which could affect the direction when I try to go straight. When the real time factor (simulation speed) is normal the robot makes an acceptable straight line, but when the simulation is set to maximum the robot clearly turns to the right. This strange behaviour does not happen in empty worlds, just when the robot is inside a model. Any possible solution to this issue?


Video1 - Spining around itself

Video 2 - Trying to go straight - in 0:40 normal speed is tested

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2016-09-12 12:48:10 -0600

tfoote gravatar image

It appears that you're speeding up gazebo to the point that the physics simulation is no longer converging to an accurate result. This can happen when the granularity of the simulation gets too great or the number of iterations for the solver are inadequate.

In general it's expected that if you speed up the physics that the accuracy drops. I suspect that this is something that can be tuned to run at the speeds you want w/o drifting turns. But to get more advice on this I'd recommend asking on since this really is an issue releated to simulation. They can probably help you tune the parameters for the model. As you've noticed this is related to both the robot model as well as the world model and how much computational time it takes for both.

edit flag offensive delete link more

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-09-12 01:51:20 -0600

Seen: 438 times

Last updated: Sep 12 '16