Performance Test 1

For the first performance test, the group decided to run code that had the AEV run at a constant power setting for a certain amount of marks before cutting power and coasting to a stop in front of the gate or cargo. Two sets of code were used for this performance test, one with a higher power setting for fewer marks and one with a lower power setting for more marks. The purpose of testing these sets of code is to determine the most energy efficient way of running the AEV. Through our tests, the group determined that running the AEV at a higher power setting for fewer marks used substantially less energy than a lower power setting for higher marks. The code used for the test can be seen below.

// Performance test 1, original base, room 224 fast
reverse(4);
motorSpeed(4,25);
goToRelativePosition(187);
brake(4);
goFor(12);
motorSpeed(4,25);
goToRelativePosition(193);
brake(4);
goFor(6);
reverse(4);
motorSpeed(4,40);
goToRelativePosition(-234);
brake(4);
goFor(12);
motorSpeed(4,40);
goToRelativePosition(-247);
brake(4);

// Performance test 1, original base, room 224 slow
reverse(4);
motorSpeed(4,20);
goToRelativePosition(232);
brake(4);
goFor(12);
motorSpeed(4,20);
goToRelativePosition(347);
brake(4);
goFor(6);
reverse(4);
motorSpeed(4,35);
goToRelativePosition(-341);
brake(4);
goFor(12);
motorSpeed(4,40);
goToRelativePosition(-254);
brake(4);