rusEFI
The most advanced open source ECU
|
#include <fuel_level_func.h>
Public Member Functions | |
FuelLevelFunc () | |
SensorResult | convert (float inputValue) |
Private Member Functions | |
float | getFuelLevelAlpha () const |
float | filterFuelValue (float value) |
void | updateFilteredValue (float value) |
Private Attributes | |
std::optional< float > | m_filteredValue |
Timer | m_fuelLevelTimer |
Static Private Attributes | |
static constexpr float | MIN_FUEL_LEVEL_UPDATE_PERIOD_SEC |
Definition at line 9 of file fuel_level_func.h.
|
inline |
Definition at line 11 of file fuel_level_func.h.
SensorResult FuelLevelFunc::convert | ( | float | inputValue | ) |
Definition at line 15 of file fuel_level_func.cpp.
Definition at line 44 of file fuel_level_func.cpp.
Referenced by convert().
|
private |
Definition at line 39 of file fuel_level_func.cpp.
Referenced by filterFuelValue().
|
private |
Definition at line 65 of file fuel_level_func.cpp.
Referenced by filterFuelValue().
|
private |
Definition at line 22 of file fuel_level_func.h.
Referenced by convert(), filterFuelValue(), and updateFilteredValue().
|
private |
Definition at line 23 of file fuel_level_func.h.
Referenced by filterFuelValue(), and updateFilteredValue().
|
staticconstexprprivate |
Definition at line 19 of file fuel_level_func.h.
Referenced by filterFuelValue().