Performance Test 1

The following program was used to conduct the first AEV performance test. For this test, the AEV was tasked with travelling to the gate, stopping for 7 seconds, and then proceeding through the gate.

// Reverse all motors
reverse(4);

//Accelerate all motors from start to 35% in 2 seconds.
celerate(4,0,35,2);

// Move 330 marks from starting position(160 inches)
goToAbsolutePosition(330);

// Brake all motors
brake(4);

//Rotate servo 90 degrees
rotateServo(90);

//Wait until 7 seconds
goFor(7);

//Rotate servo 0 degrees
rotateServo(0);

//Accelerate all motors from start to 35% in 2 seconds.
celerate(4,0,35,2);

// Move 500 marks from starting position(243 inches)
goToAbsolutePosition(500);

//Brake all motors
brake(4);

//Rotate servo 90 degrees
rotateServo(90);