Ask Your Question

My robot is not moving in a straight line. Ros-gazebo

asked 2020-11-07 05:27:42 -0500

ebey gravatar image

My robot is not moving in a straight line in ros1. I took the code from some place it dosen't look good. I have checked for the cenre of mass and also joints. I think the problem is with the contact on the ground of the simulation in gazebo. Initially all the 4 caster wheel and 2 diffrentila wheel. when they are placed on the same plane, the robot dosen't move. But when I increase the size of the diffrential wheel, the robot moves but dosent go in a straight line((It almost has like 10 degree curve to right or left). It works fine with PID controller but I need to plot the odometry data, so i need it to be perfectly straight.

Please help, thanks in advance!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2020-11-07 10:45:43 -0500

duck-development gravatar image

For future questions about Gazebo (robot modelling, physics setup), please ask them on


. ROS Answers is about ROS, and we try to stay on topic as much as possible.

you may look at

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: 2020-11-07 05:27:42 -0500

Seen: 309 times

Last updated: Nov 07 '20