Log in

View Full Version : Driving Issues Need Help


jessss
20-02-2016, 16:51
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)
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.

Mark McLeod
20-02-2016, 17:05
Look to see what all the status lights are doing when this happens.
Look at the Driver log file plots and Event List to see what else occurred at the time the robot stopped.

You may just be browning out.