kaos.robots.activmedia
Class KAoSAriaSonar
java.lang.Object
kaos.core.util.MethodCallRequestHandler
kaos.robots.core.ExecutionManager
kaos.robots.activmedia.KAoSAriaRobot
kaos.robots.activmedia.KAoSAriaSonar
- All Implemented Interfaces:
- KAoSObservable, KAoSObserver, ObserverManager, HashMapRequestReceiver, OWLRequestReceiver, CommRelay, MobileRobot, Sonar
- Direct Known Subclasses:
- Amigo, KAoSAriaCamera, KAoSAriaLaser
public class KAoSAriaSonar
- extends KAoSAriaRobot
- implements Sonar
Field Summary |
AriaSonar |
sonar
|
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 |
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, MonitorBoundary, Move, MoveDistance, NameCurrentLocation, NameSpecifiedLocation, registerKAoSExtensionComponentObserver, RestoreCamera, RestoreLaser, RestoreSonar, SearchDistance, SecureBoundary, 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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
sonar
public AriaSonar sonar
KAoSAriaSonar
public KAoSAriaSonar()
throws AbortActionException
- Throws:
AbortActionException
createRobot
protected void createRobot(java.lang.String[] args)
- Overrides:
createRobot
in class KAoSAriaRobot
init
public void init(java.lang.String[] args)
- Overrides:
init
in class KAoSAriaRobot
GetNumberOfSonarSensors
public java.lang.Integer GetNumberOfSonarSensors(java.util.HashMap properties)
- GetNumberOfSonarSensors
- Specified by:
GetNumberOfSonarSensors
in interface Sonar
- Parameters:
none
-
- Returns:
- int representing the number of sensors
GetMaximumEffectiveSonarRange
public java.lang.Double GetMaximumEffectiveSonarRange(java.util.HashMap properties)
- GetSonarRange
- Specified by:
GetMaximumEffectiveSonarRange
in interface Sonar
- Parameters:
none
-
- Returns:
- int representing the effective range in meters
GetSonarRange
public java.lang.Double GetSonarRange(java.util.HashMap properties)
- GetSonarRange
- Specified by:
GetSonarRange
in interface Sonar
- Parameters:
int
- representing the sonar to check range on
- Returns:
- int representing the range in meters
GetSonarReading
public SonarReading GetSonarReading(java.util.HashMap properties)
- Description copied from interface:
Sonar
- GetSonarReading
- Specified by:
GetSonarReading
in interface Sonar
- Returns:
- SonarReading representing the range and position in meters
SetMaxEffectiveSonarRange
public void SetMaxEffectiveSonarRange(java.util.HashMap properties)
- Description copied from interface:
Sonar
- SetMaxEffectiveSonarRange
- Specified by:
SetMaxEffectiveSonarRange
in interface Sonar
GetSonarReadings
public java.util.Vector<Coordinate> GetSonarReadings(java.util.HashMap properties)
StartFollowing
public void StartFollowing(java.util.HashMap properties)
StopFollowing
public void StopFollowing(java.util.HashMap properties)
main
public static void main(java.lang.String[] args)