public class RobotCmd
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
RobotCmd.Command
list of available commands
|
Constructor and Description |
---|
RobotCmd(RobotCmd.Command type)
construct a new command of the requested type - without arguments
|
RobotCmd(RobotCmd.Command type,
double[] angles)
construct a new command of the requested type - with arguments
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCommand()
retrieve the command string
|
static char |
responseBusy()
a character sent as a response to the query command that indicates that the command is still being executed
|
static char |
responseIdle()
a character sent as a response to the query command that indicates that the command has been completed
|
public RobotCmd(RobotCmd.Command type, double[] angles)
public RobotCmd(RobotCmd.Command type)
public static char responseIdle()
public static char responseBusy()
public java.lang.String getCommand()