-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Turtlebot unintentionally moving by itself in Gazebo #77
Comments
Yet another case of Gazebo fanciness... I was playing with this recently. I didn't manage to find a configuration working realistically, but two changes seem to help and remove the drift:
Please try both changes separately and report the result. If significantly better, I'll PR the changes. |
Thanks for the suggestions, but both don't work for me. |
Did you solve the problem? If not, and if you are not using kobuki sources, can u apply this change? |
No, unfortunately the problem is still not solved. Thanks for the advice, but the fix doesn't change the behaviour. As I described above, the problem also exists with other objects in gazebo. |
😞 for other objects, u can try to set kinematic to 1: Maybe u can try the same trick with TB2, but no idea which weird effects this can happen. Please let me know if u try |
When I start a simulation of the Turtlebot in Gazebo, it is slowly moving by itself (linear and angular). If I check the 'odom' messages published by Gazebo, there is always a small twist (linear x und angular z). After some minutes you can clearly see the changed pose in the Gazebo GUI. This is also happening to some other simple objects spawned in Gazebo (like cylinders). I already testet other friction values in the robot and world URDFs, but without success.
To reproduce the issue, you can simply run the turtlebot_world.launch from turtlebot_gazebo package and take a look at the 'odom' messages:
After 200 seconds I see that it has a slight rotation (a few degrees) , but is pretty much in the same position. If you look at the contact points on the ground you'll see that there's a continuous oscillation between the wheels that can cause small numerical integration errors to accumulate.
Example odom:
System: Ubuntu 16.04 (kernel 4.15), ROS Kinetic (all involved packages on latest version, Gazebo 7).
The text was updated successfully, but these errors were encountered: