Public Member Functions | |
def | convert |
Static Public Attributes | |
float | max_range = 0.80 |
float | min_range = 0.10 |
The typical GP2D12 IR ranger.
Definition at line 65 of file sensors.py.
def sensors.gp2d12.convert | ( | self, | |
raw | |||
) |
Convert raw analog (10-bit) to distance.
Reimplemented from sensors.SharpIR.
Definition at line 70 of file sensors.py.
float sensors.gp2d12::max_range = 0.80 [static] |
Reimplemented from sensors.SharpIR.
Definition at line 68 of file sensors.py.
float sensors.gp2d12::min_range = 0.10 [static] |
Reimplemented from sensors.SharpIR.
Definition at line 67 of file sensors.py.