lejos.robotics
Interface RangeFinder

All Known Implementing Classes:
UltrasonicSensor

public interface RangeFinder

Abstraction for a range finder sensor that returns the distance to the nearest object

Rating red

Method Summary
 float getRange()
          Get the range to the nearest object
 

Method Detail

getRange

float getRange()
Get the range to the nearest object

Returns:
the distance to the nearest object