Reference of function calls [1]
-
celerate(m, p1, p2, t)
- Accelerates or decelerates motors
m
from start speedp1
to end speedp2
int
seconds.
- Accelerates or decelerates motors
-
motorSpeed(m, p)
- Sets motor
m
to percent powerp
.
- Sets motor
-
goFor(t)
- Runs the motors at their current settings for
t
seconds.
- Runs the motors at their current settings for
-
brake(m)
- Brakes motors
m
.
- Brakes motors
-
reverse(m)
- Run motor
m
in reverse.
- Run motor
-
goToRelativePosition(n)
- Moves the vehicle to position
n
based on its current position.
- Moves the vehicle to position
-
goToAbsolutePosition(n)
- Moves the vehicle to position
n
based on its start position.
- Moves the vehicle to position
References
[1] Ohio State University Fundamentals of Engineering Program. “Preliminary Research and Design”. [Course documentation]. Available: https://osu.app.box.com/s/diy2i8qb3l86ngb4f9j5x7geajy3epup