Performance Test 01

This is the code for performance test 01. The AEV has to travel up an incline track and then stop between two sensors. The AEV has to wait for the gate to open in seven seconds, then it proceeds on to the track.

celerate(4,0,35,3);

motorSpeed(4,35);

goToRelativePosition(249);

reverse(4);

motorSpeed(4,30);

goFor(1);

brake(4);

goFor(7.2);

reverse(4);

celerate(4,0,35,2);

motorSpeed(4,35);

goFor(3);

brake(4);