|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MobileRobotState
Main interface to the state information of a mobile robot.
| Method Summary | |
|---|---|
void |
addStateListener(MobileRobotStateListener listener)
Adds the given listener, that is notified for state updates. |
boolean |
awaitUpdate(long timeoutMs)
Blocks the calling thread until the robot state receives an update. |
void |
removeStateListener(MobileRobotStateListener listener)
Removes the given listener. |
| Methods inherited from interface com.kuka.nav.robot.MobileRobotStateSnapshot |
|---|
getBatteryState, getCommandableState, getConnectionState, getGraphId, getId, getLastNodeId, getMapInfo, getName, getNextNodeId, getPose, getPoseReliability, getSafetyState, getType, getVelocity, isBatteryCharging, isPaused |
| Method Detail |
|---|
boolean awaitUpdate(long timeoutMs)
throws InterruptedException
timeoutMs - the maximum time to wait in ms
true if the state was updated, false if the timeout occurred before
InterruptedException - if the thread is interruptedvoid addStateListener(MobileRobotStateListener listener)
listener - a listener to be notified for state updatesvoid removeStateListener(MobileRobotStateListener listener)
listener - a listener to stop receiving state update notifications
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||