kaos.robots.capabilities.impl
Class FindaClearLaneImpl

java.lang.Object
  extended by kaos.robots.capabilities.impl.FindaClearLaneImpl
All Implemented Interfaces:
KAoSObserver

public class FindaClearLaneImpl
extends java.lang.Object
implements KAoSObserver


Field Summary
protected  boolean _abortCurrentLeg
           
protected  SearchArea _area
           
protected  Coordinate _base
           
protected  double _classificationCertainty
           
protected  boolean _foundObject
           
protected  boolean _isAreaNew
           
protected  java.io.Serializable _kaaReply
           
protected  DetectedObject _lastObject
           
protected  Logger _logger
           
protected  java.util.Vector _objectList
           
protected  boolean _paused
           
protected  Leg _preferredLeg
           
protected  DetectedObject _receivedClassification
           
protected  KAoSRobot _robot
           
protected  java.util.Vector _team
           
 
Constructor Summary
FindaClearLaneImpl(KAoSRobot robot)
           
 
Method Summary
 void detectedObject(DetectedObject detectedObject)
           
 void FindClearLaneInArea(java.util.HashMap properties)
           
 java.lang.String getID()
          Return the unique identifier of this observer.
 SearchArea getSearchArea()
           
 void GiveClassificationOfObject(java.util.HashMap properties)
           
 java.lang.Boolean isSearchAreaNew()
           
 void JoinTeam(java.util.HashMap properties)
           
static void main(java.lang.String[] args)
           
 void PauseSearch()
           
protected  void printDebugString(java.lang.String msg, int loggerDisplayLevel)
           
 void ResumeSearch()
           
protected  void returnToBase()
           
 void SearchLeg(java.util.HashMap properties)
           
 void SearchNewLeg()
           
 void SearchNewLeg(java.util.HashMap properties)
           
 void update(java.lang.String observableID, java.lang.String updateType, java.lang.Object updateCondition, java.lang.Object update)
          Receive an update from the KAoSObservable when the KAoSObservable has a change or event to report.
 void UpdateLeg(java.util.HashMap properties)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_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
Constructor Detail

FindaClearLaneImpl

public FindaClearLaneImpl(KAoSRobot robot)
                   throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

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)