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

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

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

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?

Nestor


Video1 - Spining around itself https://www.youtube.com/watch?v=LdImD...

Video 2 - Trying to go straight - in 0:40 normal speed is tested https://www.youtube.com/watch?v=ltf0e...

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

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

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 http://answers.gazebosim.org/questions/ 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

Question Tools

Stats

Asked: 2016-09-12 01:51:20 -0500

Seen: 1,280 times

Last updated: Sep 12 '16