Function Call | Function Parameters | Function Description |
celerate(m,s1,s2,t) | m is the motor number
s1 – start speed (%) s2 – end speed (%) t – time(sec) |
This function accelerates or decelerates motor m from start speed s1 to end speed s2 over t seconds |
motorSpeed(m,s) | m – motor number
p – speed (%) |
Starts motor (m) at speed (p) |
goFor(t) | t – time(sec) | Motor runs for a specified time t |
brake(m) | m – motor number | Cuts power to motor m |
reverse(m) | m – motor number | Reverses the polarity of motor m |
goToRelativePosition(n) | n – position(marks) | moves vehicle a certain distance n , positive being forward and negative being backwards |
goToAbsolutePosition(n) | n – position (marks) | Moves vehicle a certain distance n relative to overall starting position of AEV |
(“User Manual – AEV Controller & Arduino,” 2017)