M15onebillion
29-01-2013, 02:15
Hi, we are having problem with our Autonomous mode. Using the code below the robot seems to stop after going forward for 5 seconds, and does nothing afterwards.
public void autonomous() {
Chassidy.setSafetyEnabled(false);
Chassidy.drive(0.5, 0.0);
Timer.delay(5.0);
Chassidy.drive(0.0, 0.25);
Timer.delay(2.0);
Chassidy.drive(0.0, 0.0);
}
Does anyone know what is wrong with this code?
Much appreciated!
public void autonomous() {
Chassidy.setSafetyEnabled(false);
Chassidy.drive(0.5, 0.0);
Timer.delay(5.0);
Chassidy.drive(0.0, 0.25);
Timer.delay(2.0);
Chassidy.drive(0.0, 0.0);
}
Does anyone know what is wrong with this code?
Much appreciated!