Skip to main content

Sensor

Inherits from: ABC Abstract base class for all sensors. Defines the interface that all sensor implementations must follow. Sensors provide data through the getData() method.

getData

Sensor.getData() -> Any
Get the data from the sensor.
Returns
Any
Any
The sensor data in implementation-specific format
Raises
NotImplementedError
Must be implemented by subclasses