The IRSensor type exposes the following members.

Methods

  NameDescription
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
Convert to human-readable string
(Overrides ValueType..::.ToString()()().)

Fields

  NameDescription
Found
IR sensor seen
Position
Normalized values of the sensor position. Values range between 0.0 - 1.0.
RawPosition
Raw values of individual sensor. Values range between 0 - 1023 on the X axis and 0 - 767 on the Y axis.
Size
Size of IR Sensor. Values range from 0 - 15

See Also