Robotics StackExchange | Archived questions

Robot wheel moving in Gazebo but not in real life.

If I move my custom differential drive robot at a certain angle. In Gazebo the robot is going perfectly straight but in real life only one wheel is turning. Any ideas what could be the cause for this?

Asked by autonomous on 2017-06-21 00:01:32 UTC

Comments

Answers

Do the second wheel of the real robot sometimes turn? If not, you may check if you wired correctly the motor, if the motor itself is okay (for example by switching the motors) and if you haven't forgotten the code line outputting the new command for the second motor.

If the motor is sometimes turning, I would check if you forgot somewhere in your code to output the motor command, and if there is a problem with your encoders or other captors.

Asked by felix on 2017-06-22 02:00:57 UTC

Comments