kaos.robots.capabilities
Interface Sonar

All Known Implementing Classes:
Amigo, AMptzCameraSonar, AMsonar, Fran, FrontSonarRing, Ivan, KAoSPlayer, KAoSRobotTest, KBot, Pioneer, StubBot

public interface Sonar


Method Summary
 java.lang.Double GetMaximumEffectiveSonarRange()
          GetSonarRange
 java.lang.Integer GetNumberOfSonarSensors()
          GetNumberOfSonarSensors
 java.lang.Double GetSonarRange(java.util.HashMap properties)
          GetSonarRange
 SonarReading GetSonarReading(java.util.HashMap properties)
          GetSonarReading
 void SetMaxEffectiveSonarRange(java.util.HashMap properties)
          SetMaxEffectiveSonarRange
 

Method Detail

GetNumberOfSonarSensors

java.lang.Integer GetNumberOfSonarSensors()
GetNumberOfSonarSensors

Parameters:
none -
Returns:
int representing the number of sensors

GetMaximumEffectiveSonarRange

java.lang.Double GetMaximumEffectiveSonarRange()
GetSonarRange

Parameters:
none -
Returns:
int representing effective range in meters

GetSonarRange

java.lang.Double GetSonarRange(java.util.HashMap properties)
GetSonarRange

Parameters:
int - representing the sonar to check range on
Returns:
int representing the range in meters

GetSonarReading

SonarReading GetSonarReading(java.util.HashMap properties)
GetSonarReading

Parameters:
int - representing the sonar to check range on
Returns:
SonarReading representing the range and position in meters

SetMaxEffectiveSonarRange

void SetMaxEffectiveSonarRange(java.util.HashMap properties)
SetMaxEffectiveSonarRange

Parameters:
int - representing the max range