We are just starting to practice driving our robot but it isn't driving straight like it should. The robot usually makes it about 5 feet and then it will stop and jerk to the left or right, then after another pause it starts driving forward again. We are sure its a programming issue because we checked the motors and chains pulling the wheels and they are fine.
As far as code goes for driving, we just have the basic (in Java)
Code:
public void operatorControl(){
myDrive.setSafetyEnabled(true);
while (isOperatorControl() && isEnabled()){
myDrive.arcadeDrive(stick);
Timer.delay(0.01);
We are currently testing to make sure it isn't the controller we're using but it hasn't been having any other issues with it.