ContinuousSensor Class

Base class for any sensor that continuously reports values, after being enabled. Once the values are available, the state of the sensor is set to ready.

Definition

Namespace: RoboTx.Api
Assembly: RoboTx.Api (in RoboTx.Api.dll) Version: 2.0.0
C#
public abstract class ContinuousSensor
Inheritance
Object    ContinuousSensor
Derived

Constructors

ContinuousSensorInitializes a new instance of the ContinuousSensor class

Properties

IsEnabled Returns true if the sensor has been enabled.
IsReady Returns true if the sensor values are available for reading.

Methods

Disable Use to disable the sensor and stop reporting values.
Enable Use to enable the sensor and start reporting values.

See Also