#include <Pitot.h>
|
PitotData | sampleImpl () override |
| Read a data sample from the sensor. In case of errors, the method should return the last available correct sample.
|
|
Definition at line 37 of file Pitot.h.
◆ Pitot()
Boardcore::Pitot::Pitot |
( |
std::function< float()> | getTotalPressure, |
|
|
std::function< float()> | getStaticPressure ) |
|
inline |
◆ getReferenceValues()
◆ init()
bool Boardcore::Pitot::init |
( |
| ) |
|
|
inlineoverridevirtual |
◆ sampleImpl()
|
inlineoverrideprotectedvirtual |
Read a data sample from the sensor. In case of errors, the method should return the last available correct sample.
- Returns
- sensor data sample
Implements Boardcore::Sensor< PitotData >.
Definition at line 59 of file Pitot.h.
◆ selfTest()
bool Boardcore::Pitot::selfTest |
( |
| ) |
|
|
inlineoverridevirtual |
Check if the sensor is working.
- Returns
- boolean indicating whether the sensor is correctly working or not
Implements Boardcore::AbstractSensor.
Definition at line 49 of file Pitot.h.
◆ setReferenceValues()
void Boardcore::Pitot::setReferenceValues |
( |
const ReferenceValues | reference | ) |
|
|
inline |
The documentation for this class was generated from the following file:
- src/shared/sensors/analog/Pitot/Pitot.h