|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object kaos.robots.core.test.RobotClient
public class RobotClient
Field Summary | |
---|---|
protected javax.swing.JTextField |
_attachment
|
protected java.lang.String |
_basePath
|
ActionStatusCallbackImpl |
_cbl
|
protected RobotClient |
_client
|
protected javax.swing.JCheckBox |
_connectCB
|
protected boolean |
_connectedToRobot
|
protected double |
_currentHdg
|
protected javax.swing.JTextField |
_destination
|
protected javax.swing.JTextField |
_fileNameTF
|
protected double |
_goalDist
|
protected double |
_goalHdg
|
protected javax.swing.JTextField |
_gpsCommPort
|
protected javax.swing.JTextField |
_gpsOriginTF
|
protected javax.swing.JCheckBox |
_guiCB
|
protected javax.swing.JTextField |
_hostTF
|
protected Logger |
_logger
|
protected javax.swing.JTextField |
_lrbX
|
protected javax.swing.JTextField |
_lrbY
|
protected javax.swing.JTextField |
_maxSpeedTF
|
protected javax.swing.JTextField |
_moveRelX
|
protected javax.swing.JTextField |
_moveRelY
|
protected javax.swing.JTextField |
_moveToName
|
protected javax.swing.JTextField |
_moveToPose
|
protected javax.swing.JTextField |
_msg
|
protected javax.swing.JTextField |
_nameTF
|
protected javax.swing.JTextField |
_originTF
|
protected javax.swing.JTextField |
_phraseTF
|
protected javax.swing.JTextField |
_pictureParameters
|
protected Plotter |
_plotter
|
protected PlotterPanel |
_plotterPanel
|
protected javax.swing.JTextField |
_portTF
|
protected javax.swing.JCheckBox |
_registerCB
|
protected KAoSRobot |
_selectedRobot
|
protected javax.swing.JTextField |
_setPose
|
protected javax.swing.JTextField |
_sonarRangeTF
|
protected javax.swing.JTextField |
_sonarTurnRateTF
|
protected javax.swing.JTextField |
_subject
|
protected javax.swing.JTabbedPane |
_tabPane
|
protected javax.swing.JCheckBox |
_targetCB
|
protected TeleopPanel |
_teleopPanel
|
protected double |
_testX
|
protected double |
_testY
|
protected javax.swing.JTextField |
_timeoutTF
|
protected double |
_turnHdg
|
protected javax.swing.JTextField |
_ulbX
|
protected javax.swing.JTextField |
_ulbY
|
protected javax.swing.JCheckBox |
_useGPSHeadingCB
|
protected java.lang.String |
recvMsg
|
Constructor Summary | |
---|---|
RobotClient()
|
|
RobotClient(java.lang.String[] args)
|
Method Summary | |
---|---|
void |
doubleClicked()
|
Viewer |
getImageViewer()
|
Area |
getSelectedArea()
|
Coordinate |
getSelectedCoordinate()
|
java.util.HashMap |
getSelectedRecievers()
|
java.util.Vector |
getSelectedRobots()
|
void |
init()
|
static void |
main(java.lang.String[] args)
|
void |
onAborted(java.util.Calendar time,
java.lang.Object reason,
java.lang.String actionID,
java.lang.String robotID)
This method is invoked when the requested action is aborted. |
void |
onAccepted(java.util.Calendar time,
java.lang.Object acceptInfo,
java.lang.String actionID,
java.lang.String robotID)
This method is invoked when the request is accepted by the robot. |
void |
onCompleted(java.util.Calendar time,
java.lang.Object result,
java.lang.String actionID,
java.lang.String robotID)
This method is invoked upon completion of the request byt the requested robot. |
void |
onRefused(java.util.Calendar time,
java.lang.Object reason,
java.lang.String actionID,
java.lang.String robotID)
This method is invoked when the request is refused by the robot. |
void |
onStarted(java.util.Calendar time,
java.lang.Object startedInfo,
java.lang.String actionID,
java.lang.String robotID)
This method is invoked when the robot starts the requested action. |
protected void |
printDebugString(java.lang.String msg,
int loggerDisplayLevel)
|
void |
receiveKAoSStatus(java.lang.String statusMsg,
java.lang.String actionID,
java.lang.String robotID)
Receive a status message describing the execution of the requested action. |
void |
setDatum(java.lang.String gpsString)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected RobotClient _client
protected KAoSRobot _selectedRobot
protected Logger _logger
protected javax.swing.JTextField _moveToName
protected javax.swing.JTextField _moveToPose
protected javax.swing.JTextField _moveRelX
protected javax.swing.JTextField _moveRelY
protected javax.swing.JTextField _setPose
protected javax.swing.JTextField _pictureParameters
protected javax.swing.JTextField _destination
protected javax.swing.JTextField _subject
protected javax.swing.JTextField _msg
protected javax.swing.JTextField _attachment
protected javax.swing.JTextField _fileNameTF
protected javax.swing.JTextField _phraseTF
protected javax.swing.JTextField _ulbX
protected javax.swing.JTextField _ulbY
protected javax.swing.JTextField _lrbX
protected javax.swing.JTextField _lrbY
protected javax.swing.JTextField _originTF
protected javax.swing.JTextField _sonarRangeTF
protected java.lang.String recvMsg
protected double _goalHdg
protected double _turnHdg
protected double _goalDist
protected boolean _connectedToRobot
protected double _testX
protected double _testY
protected double _currentHdg
protected java.lang.String _basePath
public ActionStatusCallbackImpl _cbl
protected Plotter _plotter
protected javax.swing.JCheckBox _targetCB
protected javax.swing.JCheckBox _guiCB
protected javax.swing.JCheckBox _connectCB
protected javax.swing.JCheckBox _registerCB
protected javax.swing.JCheckBox _useGPSHeadingCB
protected javax.swing.JTabbedPane _tabPane
protected PlotterPanel _plotterPanel
protected TeleopPanel _teleopPanel
protected javax.swing.JTextField _hostTF
protected javax.swing.JTextField _portTF
protected javax.swing.JTextField _nameTF
protected javax.swing.JTextField _gpsCommPort
protected javax.swing.JTextField _maxSpeedTF
protected javax.swing.JTextField _timeoutTF
protected javax.swing.JTextField _gpsOriginTF
protected javax.swing.JTextField _sonarTurnRateTF
Constructor Detail |
---|
public RobotClient()
public RobotClient(java.lang.String[] args)
Method Detail |
---|
public void init()
public void setDatum(java.lang.String gpsString)
public void onAccepted(java.util.Calendar time, java.lang.Object acceptInfo, java.lang.String actionID, java.lang.String robotID)
onAccepted
in interface FeedbackReceiver
time
- Calendar time of acceptance.acceptInfo
- Object containing additional (optional) info about the acceptance.actionID
- String containing the id of the requested action/information.robotID
- String containing the name of the robot performing the action.public void onRefused(java.util.Calendar time, java.lang.Object reason, java.lang.String actionID, java.lang.String robotID)
onRefused
in interface FeedbackReceiver
time
- Calendar time of refusal.reason
- Object containing the reason for refusing the request.actionID
- String containing the id of the requested action/information.robotID
- String containing the name of the robot performing the action.public void onCompleted(java.util.Calendar time, java.lang.Object result, java.lang.String actionID, java.lang.String robotID)
onCompleted
in interface FeedbackReceiver
time
- Calendar time of information/action completion.result
- Object containing the result of the requested action.actionID
- String containing the id of the requested action/information.robotID
- String containing the name of the robot performing the action.public void onStarted(java.util.Calendar time, java.lang.Object startedInfo, java.lang.String actionID, java.lang.String robotID)
onStarted
in interface FeedbackReceiver
time
- Calendar time of starting an action.startedInfo
- Object containing additional (optional) info about the start of the action.actionID
- String containing the id of the requested action/information.robotID
- String containing the name of the robot performing the action.public void onAborted(java.util.Calendar time, java.lang.Object reason, java.lang.String actionID, java.lang.String robotID)
onAborted
in interface FeedbackReceiver
time
- Calendar time of aborting an action.reason
- Object containing the reason for aborting an action.actionID
- String containing the id of the requested action/information.robotID
- String containing the name of the robot performing the action.public void receiveKAoSStatus(java.lang.String statusMsg, java.lang.String actionID, java.lang.String robotID)
receiveKAoSStatus
in interface FeedbackReceiver
statusMsg
- Object containing the result of the requested action/information.actionID
- String containing the id of the requested action/information.robotID
- String containing the name of the robot performing the action.public Coordinate getSelectedCoordinate()
getSelectedCoordinate
in interface UserInput
public Area getSelectedArea()
getSelectedArea
in interface UserInput
public java.util.HashMap getSelectedRecievers()
getSelectedRecievers
in interface UserInput
public java.util.Vector getSelectedRobots()
public Viewer getImageViewer()
getImageViewer
in interface UserInput
public void doubleClicked()
doubleClicked
in interface DoubleClickListener
protected void printDebugString(java.lang.String msg, int loggerDisplayLevel)
public static void main(java.lang.String[] args)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |