com.scottpreston.javarobot.chapter3
Interface JMotion

All Known Implementing Classes:
Hexapod, SpeedDiffDrive

public interface JMotion


Method Summary
 void forward()
           
 void forward(int ms)
           
 int getSpeed()
           
 void pivotLeft()
           
 void pivotLeft(int ms)
           
 void pivotRight()
           
 void pivotRight(int ms)
           
 void reverse()
           
 void reverse(int ms)
           
 void setSpeed(int speed)
           
 void stop()
           
 

Method Detail

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()