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

Author:
Lawrie Griffiths

WARNING: THIS CLASS IS SHARED BETWEEN THE classes AND pccomms PROJECTS. DO NOT EDIT THE VERSION IN pccomms AS IT WILL BE OVERWRITTEN WHEN THE PROJECT IS BUILT.

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