C. Performance Test 1

Code planned for use:
//Run all motors at a constant speed of 30% power.
motorSpeed(4,30);
//Using the goToAbsolutePosition function travel a total distance of 225 marks (from the starting point)
goToAbsolutePosition(225);
//Run all motors at a constant speed of 15% power.
motorSpeed(4,15);
//Using the goToAbsolutePosition function travel a total distance of 287 marks (from the starting point)
goToAbsolutePosition(287);
//Brake all motors for 7 seconds.
brake(4);
for(pos = 90; pos < 93; pos += 1)
{
rotateServo(pos);
delay(5);
}
goFor(7);
//Run all motors at a constant speed of 25% power.
rotateServo(0);
motorSpeed(4,25);
//Using the goToAbsolutePosition function travel a total distance of 400 marks (from the starting point)
goToAbsolutePosition(400);
//Brake all motors.
brake(4);
rotateServo(90);