AEV Function Calls

  • celerate(m,p1,p1,t):
    • motors m  accelerates/decelerates from speed(%) p1 to speed(%) p2 over t seconds
  • motorSpeed(m,p):
    • Sets motor(s) at speed(%)
  • goFor(t):
    • Runs motor(s) at their initialized state for t seconds
  • brake(m):
    • Brakes motor(s) m
  • reverse(m):
    • Reverses polarity of motor(s) m
  • goToRelativePosition(n):
    • Continues previous command for n marks from the vehicle’s current position A positive n means vehicle moves forward, negative n means vehicle moves backward
  • goToAbsolutePosition(n):
    • Continues previous command for n amrks from the overall starting position of the AEV