Public Member Functions | |
def | convert |
Static Public Attributes | |
float | field_of_view = 0.001 |
float | max_range = 1.0 |
float | min_range = 0.0 |
radiation_type = Range.INFRARED |
Definition at line 32 of file sensors.py.
def sensors.SharpIR.convert | ( | self, | |
raw | |||
) |
Convert raw analog (10-bit) to distance.
Reimplemented in sensors.gp2d12, sensors.gpA02YK, and sensors.gpA710YK.
Definition at line 38 of file sensors.py.
float sensors.SharpIR::field_of_view = 0.001 [static] |
Definition at line 34 of file sensors.py.
float sensors.SharpIR::max_range = 1.0 [static] |
Reimplemented in sensors.gp2d12, sensors.gpA02YK, and sensors.gpA710YK.
Definition at line 36 of file sensors.py.
float sensors.SharpIR::min_range = 0.0 [static] |
Reimplemented in sensors.gp2d12, sensors.gpA02YK, and sensors.gpA710YK.
Definition at line 35 of file sensors.py.
sensors.SharpIR::radiation_type = Range.INFRARED [static] |
Definition at line 33 of file sensors.py.