So whenever I drive, the robot drifts a little which is really annoying for the drivers, and would also be a problem for autonomous. Could you please tell me how to fix this issue?

Thank you so much

If your robot is drifting during driver control you might not have your dead band high enough. so your controller is reading really low values.

I do not understand what you mean, could you explain it further?

This is often caused by a difference in friction between the sides of your drive. Make sure that all wheels spin freely when disconnected from a motor and that the spacing on the axles isn’t too tight.


Thank you, I will try that.

A dead band sets a certainin value that the c I nyroller has to hit. So that it doesn’t read super low valiesnfrom the joystick. Without a dead band the controller might read a super low value even if your joystick is at 0 which would cause the motors to move


It seems like you are talking about making a controller dead zone, is that correct?


I explain how the deadband works in the built in Vexcode blocks example for LH arcade stick here. Vex IQ VexCode Blocks - Drivetrain Series - Lesson 1 - LH Arcade Stick - YouTube


Thank you for the help.

Easiest thing is just go in your autonomous and driver code, and set the drivetrain stopping to hold. That will fix the problem easy

You can also try to stabilize your drive train I had a robot that drifted because the motors were not supported and were falling.