7 auto map =
getMap(rpm, postState);
17 if (cisnan(tChargeK)) {
22 float ve =
getVe(rpm, map, postState);
25 if (cisnan(airMass)) {
29 #if EFI_PRINTF_FUEL_DETAILS
30 printf(
"getSpeedDensityAirmass map=%.2f\n", map);
40 auto airmassResult =
getAirmass(rpm, map, postState);
46 massPerCycle = massPerCycle / 2;
50 return massPerCycle * rpm / 60;
float getVe(int rpm, percent_t load, bool postState) const
TunerStudioOutputChannels outputChannels
virtual SensorResult get() const =0
static float getOrZero(SensorType type)
const ValueProvider3D *const m_mapEstimationTable
AirmassResult getAirmass(int rpm, bool postState) override
float getAirflow(float rpm, float map, bool postState)
float getMap(int rpm, bool postState) const
static mass_t getAirmassImpl(float ve, float manifoldPressure, float temperature)
virtual float getValue(float xColumn, float yRow) const =0
bool warning(ObdCode code, const char *fmt,...)
@ CUSTOM_ERR_TCHARGE_NOT_READY2
engine_configuration_s * engineConfiguration
fallbackMap("fallbackMap", SensorCategory.SENSOR_INPUTS, FieldType.INT16, 352, 0.1, 0.0, 1000.0, "kPa")
scaled_channel< uint16_t, 10, 1 > fallbackMap