Arduino Function Glossary

  1. brake (m);
    1. brakes the motors (m). It only stops the motors from spinning.
  2. celerate (m,p1,p2,t);
    1. Accelerates or decelerates the motors (m) from their start speed percentage (p1) to their end speed percentage (p2). It decelerates or accelerates the motors for (t) seconds.
  3. goFor(t);
    1. Runs the motors specified in the line of code above at their initialized state for (t) seconds.
  4. goToAbsolutePosition(n);
    1. Continues the previous command for n marks relative to the overall starting position of the AEV.
  5. goToRelativePosition(n);
    1. Continues the previous command for n marks from the vehicle’s current position. n can be positive or negative. Positive represents forward motion and negative represents backwards motion.
  6. motorSpeed(m,p);
    1. Initializes motors (m) at percent power (p).
  7. reverse(m);
    1. Reverses the polarity of the motors(m).