Enumeration of NXT 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.
| |
| Boolean |
Boolean mode. Report scaled value as 1 (TRUE) or 0 (FALSE). The firmware uses
inverse Boolean logic to match the physical characteristics of NXT sensors. Readings
are FALSE if raw value exceeds 55% of total range; reading are TRUE if raw value
is less than 45% of total range.
| |
| TransitionCounter |
Report scaled value as number of transition between TRUE and FALSE.
| |
| PeriodicCounter |
Report scaled value as number of transitions from FALSE to TRUE, then back to FALSE.
| |
| PCTFullScale |
Report scaled value as percentage of full scale reading for configured sensor type.
| |
| Celsius |
Scale terperature reading to degrees Celsius.
| |
| Fahrenheit |
Scale terperature reading to degrees Fahrenheit.
| |
| AngleSteps |
Report scaled value as count of ticks on RCX-style rotation sensor.
|