The IRState type exposes the following members.
Methods
Name | Description | |
---|---|---|
Equals |
Indicates whether this instance and a specified object are equal.
(Inherited from ValueType.) | |
Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
GetHashCode |
Returns the hash code for this instance.
(Inherited from ValueType.) | |
GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
ToString |
Returns the fully qualified type name of this instance.
(Inherited from ValueType.) |
Fields
Name | Description | |
---|---|---|
IRSensors |
Current state of IR sensors
| |
Midpoint |
Normalized midpoint of IR sensors 1 and 2 only. Values range between 0.0 - 1.0
| |
Mode |
Current mode of IR sensor data
| |
RawMidpoint |
Raw midpoint of IR sensors 1 and 2 only. Values range between 0 - 1023, 0 - 767
|