public interface IStuckDetector
Modifier and Type | Method and Description |
---|---|
boolean |
isStuck()
Tells whether the detector has detected a stuck.
|
void |
reset()
Restarts the detector - this method is called just before the executor
starts to follow the path.
|
void |
setBotTarget(ILocated target)
Where the bot is currently trying to get with DIRECT MOVEMENT (possibly with JUMPS).
|
void |
setBotWaiting(boolean state)
Tells the stuck detector, that the bot is waiting for something, thus the detector should not detect stuck!
|
void |
setEnabled(boolean state)
Enable / Disable stuck detector.
|
void setEnabled(boolean state)
void setBotWaiting(boolean state)
state
- void setBotTarget(ILocated target)
target
- boolean isStuck()
void reset()
If isStuck()
was reporting true, it should report 'false' after
the reset (until next stuck is detected).
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.