com.scottpreston.javarobot.chapter3
Class BasicArm

java.lang.Object
  extended by com.scottpreston.javarobot.chapter3.BasicArm

public class BasicArm
extends java.lang.Object


Field Summary
static int ELBOW_MAX
           
static int ELBOW_MIN
           
static int ELBOW_PIN
           
static int ELBOW_REST
           
static int SHOULDER_MAX
           
static int SHOULDER_MIN
           
static int SHOULDER_PIN
           
static int SHOULDER_REST
           
 
Constructor Summary
BasicArm(JSerialPort sPort)
           
 
Method Summary
 void elbow(int pos)
           
static void main(java.lang.String[] args)
           
 void rest()
           
 void shoulder(int pos)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SHOULDER_PIN

public static final int SHOULDER_PIN
See Also:
Constant Field Values

SHOULDER_MAX

public static final int SHOULDER_MAX
See Also:
Constant Field Values

SHOULDER_MIN

public static final int SHOULDER_MIN
See Also:
Constant Field Values

SHOULDER_REST

public static final int SHOULDER_REST
See Also:
Constant Field Values

ELBOW_PIN

public static final int ELBOW_PIN
See Also:
Constant Field Values

ELBOW_MAX

public static final int ELBOW_MAX
See Also:
Constant Field Values

ELBOW_MIN

public static final int ELBOW_MIN
See Also:
Constant Field Values

ELBOW_REST

public static final int ELBOW_REST
See Also:
Constant Field Values
Constructor Detail

BasicArm

public BasicArm(JSerialPort sPort)
         throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

shoulder

public void shoulder(int pos)
              throws java.lang.Exception
Throws:
java.lang.Exception

elbow

public void elbow(int pos)
           throws java.lang.Exception
Throws:
java.lang.Exception

rest

public void rest()
          throws java.lang.Exception
Throws:
java.lang.Exception

main

public static void main(java.lang.String[] args)