Arduino Function Glossary
celerate(motor number, initial power(%), final power(%), time);
- Accelerates the chosen motor(s), labeled 1-3, from their initial to the final state over the allotted time. The number “4” can be used to denote that all motors will be used. This concept is applied for all of the function calls detailed in this glossary.
motorSpeed(motor number, power(%));
- By entering a motor number and the corresponding power, the user is able to control its output.
goFor(time);
- The motors that have been previously initialized will run for the time allocated.
Brake(motor number);
- Brakes the desired motor(s) which will eventually cease the run of the AEV vehicle via the lack of energy supplied to the propellers.
Reverse(motor number);
- Reverses the motor(s) from their called state.
goToRelativePosition(number of marks);
- The AEV will continue to run until it reaches the desired amount of marks from its current position.
goToAbsolutePosition(number of marks);
- The AEV will continue to run until it reaches the desired amount of marks from its starting position.