kaos.robots.activmedia
Class KAoSAriaLaser

java.lang.Object
  extended by kaos.core.util.MethodCallRequestHandler
      extended by kaos.robots.core.ExecutionManager
          extended by kaos.robots.activmedia.KAoSAriaRobot
              extended by kaos.robots.activmedia.KAoSAriaSonar
                  extended by kaos.robots.activmedia.KAoSAriaLaser
All Implemented Interfaces:
KAoSObservable, KAoSObserver, ObserverManager, HashMapRequestReceiver, OWLRequestReceiver, CommRelay, KAoSAriaLaserInterface, LaserRangeDevice, MobileRobot, Sonar

public class KAoSAriaLaser
extends KAoSAriaSonar
implements LaserRangeDevice, KAoSAriaLaserInterface


Nested Class Summary
 class KAoSAriaLaser.LaserThread
           
 
Nested classes/interfaces inherited from class kaos.robots.core.ExecutionManager
ExecutionManager.RequestHandlerThread
 
Field Summary
protected  AriaLaserInterface laser
           
 boolean MAPPING_AREA
           
 boolean MONITORING_FOR_MOTION
           
 
Fields inherited from class kaos.robots.activmedia.KAoSAriaSonar
sonar
 
Fields inherited from class kaos.robots.activmedia.KAoSAriaRobot
robot
 
Fields inherited from class kaos.robots.core.ExecutionManager
_actorID, _agentDescription, _classificationListeners, _connected, _currentActions, _enablingClasses, _enforcer, _ihmcDomain, _kaosEnabled, _learnedTasks, _learnedTaskVariables, _learning, _listeners, _logger, _nickName, _policyAdvice, _policyService, _query, _registeredWithKAoS, _registration, _reniaCallback, _spatialReasoning, _subtasks, _taskName, _transportName, myTeam
 
Fields inherited from class kaos.core.util.MethodCallRequestHandler
_helper, _mts, DEFAULT_NICKNAME, myLocator, myMessageReceiver, myMessageSender
 
Constructor Summary
KAoSAriaLaser()
           
 
Method Summary
protected  void createRobot(java.lang.String[] args)
           
 boolean equals(java.lang.Object object)
           
 AriaLaserInterface getAriaLaserInterface()
           
 java.util.Vector<RangeReading> GetLaserReadings(java.util.HashMap properties)
           
 int hashCode()
           
 void init(java.lang.String[] args)
           
 boolean isMapping()
           
 boolean isMonitoringMotion()
           
static void main(java.lang.String[] args)
           
 void MonitorBoundary(java.util.HashMap properties)
           
 void pickTeamMember()
           
 void Search(java.util.HashMap properties)
           
 void SecureBoundary(java.util.HashMap properties)
           
 void setData(java.util.Vector<RangeReading> data)
           
 void setMapListener(MapListener mapListener)
           
 void setObjectListener(ObjectListener objectListener)
           
 void StartMappingArea(java.util.HashMap properties)
           
 void StartMonitoring(java.util.HashMap properties)
           
 void StartMonitoringForMotion(java.util.HashMap properties)
           
 void StartMonitoringWithLaser(java.util.HashMap properties)
           
 void StopMappingArea(java.util.HashMap properties)
           
 void StopMonitoring(java.util.HashMap properties)
           
 void StopMonitoringBoundary(java.util.HashMap properties)
           
 void StopMonitoringForMotion(java.util.HashMap properties)
           
 void StopMonitoringWithLaser(java.util.HashMap properties)
           
 void TakeTeamAndMonitorBoundary(java.util.HashMap properties)
           
 void testLaser()
           
 void update(java.lang.String string, PolygonArtifact polygonArtifact)
           
 void update(java.lang.String string, ShapeArtifact shapeArtifact)
           
 
Methods inherited from class kaos.robots.activmedia.KAoSAriaSonar
GetMaximumEffectiveSonarRange, GetNumberOfSonarSensors, GetSonarRange, GetSonarReading, GetSonarReadings, SetMaxEffectiveSonarRange, StartFollowing, StopFollowing
 
Methods inherited from class kaos.robots.activmedia.KAoSAriaRobot
Beep, CommRelayMoveTo, CommRelayStop, FailCamera, FailLaser, FailSonar, Failure, FoundTarget, GetCoordinate, getID, GetMaxTranslationalVelocity, GetNamedLocationCoordinate, GetNamedLocations, GetPose, getPropertyValue, getQualitativeFromPropertyValue, getQuantitativeFromPropertyValue, getValueFromProperties, IsMoving, isRateQuantitativeValue, IsTurning, LostTarget, Move, MoveDistance, NameCurrentLocation, NameSpecifiedLocation, registerKAoSExtensionComponentObserver, RestoreCamera, RestoreLaser, RestoreSonar, SearchDistance, SetMaxTranslationalVelocity, setOrigin, SetRelativeRotationalVelocity, SetRelativeTranslationalVelocity, SetRotationalVelocity, SetTranslationalVelocity, shutdown, SlowDown, SpeedUp, statusChange, Stop, Turn, TurnRelative, TurnTo, update
 
