lejos.robotics
Interface RangeScanner

All Known Implementing Classes:
FixedRangeScanner, RotatingRangeScanner

public interface RangeScanner

Abstraction for a single range scanning sensor, rotating platform with a range finder, or a complete robot, that obtains a set of range readings at a set of angles to# the robot's heading.


Method Summary
 RangeFinder getRangeFinder()
          Return the range finder for use by other classes
 RangeReadings getRangeValues()
          Take a set of range readings.
 void setAngles(float[] angles)
          Set the array of angles at which range readings are to be taken
 

Method Detail

getRangeValues

RangeReadings getRangeValues()
Take a set of range readings. The RangeReadings object defines the number of readings and their angles to the robot's heading.

Returns:
the range readings

setAngles

void setAngles(float[] angles)
Set the array of angles at which range readings are to be taken

Parameters:
angles -

getRangeFinder

RangeFinder getRangeFinder()
Return the range finder for use by other classes

Returns:
the range finder