com.scottpreston.javarobot.chapter3
Class BasicArm
java.lang.Object
com.scottpreston.javarobot.chapter3.BasicArm
public class BasicArm
- extends java.lang.Object
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 |
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
BasicArm
public BasicArm(JSerialPort sPort)
throws java.lang.Exception
- Throws:
java.lang.Exception
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)