Class SensorInterface¶
Defined in File sensor_interface.hpp
Inheritance Relationships¶
Derived Types¶
public tap::communication::sensors::current::CurrentSensorInterface(Class CurrentSensorInterface)public tap::communication::sensors::voltage::VoltageSensorInterface(Class VoltageSensorInterface)
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.
-
virtual void update() = 0¶