PerformanceTest1

File name: PerformanceTest1.ino
Date created: 3/15/18
Date modified: 3/21/18


// Sets the back motor to 58% power, travels 10 feet, sets the front motor to
// 68% power, brakes the back motor, and then power brakes for 1.5 seconds
reverse(4);
motorSpeed(1,58);
goToAbsolutePosition((10*12)/0.4875);
motorSpeed(2,68);
brake(1);
goFor(1.5);


// Brakes the front motor to have the AEV pause for approximately 7 seconds
brake(2);
goFor(7.1);


// Sets the back motor to 58% power, travels for 3 seconds, sets the front
// motor to 50% power, brakes the back motor, and then power brakes for 1.5
// seconds
motorSpeed(1,58);
goFor(3);
motorSpeed(2,50);
brake(1);
goFor(1.5);