Methods inherited from class kaos.robots.core.ExecutionManager
AssignLeader, buildAID, checkObligations, checkPermissionForAction, createMyOwnAgentDescription, deregisterObserver, deregisterObserver, deregisterObserver, executeLearnedAction, getActions, getActorID, getAdjustedMoveToActions, getAgentCapabilities, getAgentDescription, getCoordinateFromPointInstance, GetLeadersOfTeam, getPropertiesFromAID, getRestrictedAreas, GetTeamMembers, getTeamMembers, isRegisteredWithKAoS, isWithinRestrictedArea, JoinTeam, LeaveTeam, makeActionAllowable, modifySpatialProperties, notify, printDebugString, processAIDRequest, processHashMapRequest, processHashMapRequest, processHashMapRequest, processHashMapRequest, processOWLRequest, processOWLRequest, registerObserver, registerObserver, registerObserver, registerObserver, registerWithKAoS, registerWithSpatialProperties, searchForAgentDescription, setRegisteredWithKAoS, startLearning, stopLearning, UnassignLeader
 
Methods inherited from class kaos.core.util.MethodCallRequestHandler
bindToTransport, handleMsgContent, handleObjContent, initialize, receiveMessage
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

laser

protected AriaLaserInterface laser

MONITORING_FOR_MOTION

public boolean MONITORING_FOR_MOTION

MAPPING_AREA

public boolean MAPPING_AREA
Constructor Detail

KAoSAriaLaser

public KAoSAriaLaser()
              throws AbortActionException
Throws:
AbortActionException
Method Detail

createRobot

protected void createRobot(java.lang.String[] args)
Overrides:
createRobot in class KAoSAriaSonar

init

public void init(java.lang.String[] args)
Overrides:
init in class KAoSAriaSonar

GetLaserReadings

public java.util.Vector<RangeReading> GetLaserReadings(java.util.HashMap properties)
Specified by:
GetLaserReadings in interface LaserRangeDevice

setData

public void setData(java.util.Vector<RangeReading> data)

testLaser

public void testLaser()

SecureBoundary

public void SecureBoundary(java.util.HashMap properties)
                    throws AbortActionException
Overrides:
SecureBoundary in class KAoSAriaRobot
Throws:
AbortActionException

Search

public void Search(java.util.HashMap properties)
            throws AbortActionException
Throws:
AbortActionException

MonitorBoundary

public void MonitorBoundary(java.util.HashMap properties)
                     throws AbortActionException
Overrides:
MonitorBoundary in class KAoSAriaRobot
Throws:
AbortActionException

StopMonitoringBoundary

public void StopMonitoringBoundary(java.util.HashMap properties)

StartMonitoring

public void StartMonitoring(java.util.HashMap properties)

StopMonitoring

public void StopMonitoring(java.util.HashMap properties)

StartMonitoringForMotion

public void StartMonitoringForMotion(java.util.HashMap properties)

StopMonitoringForMotion

public void StopMonitoringForMotion(java.util.HashMap properties)

StartMonitoringWithLaser

public void StartMonitoringWithLaser(java.util.HashMap properties)

StopMonitoringWithLaser

public void StopMonitoringWithLaser(java.util.HashMap properties)

TakeTeamAndMonitorBoundary

public void TakeTeamAndMonitorBoundary(java.util.HashMap properties)
                                throws AbortActionException
Throws:
AbortActionException

StartMappingArea

public void StartMappingArea(java.util.HashMap properties)
                      throws AbortActionException
Throws:
AbortActionException

StopMappingArea

public void StopMappingArea(java.util.HashMap properties)

getAriaLaserInterface

public AriaLaserInterface getAriaLaserInterface()
Specified by:
getAriaLaserInterface in interface KAoSAriaLaserInterface

isMonitoringMotion

public boolean isMonitoringMotion()
Specified by:
isMonitoringMotion in interface KAoSAriaLaserInterface

isMapping

public boolean isMapping()
Specified by:
isMapping in interface KAoSAriaLaserInterface

pickTeamMember

public void pickTeamMember()

main

public static void main(java.lang.String[] args)

update

public void update(java.lang.String string,
                   PolygonArtifact polygonArtifact)

update

public void update(java.lang.String string,
                   ShapeArtifact shapeArtifact)

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object object)
Overrides:
equals in class java.lang.Object

setObjectListener

public void setObjectListener(ObjectListener objectListener)
Specified by:
setObjectListener in interface KAoSAriaLaserInterface

setMapListener

public void setMapListener(MapListener mapListener)
Specified by:
setMapListener in interface KAoSAriaLaserInterface