Function Call |
Description |
celerate(m,p1,p2,t); |
accelerates or decelerates motors (m) from the start speed % (p1) to end speed % (p2) over a duration (t) seconds. |
motorspeed(m,p); |
initializes motors (m) at percent power (p). |
goFor(t); |
runs the motors at their initialized state for (t) seconds. |
brake(m); |
brakes motors (m). (does not actually brake but stop motors from spinning). |
reverse(m); |
reverses the polarity of the motors (m). |
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. |
goToAbsolutePosition(n); |
Continues the previous command for n marks relative to the overall starting position of the AEV. |