public class RangeFinderAdapter extends AbstractFilter implements RangeFinder
sampleSize, source| Constructor and Description |
|---|
RangeFinderAdapter(SampleProvider source) |
| Modifier and Type | Method and Description |
|---|---|
float |
getRange()
Get the range to the nearest object
|
float[] |
getRanges()
If the sensor is capable, this method returns multiple range values from a single scan.
|
fetchSample, sampleSizepublic RangeFinderAdapter(SampleProvider source)
public float getRange()
RangeFindergetRange in interface RangeFinderpublic float[] getRanges()
RangeFindergetRanges in interface RangeFinder