com.scottpreston.javarobot.chapter3
Interface JMotion
- All Known Implementing Classes:
- Hexapod, SpeedDiffDrive
public interface JMotion
forward
void forward()
throws java.lang.Exception
- Throws:
java.lang.Exception
reverse
void reverse()
throws java.lang.Exception
- Throws:
java.lang.Exception
pivotRight
void pivotRight()
throws java.lang.Exception
- Throws:
java.lang.Exception
pivotLeft
void pivotLeft()
throws java.lang.Exception
- Throws:
java.lang.Exception
stop
void stop()
throws java.lang.Exception
- Throws:
java.lang.Exception
forward
void forward(int ms)
throws java.lang.Exception
- Throws:
java.lang.Exception
reverse
void reverse(int ms)
throws java.lang.Exception
- Throws:
java.lang.Exception
pivotRight
void pivotRight(int ms)
throws java.lang.Exception
- Throws:
java.lang.Exception
pivotLeft
void pivotLeft(int ms)
throws java.lang.Exception
- Throws:
java.lang.Exception
setSpeed
void setSpeed(int speed)
throws java.lang.Exception
- Throws:
java.lang.Exception
getSpeed
int getSpeed()