kaos.robots.capabilities.impl
Class FindaClearLaneImpl
java.lang.Object
kaos.robots.capabilities.impl.FindaClearLaneImpl
- All Implemented Interfaces:
- KAoSObserver
public class FindaClearLaneImpl
- extends java.lang.Object
- implements KAoSObserver
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_robot
protected KAoSRobot _robot
_foundObject
protected boolean _foundObject
_area
protected SearchArea _area
_isAreaNew
protected boolean _isAreaNew
_lastObject
protected DetectedObject _lastObject
_abortCurrentLeg
protected boolean _abortCurrentLeg
_preferredLeg
protected Leg _preferredLeg
_receivedClassification
protected DetectedObject _receivedClassification
_classificationCertainty
protected double _classificationCertainty
_team
protected java.util.Vector _team
_objectList
protected java.util.Vector _objectList
_kaaReply
protected java.io.Serializable _kaaReply
_paused
protected boolean _paused
_base
protected Coordinate _base
_logger
protected Logger _logger
FindaClearLaneImpl
public FindaClearLaneImpl(KAoSRobot robot)
throws java.lang.Exception
- Throws:
java.lang.Exception
FindClearLaneInArea
public void FindClearLaneInArea(java.util.HashMap properties)
throws AbortActionException
- Throws:
AbortActionException
PauseSearch
public void PauseSearch()
ResumeSearch
public void ResumeSearch()
SearchNewLeg
public void SearchNewLeg()
SearchNewLeg
public void SearchNewLeg(java.util.HashMap properties)
SearchLeg
public void SearchLeg(java.util.HashMap properties)
GiveClassificationOfObject
public void GiveClassificationOfObject(java.util.HashMap properties)
UpdateLeg
public void UpdateLeg(java.util.HashMap properties)
JoinTeam
public void JoinTeam(java.util.HashMap properties)
update
public void update(java.lang.String observableID,
java.lang.String updateType,
java.lang.Object updateCondition,
java.lang.Object update)
- Description copied from interface:
KAoSObserver
- Receive an update from the KAoSObservable when the KAoSObservable has a change or event to report.
- Specified by:
update
in interface KAoSObserver
- Parameters:
observableID
- String identifying the KAoSObservable sending the update.updateType
- String indicating type of update.update
- Object containing the update.
getID
public java.lang.String getID()
- Description copied from interface:
KAoSObserver
- Return the unique identifier of this observer.
- Specified by:
getID
in interface KAoSObserver
- Returns:
- String containing the unique ID of this observer.
detectedObject
public void detectedObject(DetectedObject detectedObject)
isSearchAreaNew
public java.lang.Boolean isSearchAreaNew()
getSearchArea
public SearchArea getSearchArea()
printDebugString
protected void printDebugString(java.lang.String msg,
int loggerDisplayLevel)
returnToBase
protected void returnToBase()
main
public static void main(java.lang.String[] args)