|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object kaos.robots.core.KAoSRobot kaos.robots.core.test.KAoSRobotTest
public class KAoSRobotTest
This class simulates a behavior of a real robot. It is used for testing.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class kaos.robots.core.KAoSRobot |
---|
KAoSRobot.RequestHandlerThread |
Field Summary |
---|
Fields inherited from class kaos.robots.core.KAoSRobot |
---|
_actorID, _address, _agentDescription, _classificationListeners, _connectBtn, _connected, _connectToCmb, _currentActions, _enablingClasses, _enforcer, _gpsIsAvailable, _gpsOrigin, _listeners, _locator, _logger, _messageReceiver, _msgTransportService, _myLocator, _nickName, _port, _registeredWithKAoS, _reniaCallback, _sender |
Constructor Summary | |
---|---|
KAoSRobotTest(java.lang.String name)
Constructor. |
|
KAoSRobotTest(java.lang.String[] args)
|
Method Summary | |
---|---|
void |
buildGUI()
|
void |
CommunicationAction(java.util.HashMap properties)
|
boolean |
connect()
This function is used to connect to robot |
void |
disconnect()
This function is used to disconnect from robot |
void |
EncryptedCommunicationAction(java.util.HashMap properties)
|
Coordinate |
GetCoordinate()
GetCoordinate |
Coordinate |
GetCoordinate(java.util.HashMap properties)
|
java.lang.Double |
GetMaximumEffectiveSonarRange()
GetSonarRange |
Coordinate |
GetNamedLocationCoordinate(java.util.HashMap properties)
|
java.util.Iterator |
GetNamedLocations()
|
java.lang.Integer |
GetNumberOfSonarSensors()
GetNumberOfSonarSensors |
Pose |
GetPose()
GetPose |
java.lang.Double |
GetSonarRange(java.util.HashMap properties)
GetSonarRange |
SonarReading |
GetSonarReading(java.util.HashMap properties)
GetSonarReading |
boolean |
IsMoving()
IsMoving |
static void |
main(java.lang.String[] args)
|
void |
MoveTo(java.util.HashMap properties)
MoveTo |
void |
NameCurrentLocation(java.util.HashMap properties)
|
void |
NameSpecifiedLocation(java.util.HashMap properties)
|
void |
SetMaxEffectiveSonarRange(java.util.HashMap properties)
SetMaxEffectiveSonarRange |
void |
Stop()
Stop |
void |
SurveyArea(java.util.HashMap properties)
|
void |
TurnTo(java.util.HashMap properties)
TurnTo |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public KAoSRobotTest(java.lang.String name)
name
- String specifying the robot nickname.public KAoSRobotTest(java.lang.String[] args)
Method Detail |
---|
public boolean connect()
connect
in class KAoSRobot
public void disconnect()
disconnect
in class KAoSRobot
public void buildGUI()
public void CommunicationAction(java.util.HashMap properties)
public void SurveyArea(java.util.HashMap properties)
public void EncryptedCommunicationAction(java.util.HashMap properties)
public Coordinate GetCoordinate()
MobileRobot
GetCoordinate
in interface MobileRobot
public Pose GetPose()
MobileRobot
GetPose
in interface MobileRobot
public Coordinate GetCoordinate(java.util.HashMap properties)
public void MoveTo(java.util.HashMap properties)
MobileRobot
MoveTo
in interface MobileRobot
public java.util.Iterator GetNamedLocations()
public void TurnTo(java.util.HashMap properties)
MobileRobot
TurnTo
in interface MobileRobot
public void Stop()
MobileRobot
Stop
in interface MobileRobot
public void NameCurrentLocation(java.util.HashMap properties)
public void NameSpecifiedLocation(java.util.HashMap properties)
public Coordinate GetNamedLocationCoordinate(java.util.HashMap properties)
public boolean IsMoving()
MobileRobot
IsMoving
in interface MobileRobot
public java.lang.Integer GetNumberOfSonarSensors()
Sonar
GetNumberOfSonarSensors
in interface Sonar
public java.lang.Double GetMaximumEffectiveSonarRange()
Sonar
GetMaximumEffectiveSonarRange
in interface Sonar
public java.lang.Double GetSonarRange(java.util.HashMap properties)
Sonar
GetSonarRange
in interface Sonar
public SonarReading GetSonarReading(java.util.HashMap properties)
Sonar
GetSonarReading
in interface Sonar
public void SetMaxEffectiveSonarRange(java.util.HashMap properties)
Sonar
SetMaxEffectiveSonarRange
in interface Sonar
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |