The IRState type exposes the following members.
Fields
Name | Description | |
---|---|---|
Found1 |
IR sensor seen
| |
Found2 |
IR sensor seen
| |
Found3 |
IR sensor seen
| |
Found4 |
IR sensor seen
| |
MidX |
Normalized midpoint of IR sensors 1 and 2 only. Values range between 0.0 - 1.0
| |
MidY |
Normalized midpoint of IR sensors 1 and 2 only. Values range between 0.0 - 1.0
| |
Mode |
Current mode of IR sensor data
| |
RawMidX |
Raw midpoint of IR sensors 1 and 2 only. Values range between 0 - 1023, 0 - 767
| |
RawMidY |
Raw midpoint of IR sensors 1 and 2 only. Values range between 0 - 1023, 0 - 767
| |
RawX1 |
Raw value of X-axis on individual sensor. Values range between 0 - 1023
| |
RawX2 |
Raw value of X-axis on individual sensor. Values range between 0 - 1023
| |
RawX3 |
Raw value of X-axis on individual sensor. Values range between 0 - 1023
| |
RawX4 |
Raw value of X-axis on individual sensor. Values range between 0 - 1023
| |
RawY1 |
Raw value of Y-axis on individual sensor. Values range between 0 - 767
| |
RawY2 |
Raw value of Y-axis on individual sensor. Values range between 0 - 767
| |
RawY3 |
Raw value of Y-axis on individual sensor. Values range between 0 - 767
| |
RawY4 |
Raw value of Y-axis on individual sensor. Values range between 0 - 767
| |
Size1 |
Size of IR Sensor. Values range from 0 - 15
| |
Size2 |
Size of IR Sensor. Values range from 0 - 15
| |
Size3 |
Size of IR Sensor. Values range from 0 - 15
| |
Size4 |
Size of IR Sensor. Values range from 0 - 15
| |
X1 |
Normalized value of X-axis on individual sensor. Values range between 0.0 - 1.0
| |
X2 |
Normalized value of X-axis on individual sensor. Values range between 0.0 - 1.0
| |
X3 |
Normalized value of X-axis on individual sensor. Values range between 0.0 - 1.0
| |
X4 |
Normalized value of X-axis on individual sensor. Values range between 0.0 - 1.0
| |
Y1 |
Normalized value of Y-axis on individual sensor. Values range between 0.0 - 1.0
| |
Y2 |
Normalized value of Y-axis on individual sensor. Values range between 0.0 - 1.0
| |
Y3 |
Normalized value of Y-axis on individual sensor. Values range between 0.0 - 1.0
| |
Y4 |
Normalized value of Y-axis on individual sensor. Values range between 0.0 - 1.0
|