Code Evolution of Design

For the first Performance Test, the group used a combination of goToRelativePosition() and timing to brake the AEV at the correct spot. This led to a lot of inconsistencies, as the AEV would be run multiple times in a row and not stop in the exact same spot. Therefore, for Performance Test 2, the group decided to use a combination of while loops, if statements, and getTotalMarks() to make the AEV brake more accurately. This turned out to be more consistent and use less energy, as the AEV would adjust the speed depending on its position on the track. The code used for all three Performance Tests can be found here.

 

Return to Evolution of Design