public interface OpticalDistanceSensor extends LightSensor
OpticalDistanceSensor
is a LightSensor
whose reported light intensities
reflect (pun intended) a relationship to distance. Both raw readings and normalized readings
can be obtained; however, these both (usually) have an inverse-square relationship to distance,
and thus can be cumbersome to use. For an easier-to-use, linear relationship, see
DistanceSensor
.DistanceSensor
HardwareDevice.Manufacturer
enableLed, getLightDetected, getRawLightDetected, getRawLightDetectedMax, status
close, getConnectionInfo, getDeviceName, getManufacturer, getVersion, resetDeviceConfigurationForOpMode