//set all motors at constant power 30%.
motorSpeed(4,30);
//run AEV until reaching 255 marks.
goToAbsolutePosition(255);
//brake all motors.
brake(4);
//reverse all motors.
reverse(4);
//set all motors at constant power 30%.
motorSpeed(4,30);
//run AEV for 1.5 seconds.
goFor(1.5);
//set all motors at constant power 0%.
motorSpeed(4,0);
//wait in front of the gate for 7.5 seconds.
goFor(7.5);
//reverse all motors.
reverse(4);
//set all motors at constant power 30%.
motorSpeed(4,30);
//run AEV for 1.5 seconds.
goFor(1.5);