Glossary of Code Terms

Functions Description Example
celerate(m,p1,p2,t) Accelerates or decelerates the motor m from p1 (%) to p2 (%), taking t seconds. celerate(1,0,20,5)
motorSpeed(m,p) Starts motor m at power p (%) motorSpeed(2,50)
goFor(t) Runs the motor at initialized speed for t seconds goFor(10)
brake(m) Stops powering motor m brake(1)
reverse(m) Reverses the motor m reverse(2)
goToRelativePosition(n) Continues the current state for n number of marks on the track. n can be positve or negative. goToRelativePositon(5)
goToAbsolutePositon(n) Continues the current state for n marks from the starting position of the AEV goToAbsolutePosition(20)