|
|||||||||
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.csi.testing.MinimalStubBot kaos.robots.csi.testing.StubBot
public class StubBot
A robot that lives in its own little world.
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 | |
---|---|
StubBot(java.lang.String name)
|
Method Summary | |
---|---|
Coordinate |
GetCoordinate()
GetCoordinate |
java.lang.Double |
GetMaximumEffectiveSonarRange()
GetSonarRange |
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 |
SetMaxEffectiveSonarRange(java.util.HashMap properties)
SetMaxEffectiveSonarRange |
void |
Stop()
Stop |
void |
TurnTo(java.util.HashMap properties)
TurnTo |
Methods inherited from class kaos.robots.csi.testing.MinimalStubBot |
---|
connect, disconnect |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StubBot(java.lang.String name)
Method Detail |
---|
public void MoveTo(java.util.HashMap properties) throws java.lang.Exception
MobileRobot
MoveTo
in interface MobileRobot
AbortActionException
- with possible reasons:
unable to move
failed to find path
failed to get to goal
received stop command
java.lang.Exception
public void TurnTo(java.util.HashMap properties) throws java.lang.Exception
MobileRobot
TurnTo
in interface MobileRobot
AbortActionException
- with possible reasons:
unable to move
java.lang.Exception
public void Stop() throws java.lang.Exception
MobileRobot
Stop
in interface MobileRobot
AbortActionException
- with possible reasons:
unable to stop
java.lang.Exception
public Coordinate GetCoordinate() throws java.lang.Exception
MobileRobot
GetCoordinate
in interface MobileRobot
AbortActionException
java.lang.Exception
public Pose GetPose() throws java.lang.Exception
MobileRobot
GetPose
in interface MobileRobot
AbortActionException
java.lang.Exception
public boolean IsMoving() throws java.lang.Exception
MobileRobot
IsMoving
in interface MobileRobot
AbortActionException
java.lang.Exception
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)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |