Glossary

Basic Function Calls:

  • celerate(m,p1,p2,t) – accelerates or decelerates motor m from start speed p1% to end speed p2% in t secs
  • motorSpeed(m,p) – sets speed of motor m at p% power
  • goFor(t) – runs the motors at the previously specified speed for t secs
  • brake(m) – stops motor m from spinning
  • reverse(m) – reverses the polarity of motor m
  • goToRelativePosition(n) – keeps motors running at previously specified power until AEV reaches n* marks** from its current position
  • goToAbsolutePosition(n) – keeps motor running at previously specified power until AEV reaches n* marks** from its starting position

*n can be positive (moving forward) or negative (moving backward)

**one mark is equal to .4875 inches