Performance Test 1 required the AEV to travel to the stop sign, wait seven seconds for the sign to raise, then travel past. The following code was used to complete this performance test using the dual-propeller AEV design.
//Accelerate both motors
reverse(1);
reverse(2);
celerate(4,0,33,4);
//Go up to the stop sign
goToAbsolutePosition(216);
//Brake where needed
brake(4);
reverse(1);
reverse(2);
motorSpeed(4,31);
goFor(1.1);
brake(4);
//Continue after stop sign raises
goFor(11);
reverse(1);
reverse(2);
motorSpeed(4,30);
goToRelativePosition(10);
brake(4);