public interface RobotRequest
| Modifier and Type | Field and Description |
|---|---|
static String |
CMD_CONNECT_ROBOT
Request type for requesting a robot to connect.
|
static String |
CMD_DISABLE_JOINT
Request type for requesting a joint be disabled.
|
static String |
CMD_DISABLE_ROBOT
Request type for requesting a robot to be disabled.
|
static String |
CMD_DISCONNECT_ROBOT
Request type for requesting a robot to disconnect.
|
static String |
CMD_ENABLE_JOINT
Request type for requesting a joint be enable.
|
static String |
CMD_ENABLE_ROBOT
Request type for requesting a robot to be enabled.
|
static String |
CMD_GET_CONNECTION_STATUS
Request type for requesting a robot's connection status.
|
static String |
CMD_GET_CURRENT_POSITIONS
Request type for requesting a robot's current positions.
|
static String |
CMD_GET_DEFAULT_POSITIONS
Request type for requesting a robot's default positions.
|
static String |
CMD_GET_ENABLED_STATUS
Request type for requesting a robot's enabled status.
|
static String |
CMD_GET_GOAL_POSITIONS
Request type for requesting a robot's goal positions.
|
static String |
CMD_GET_JOINT_ENABLED_STATUS
Request type for requesting a joint's enabled status.
|
static String |
CMD_GET_ROBOT_DEFINITION
Request type for requesting a robot definition.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDestinationId()
Returns a String identifying the request destination.
|
Integer |
getRequestIndex()
Returns the Joint id number if the request is intended for a Joint,
otherwise returns null.
|
String |
getRequestType()
RequestType identifies what is being requested of the Robot.
|
Robot.Id |
getRobotId()
Returns the id of the robot to receive the request.
|
String |
getSourceId()
Returns a String identifying the request source.
|
long |
getTimestampMillisecUTC()
Returns the timestamp the request was made.
|
static final String CMD_GET_ROBOT_DEFINITION
static final String CMD_CONNECT_ROBOT
static final String CMD_DISCONNECT_ROBOT
static final String CMD_GET_CONNECTION_STATUS
static final String CMD_ENABLE_ROBOT
static final String CMD_DISABLE_ROBOT
static final String CMD_GET_ENABLED_STATUS
static final String CMD_ENABLE_JOINT
static final String CMD_DISABLE_JOINT
static final String CMD_GET_JOINT_ENABLED_STATUS
static final String CMD_GET_DEFAULT_POSITIONS
static final String CMD_GET_GOAL_POSITIONS
static final String CMD_GET_CURRENT_POSITIONS
Robot.Id getRobotId()
String getSourceId()
String getDestinationId()
String getRequestType()
Integer getRequestIndex()
long getTimestampMillisecUTC()
Copyright © 2011-2014. All Rights Reserved.