38template <
typename FirstPressureData,
typename SecondPressureData>
43 "First template argument must be a sensor that produces pressure "
47 "Second template argument must be a sensor that produces pressure "
54 : first_pressure_sensor(first_pressure_sensor),
55 second_pressure_sensor(second_pressure_sensor)
59 bool init()
override {
return true; }
Base sensor class with has to be extended by any sensor driver.
virtual Data getLastSample()
Class used to simulate a differential pressure sensor in software.
PressureData sampleImpl() override
bool selfTest() override
Check if the sensor is working.
SoftwareDifferentialPressureSensor(Sensor< FirstPressureData > *first_pressure_sensor, Sensor< SecondPressureData > *second_pressure_sensor)
bool init() override
Initialize the sensor.
long long getOldTick()
Get the current time in milliseconds.
Driver for the VN100S IMU.
Check that a given type has a method called getData() and that the return type of this method is a su...