Advanced Research Programs

The following programs were used to test the AEV using different motor configurations and bases and was also used to test the functionality of the servo as a brake.

Servo Test Code

//Reverse all motors
reverse(4);

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

//Move 225 marks from starting position(110 inches)
goToAbsolutePosition(225);

//Brake all motors
brake(4)

//Rotate servo 90 degree
rotateServo(90);

Motor Configuration Research
// Accelerate all motors from start to 25% power in 3 seconds.
celerate(4, 0, 25, 3);

// Move 250 marks from the initial starting position (about 120 inches).
goToAbsolutePosition(250);

// Brake all motors.
brake(4);