Class SensorInterface

Inheritance Relationships

Derived Types

Class Documentation

class SensorInterface

Interface for generic sensor that requires a periodic update.

This interface may be used in conjunction with a sensor scheduler (see #132).

Subclassed by tap::communication::sensors::current::CurrentSensorInterface, tap::communication::sensors::voltage::VoltageSensorInterface

Public Functions

virtual void update() = 0

Function that one implements that reads data from the sensor and performs any filtering as required.