Table of Functions

Command Arguments Return Value Description
brake(m) m: The motor(s) to brake (1, 2, or 4 for both) None Brakes the specified motor(s). Does not stop the AEV from moving, simply keeps motors from spinning.
celerate(m,s,e,t) m: The motor(s) to accelerate/decelerate (1, 2, or 4 for both)
s: The speed to start the motor(s)
e: The speed to end the motor(s)
t: The time over which to accelerate/decelerate the motor(s)
None Accelerates the specified motor(s) from the start speed to the end speed over the given amount of time.
motorSpeed(m,p) m: The motor(s) to set the speed for. (1, 2, or 4 for both)
p: The power (%) to set the motor(s) (0 – 100)
None Sets the speed of the specified motor(s) to the specified power.
goFor(t) t: The time to wait (in seconds) None Halts the execution of the code for the specified amount of time while still collecting data.
reverse(m) m: The motor(s) to reverse (1, 2, or 4 for both) None Stops the specified motor(s) and reverses the direction for the next time motorSpeed() or celerate() is called.
goToRelativePosition(d) d: The distance to travel in marks None Halts the execution of the code until the specified number of marks are moved while still collecting data. Similar to goFor() except it uses distance instead of time.
goToAbsolutePosition(d) d: The distance to travel to in marks None Halts the execution of the code until the AEV reaches the specified mark while still collecting data. Different from goToReletivePosition() because this command allows the AEV to move to an absolute position.