Arduino Function Glossary

brake(m); – Brakes motor(s) m. This does not brake the AEV, it only stops the motors from spinning.

celerate(m, p1, p2, t); – Accelerates or decelerates motor(s) from start speed (%) p1 to end speed (%) p2 over a duration of t seconds.

goFor(t); – Runs the motor(s) at their initialized state for seconds.

goToAbsolutePosition(n); – Continues the previous command for n marks relative to the overall starting position of the AEV.

goToRelativePosition(n); – Continues the previous command for n marks from the vehicle’s current position. n can be positive or negative, with positive meaning the vehicle is moving forward, negative meaning the vehicle is moving backward.

motorSpeed(m,p); – Initializes motor(s) m at percent power p.

reverse(m); – Reverses the polarity of motor(s) m.

Source:

[1] Ohio State Fundamentals of Engineering Program, “Preliminary R&D Lab Manual.” [Course documentation]. Available: carmen.osu.edu for ENGR 1182. [Accessed Jan. 16, 2019].