|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectkaos.robots.core.KAoSRobot
kaos.robots.naimtsimulator.KBot
public class KBot
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class kaos.robots.core.KAoSRobot |
|---|
KAoSRobot.RequestHandlerThread |
| Field Summary | |
|---|---|
static Simulator |
_simSingleton
|
static int |
WAIT_TIME
|
| 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 | |
|---|---|
KBot()
|
|
| Method Summary | |
|---|---|
java.lang.String |
CaptureImage()
|
java.lang.String |
CaptureImage(Simulator sim)
|
boolean |
connect()
This function is used to connect to robot |
void |
disconnect()
This function is used to disconnect from robot |
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 |
SerializableBufferImage |
GrabFrameAsBuffer()
CaptureImage |
void |
init(java.lang.String[] args)
|
boolean |
IsMoving()
IsMoving |
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 java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static int WAIT_TIME
public static Simulator _simSingleton
| Constructor Detail |
|---|
public KBot()
| Method Detail |
|---|
public void init(java.lang.String[] args)
init in class KAoSRobotpublic boolean connect()
KAoSRobot
connect in class KAoSRobotpublic void disconnect()
KAoSRobot
disconnect in class KAoSRobot
public void MoveTo(java.util.HashMap properties)
throws java.lang.Exception
MobileRobot
MoveTo in interface MobileRobotAbortActionException - 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 MobileRobotAbortActionException - with possible reasons:
unable to move
java.lang.Exception
public void Stop()
throws java.lang.Exception
MobileRobot
Stop in interface MobileRobotAbortActionException - with possible reasons:
unable to stop
java.lang.Exception
public Coordinate GetCoordinate()
throws java.lang.Exception
MobileRobot
GetCoordinate in interface MobileRobotAbortActionException
java.lang.Exception
public Pose GetPose()
throws java.lang.Exception
MobileRobot
GetPose in interface MobileRobotAbortActionException
java.lang.Exception
public boolean IsMoving()
throws java.lang.Exception
MobileRobot
IsMoving in interface MobileRobotAbortActionException
java.lang.Exceptionpublic java.lang.Integer GetNumberOfSonarSensors()
Sonar
GetNumberOfSonarSensors in interface Sonarpublic java.lang.Double GetMaximumEffectiveSonarRange()
Sonar
GetMaximumEffectiveSonarRange in interface Sonarpublic java.lang.Double GetSonarRange(java.util.HashMap properties)
Sonar
GetSonarRange in interface Sonarpublic SonarReading GetSonarReading(java.util.HashMap properties)
Sonar
GetSonarReading in interface Sonarpublic void SetMaxEffectiveSonarRange(java.util.HashMap properties)
Sonar
SetMaxEffectiveSonarRange in interface Sonar
public java.lang.String CaptureImage()
throws java.lang.Exception
java.lang.Exception
public java.lang.String CaptureImage(Simulator sim)
throws java.lang.Exception
java.lang.Exception
public SerializableBufferImage GrabFrameAsBuffer()
throws java.lang.Exception
VideoCamera
GrabFrameAsBuffer in interface VideoCamerajava.lang.Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||