RobotLib  1
A set of software wrappers for Rovio, Roomba and NXT robots written in C#.
 All Classes Namespaces Functions Variables Enumerations Properties Pages
Public Member Functions | Properties | List of all members
Rovio.IRSensor Class Reference

A convenience class for infra red proximity sensor. More...

Inheritance diagram for Rovio.IRSensor:
Rovio.Component

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.
 

Detailed Description

A convenience class for infra red proximity sensor.

Constructor & Destructor Documentation

Rovio.IRSensor.IRSensor ( Robot  _robot)

The constructor.

Member Function Documentation

override void Rovio.IRSensor.Update ( )
virtual

Update the IRSensor value.

Reimplemented from Rovio.Component.

Property Documentation

bool Rovio.IRSensor.Detection
get

Sensor output: false - no obstacle, true - obstacle in front.

bool Rovio.IRSensor.PowerOn
getset

Activate the sensor.


The documentation for this class was generated from the following file: