public interface IUT2004RunStraight
| Modifier and Type | Method and Description |
|---|---|
void |
addStuckDetector(IStuckDetector stuckDetector)
Adds another stuck detector to be used for stuck detection :)
|
void |
clearStuckDetectors()
Removes ALL stuck detectors.
|
ILocated |
getCurrentTarget()
Get current target of the straight-run.
|
ILocated |
getLastTarget()
Get previous target of the straight-run.
|
boolean |
isExecuting()
Whether the object is executing the running.
|
boolean |
isFailed()
Whether our run has failed.
|
boolean |
isSuccess()
Whether our run has succeeded (once we get to our target, this returns true).
|
void |
removeStuckDetector(IStuckDetector stuckDetector)
Removes stuck detector.
|
void |
runStraight(ILocated target)
Run along straight-line to some target.
|
void |
setFocus(ILocated focus)
Sets focus of the bot when navigating (when using this object to run to some location target)!
To reset focus call this method with null parameter.
|
void |
stop(boolean stopMovement)
Stop the running.
|
boolean isExecuting()
boolean isSuccess()
boolean isFailed()
ILocated getLastTarget()
ILocated getCurrentTarget()
void setFocus(ILocated focus)
focus - void runStraight(ILocated target)
target - void stop(boolean stopMovement)
void addStuckDetector(IStuckDetector stuckDetector)
stuckDetector - void removeStuckDetector(IStuckDetector stuckDetector)
stuckDetector - void clearStuckDetectors()
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.