|
RobotLib
1
A set of software wrappers for Rovio, Roomba and NXT robots written in C#.
|
Input port. More...
Public Member Functions | |
| InPort (Robot _robot) | |
| The constructor. | |
| void | Update () |
| Update the sensor state. | |
| void | ResetScaledValue () |
| Reset the scaled value. | |
Public Member Functions inherited from NXT.Component | |
| Component (Robot _robot) | |
| The constructor. | |
Public Attributes | |
| int | Number = 0 |
| Port number. | |
Public Attributes inherited from NXT.Component | |
| bool | AutoUpdate = true |
| Automatic update option for methods requesting more than one piece of information. | |
Properties | |
| SensorMode | SensorMode [get, set] |
| Sensor mode. | |
| SensorType | SensorType [get, set] |
| Sensor type. | |
| int | RawADValue [get] |
| Raw reading value. | |
| int | ScaledADValue [get] |
| Scaled reading value. | |
| short | ScaledValue [get] |
| Scaled sensor value. | |
| short | CalibratedValue [get] |
| Calibrated value. | |
Additional Inherited Members | |
Protected Attributes inherited from NXT.Component | |
| Robot | robot |
| The robot class, accessible by all dervied classes. | |
Input port.
| NXT.InPort.InPort | ( | Robot | _robot | ) |
The constructor.
| void NXT.InPort.ResetScaledValue | ( | ) |
Reset the scaled value.
| void NXT.InPort.Update | ( | ) |
Update the sensor state.
| int NXT.InPort.Number = 0 |
Port number.
|
get |
Calibrated value.
|
get |
Raw reading value.
|
get |
Scaled reading value.
|
get |
Scaled sensor value.
|
getset |
Sensor mode.
|
getset |
Sensor type.
1.8.2