|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IUT2004RunStraight
Interface for straight-runner that is combined with stuck-detectors.
Method Summary | |
---|---|
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. |
Method Detail |
---|
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |