Programming Design Basics

Every time that the team uses the AEV on the track or even on the desktop stand, it uses a code to ensure that the sensors are working correctly. Below is a picture of the code that we use.

Then a code would be used to figure out how much motor speed would be needed to get the AEV to move efficiently on the desk stand. The code that was used in these test is pictured below :


After, we created the code for scenario 1 which made the team more familiar with coding for the AEV. Below is the code that we created.

The next code that would be used would be to determine the power and energy over time and distance. This code would be used several times to get an accurate measurement. The code is as follows: