com.scottpreston.javarobot.chapter3
Class Hexapod
java.lang.Object
   com.scottpreston.javarobot.chapter3.Hexapod
com.scottpreston.javarobot.chapter3.Hexapod
- All Implemented Interfaces: 
- JMotion
- public class Hexapod 
- extends java.lang.Object- implements JMotion
 
 
| Methods inherited from class java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
Hexapod
public Hexapod(JSerialPort serialPort)
        throws java.lang.Exception
- Throws:
- java.lang.Exception
getTotalMove
public java.lang.String getTotalMove(java.util.ArrayList legs,
                                     int cmd)
                              throws java.lang.Exception
- 
 
- 
- Throws:
- java.lang.Exception
 
forward
public void forward()
             throws java.lang.Exception
- 
- Specified by:
- forwardin interface- JMotion
 
- 
- Throws:
- java.lang.Exception
 
main
public static void main(java.lang.String[] args)
- 
 
- 
 
forward
public void forward(int ms)
             throws java.lang.Exception
- 
- Specified by:
- forwardin interface- JMotion
 
- 
- Throws:
- java.lang.Exception
 
stop
public void stop()
          throws java.lang.Exception
- 
- Specified by:
- stopin interface- JMotion
 
- 
- Throws:
- java.lang.Exception
 
reverse
public void reverse()
             throws java.lang.Exception
- 
- Specified by:
- reversein interface- JMotion
 
- 
- Throws:
- java.lang.Exception
 
pivotRight
public void pivotRight()
                throws java.lang.Exception
- 
- Specified by:
- pivotRightin interface- JMotion
 
- 
- Throws:
- java.lang.Exception
 
pivotLeft
public void pivotLeft()
               throws java.lang.Exception
- 
- Specified by:
- pivotLeftin interface- JMotion
 
- 
- Throws:
- java.lang.Exception
 
reverse
public void reverse(int ms)
             throws java.lang.Exception
- 
- Specified by:
- reversein interface- JMotion
 
- 
- Throws:
- java.lang.Exception
 
pivotRight
public void pivotRight(int ms)
                throws java.lang.Exception
- 
- Specified by:
- pivotRightin interface- JMotion
 
- 
- Throws:
- java.lang.Exception
 
pivotLeft
public void pivotLeft(int ms)
               throws java.lang.Exception
- 
- Specified by:
- pivotLeftin interface- JMotion
 
- 
- Throws:
- java.lang.Exception
 
getSpeed
public int getSpeed()
- 
- Specified by:
- getSpeedin interface- JMotion
 
- 
 
setSpeed
public void setSpeed(int speed)
- 
- Specified by:
- setSpeedin interface- JMotion
 
-