|
RobotLib
1
A set of software wrappers for Rovio, Roomba and NXT robots written in C#.
|
A convenience class for infra red proximity sensor. More...
Public Member Functions | |
| IRSensor (Robot _robot) | |
| The constructor. | |
| override void | Update () |
| Update the IRSensor value. | |
Public Member Functions inherited from Rovio.Component | |
| Component (Robot _robot) | |
| The constructor. | |
Properties | |
| bool | PowerOn [get, set] |
| Activate the sensor. | |
| bool | Detection [get] |
| Sensor output: false - no obstacle, true - obstacle in front. | |
Additional Inherited Members | |
Public Attributes inherited from Rovio.Component | |
| bool | AutoUpdate = true |
| Automatic update option for methods requesting more than one piece of information. | |
Protected Attributes inherited from Rovio.Component | |
| Robot | robot |
| The robot class, accessible by all dervied classes. | |
A convenience class for infra red proximity sensor.
| Rovio.IRSensor.IRSensor | ( | Robot | _robot | ) |
The constructor.
|
virtual |
Update the IRSensor value.
Reimplemented from Rovio.Component.
|
get |
Sensor output: false - no obstacle, true - obstacle in front.
|
getset |
Activate the sensor.
1.8.2