com.scottpreston.javarobot.chapter3
Interface GroupMoveProtocol
- All Known Implementing Classes:
- LM32, MiniSscGM
public interface GroupMoveProtocol
Field Summary |
static java.lang.String |
CMD_TERM
|
Method Summary |
void |
cmd(int ch,
int pos,
int spd)
This is the native constructor mode. |
void |
move(int time)
|
void |
sscCmd(int ch,
int pos)
This is the SSC Constructor Mode w/500 default speed |
CMD_TERM
static final java.lang.String CMD_TERM
- See Also:
- Constant Field Values
sscCmd
void sscCmd(int ch,
int pos)
throws java.lang.Exception
- This is the SSC Constructor Mode w/500 default speed
- Parameters:
ch
- - channel 0-31pos
- - position 0-255
- Throws:
java.lang.Exception
cmd
void cmd(int ch,
int pos,
int spd)
throws java.lang.Exception
- This is the native constructor mode.
- Parameters:
ch
- - channel 0-31pos
- - position 0-255spd
- - speed in mstm
- = time to move in milliseconds
- Throws:
java.lang.Exception
move
void move(int time)
throws java.lang.Exception
- Parameters:
time
- - length in milliseconds to move
- Throws:
java.lang.Exception