Code Testing


For the final Advanced research and development, Team M decided to focus on the code an making the AEV stop more precisely.  Different methods were tested by changing the code that made the AEV stop.  The first few trials, the overall distance was set to be 4ft and when the AEV hit 2ft, the motors would automatically reverse for half a second.  For most of the trials, the AEV didn’t even make it to 4ft.  So the design of the experiment was changed to be 10 ft.  The other test that we used, the motors would gradually decrease when they were reversed.  Unfortunately, the AEV stopped 1ft short during this test as well.  Since the code proved to be unpredictable, Team M will not be implementing findings from aR&D 3.

Below are the performance analysis graphs for the test to make the AEV stop at 10 ft. It can be seen from the time vs. distance graph that the AEV stopped at approximately 9 ft. The power vs. distance graph illustrates that the AEV began to reverse its motors at around 5 ft, as intended.