Enumeration of RCX brick sensor modes.
Namespace:
AForge.Robotics.LegoAssembly: AForge.Robotics.Lego (in AForge.Robotics.Lego.dll) Version: 2.2.3.0 (2.2.3.0)
Syntax
| C# |
|---|
public enum SensorMode |
Members
| Member name | Description | |
|---|---|---|
| Raw |
Raw mode - value in [0, 1023].
| |
| Boolean |
Boolean - either 0 or 1.
| |
| EdgeCount |
Number of boolean transitions.
| |
| PulseCount |
Number of boolean transitions divided by two.
| |
| Percentage |
Raw value scaled to [0, 100].
| |
| TemperatureC |
Temperature in °C - 1/10ths of a degree, [-19.8, 69.5].
| |
| TemperatureF |
Temperature in °F - 1/10ths of a degree, [-3.6, 157.1].
| |
| Angle |
Angle - 1/16ths of a rotation, represented as a signed short.
|
Remarks
Use SetSensorMode(RCXBrick..::.Sensor, RCXBrick..::.SensorMode) method to set RCX sensor's mode.