The purpose of this experiment was to test previously built code on the test track in order to acquire data that can be translated into understandable units of energy. In the beginning, the team struggled with the direction of the code the readings of the external sensors. After the code was adjusted, the team ran the AEV on the track under 25% power (see Data Acq. Track Test 1 below).
reverse(4);
motorSpeed(4,32);
goFor(2); //Runs motors at 25% for 2 sec
motorSpeed(4,25);
goToAbsolutePosition(394); //Sends AEV 16 feet from starting position.
reverse(4); //Reverses motors
motorSpeed(4,30);
goFor(1.5); //Runs motors at 30% speed for 1.5 seconds
brake(4); //brakes motors