Robot not turning exactly 90 degrees

I’m a classroom teacher and students are using the Vexgo Code Base robot. The problem we’re having is that when we program it to turn 90 degrees, it doesn’t turn exactly 90. It’s a little under or a little over. Also, sometimes when it turns, it’ll complete the turn and then adjust slightly back. Any help would be appreciated.

1 Like

This is where “theory” meets “reality.” Reality includes “overspin” from inertia causing the mechanism to overtravel after the motors shut off. The faster the turning, the more the overtravel. The simple solution is experiment and change the rotation angle (like 88° or whatever) so you have 90° when it comes to rest.

In industrial robotics, motion often has complex programming (ramp up, travel, ramp down) along with PID to ensure precision motion.

3 Likes