This commit is contained in:
parent
e13a3b1dcb
commit
daa7ecfe2d
|
@ -268,11 +268,11 @@ static void printSensors(Logging *log, bool fileFormat) {
|
|||
|
||||
if (fileFormat) {
|
||||
floatms_t fuelBase = getBaseFuel(rpm PASS_ENGINE_PARAMETER_SUFFIX);
|
||||
reportSensorF(log, fileFormat, "f: base", "ms", fuelBase, 2);
|
||||
reportSensorF(log, fileFormat, GAUGE_NAME_FUEL_BASE, "ms", fuelBase, 2);
|
||||
reportSensorF(log, fileFormat, GAUGE_NAME_FUEL_LAST_INJECTION, "ms", ENGINE(actualLastInjection), 2);
|
||||
reportSensorF(log, fileFormat, GAUGE_NAME_INJECTOR_LAG, "ms", engine->engineState.injectorLag, 2);
|
||||
reportSensorF(log, fileFormat, GAUGE_NAME_FUEL_RUNNING, "ms", ENGINE(engineState.runningFuel), 2);
|
||||
reportSensorF(log, fileFormat, "f: pid", "ms", ENGINE(engineState.fuelPidCorrection), 2);
|
||||
reportSensorF(log, fileFormat, GAUGE_NAME_FUEL_PID_CORR, "ms", ENGINE(engineState.fuelPidCorrection), 2);
|
||||
|
||||
reportSensorF(log, fileFormat, "f: wall amt", "v", ENGINE(wallFuel).getWallFuel(0), 2);
|
||||
reportSensorF(log, fileFormat, "f: wall crr", "v", ENGINE(wallFuelCorrection), 2);
|
||||
|
@ -289,7 +289,7 @@ static void printSensors(Logging *log, bool fileFormat) {
|
|||
}
|
||||
#endif /* EFI_PROD_CODE */
|
||||
|
||||
reportSensorF(log, fileFormat, "knck_c", "count", engine->knockCount, 0);
|
||||
reportSensorF(log, fileFormat, GAUGE_NAME_KNOCK_COUNTER, "count", engine->knockCount, 0);
|
||||
reportSensorF(log, fileFormat, GAUGE_NAME_KNOCK_LEVEL, "v", engine->knockVolts, 2);
|
||||
|
||||
// reportSensorF(log, fileFormat, "vref", "V", getVRef(engineConfiguration), 2);
|
||||
|
|
|
@ -1579,6 +1579,7 @@
|
|||
#define GAUGE_NAME_WARNING_LAST "warning: last"
|
||||
#define GAUGE_NAME_WARNING_COUNTER "warning: counter"
|
||||
#define GAUGE_NAME_KNOCK_LEVEL "knock: current level"
|
||||
#define GAUGE_NAME_KNOCK_COUNTER "knock: counter"
|
||||
#define GAUGE_NAME_INJECTOR_LAG "fuel: injector lag"
|
||||
#define GAUGE_NAME_FUEL_TPS_EXTRA "fuel: TPS acceleration extra fuel"
|
||||
#define GAUGE_NAME_FUEL_EL_EXTRA "fuel: engine load acceleration extra fuel"
|
||||
|
@ -1587,6 +1588,8 @@
|
|||
#define GAUGE_NAME_FUEL_VR "fuel: VE"
|
||||
#define GAUGE_NAME_FUEL_RUNNING "fuel: running"
|
||||
#define GAUGE_NAME_FUEL_LAST_INJECTION "fuel: last injection"
|
||||
#define GAUGE_NAME_FUEL_BASE "fuel: base"
|
||||
#define GAUGE_NAME_FUEL_PID_CORR "fuel: correction"
|
||||
#define GAUGE_NAME_FUEL_INJ_DUTY "fuel: injector duty cycle"
|
||||
#define GAUGE_NAME_TCHARGE "fuel: SD tCharge"
|
||||
#define GAUGE_NAME_TARGET_AFR "fuel: target AFR"
|
||||
|
|
|
@ -911,6 +911,8 @@ end_struct
|
|||
|
||||
|
||||
#define GAUGE_NAME_KNOCK_LEVEL "knock: current level"
|
||||
#define GAUGE_NAME_KNOCK_COUNTER "knock: counter"
|
||||
|
||||
|
||||
#define GAUGE_NAME_INJECTOR_LAG "fuel: injector lag"
|
||||
#define GAUGE_NAME_FUEL_TPS_EXTRA "fuel: TPS acceleration extra fuel"
|
||||
|
@ -920,6 +922,8 @@ end_struct
|
|||
#define GAUGE_NAME_FUEL_VR "fuel: VE"
|
||||
#define GAUGE_NAME_FUEL_RUNNING "fuel: running"
|
||||
#define GAUGE_NAME_FUEL_LAST_INJECTION "fuel: last injection"
|
||||
#define GAUGE_NAME_FUEL_BASE "fuel: base"
|
||||
#define GAUGE_NAME_FUEL_PID_CORR "fuel: correction"
|
||||
|
||||
#define GAUGE_NAME_FUEL_INJ_DUTY "fuel: injector duty cycle"
|
||||
#define GAUGE_NAME_TCHARGE "fuel: SD tCharge"
|
||||
|
|
|
@ -260,5 +260,5 @@ int getRusEfiVersion(void) {
|
|||
if (initBootloader() != 0)
|
||||
return 123;
|
||||
#endif /* EFI_BOOTLOADER_INCLUDE_CODE */
|
||||
return 20170728;
|
||||
return 20170802;
|
||||
}
|
||||
|
|
|
@ -582,14 +582,14 @@ gaugeCategory = Accel Data
|
|||
|
||||
gaugeCategory = Fuel Data
|
||||
crankingFuelGauge = crankingFuel, "fuel: crank Width", "mSec", 0, 25.5, 1.0, 1.2, 20, 25, 3, 1
|
||||
iatCorrectionGauge = iatCorrection, "fuel: IAT correction", "mult", 0, 3, 0, 0, 3, 3, 2, 2
|
||||
cltCorrectionGauge = cltCorrection, "fuel: CLT correction", "mult", 0, 3, 0, 0, 3, 3, 2, 2
|
||||
injectorDutyCycleGauge=injectorDutyCycle, "fuel: injectorDutyCycle","%", 0, 120, 10, 10, 100, 100, 1, 1
|
||||
actualLastInjectionGauge = actualLastInjection, "fuel final squirt, per injection", "mSec", 0, 25.5, 1.0, 1.2, 20, 25, 3, 1
|
||||
iatCorrectionGauge = iatCorrection, @@GAUGE_NAME_FUEL_IAT_CORR@@, "mult", 0, 3, 0, 0, 3, 3, 2, 2
|
||||
cltCorrectionGauge = cltCorrection, @@GAUGE_NAME_FUEL_CLT_CORR@@, "mult", 0, 3, 0, 0, 3, 3, 2, 2
|
||||
injectorDutyCycleGauge=injectorDutyCycle, @@GAUGE_NAME_FUEL_INJ_DUTY@@,"%", 0, 120, 10, 10, 100, 100, 1, 1
|
||||
actualLastInjectionGauge = actualLastInjection, @@GAUGE_NAME_FUEL_LAST_INJECTION@@, "mSec", 0, 25.5, 1.0, 1.2, 20, 25, 3, 1
|
||||
|
||||
fuelRunningGauge = fuelRunning, @@GAUGE_NAME_FUEL_RUNNING@@, "mSec", 0, 25.5, 1.0, 1.2, 20, 25, 3, 1
|
||||
baseFuelGauge = baseFuel, "fuel: base duration, before corr", "mSec", 0, 25.5, 1.0, 1.2, 20, 25, 3, 1
|
||||
fuelPidCorrectionGauge = fuelPidCorrection, "fuel: closed loop correction", "mSec", -11, 11, 1.0, 1.2, 20, 25, 3, 1
|
||||
baseFuelGauge = baseFuel, @@GAUGE_NAME_FUEL_BASE@@, "mSec", 0, 25.5, 1.0, 1.2, 20, 25, 3, 1
|
||||
fuelPidCorrectionGauge = fuelPidCorrection, @@GAUGE_NAME_FUEL_PID_CORR@@, "mSec", -11, 11, 1.0, 1.2, 20, 25, 3, 1
|
||||
|
||||
|
||||
[FrontPage]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
package com.rusefi.config;
|
||||
|
||||
// this file was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Tue Jul 25 20:21:45 EDT 2017
|
||||
// this file was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Wed Aug 02 07:34:07 EDT 2017
|
||||
public class Fields {
|
||||
public static final int LE_COMMAND_LENGTH = 200;
|
||||
public static final int BLOCKING_FACTOR = 400;
|
||||
|
@ -1084,6 +1084,7 @@ public class Fields {
|
|||
public static final String GAUGE_NAME_WARNING_LAST = "warning: last";
|
||||
public static final String GAUGE_NAME_WARNING_COUNTER = "warning: counter";
|
||||
public static final String GAUGE_NAME_KNOCK_LEVEL = "knock: current level";
|
||||
public static final String GAUGE_NAME_KNOCK_COUNTER = "knock: counter";
|
||||
public static final String GAUGE_NAME_INJECTOR_LAG = "fuel: injector lag";
|
||||
public static final String GAUGE_NAME_FUEL_TPS_EXTRA = "fuel: TPS acceleration extra fuel";
|
||||
public static final String GAUGE_NAME_FUEL_EL_EXTRA = "fuel: engine load acceleration extra fuel";
|
||||
|
@ -1092,6 +1093,8 @@ public class Fields {
|
|||
public static final String GAUGE_NAME_FUEL_VR = "fuel: VE";
|
||||
public static final String GAUGE_NAME_FUEL_RUNNING = "fuel: running";
|
||||
public static final String GAUGE_NAME_FUEL_LAST_INJECTION = "fuel: last injection";
|
||||
public static final String GAUGE_NAME_FUEL_BASE = "fuel: base";
|
||||
public static final String GAUGE_NAME_FUEL_PID_CORR = "fuel: correction";
|
||||
public static final String GAUGE_NAME_FUEL_INJ_DUTY = "fuel: injector duty cycle";
|
||||
public static final String GAUGE_NAME_TCHARGE = "fuel: SD tCharge";
|
||||
public static final String GAUGE_NAME_TARGET_AFR = "fuel: target AFR";
|
||||
|
|
|
@ -95,7 +95,7 @@ public enum Sensor {
|
|||
IAT(SensorCategory.SENSOR_INPUTS, FieldType.FLOAT, 8, BackgroundColor.WHITE, -40, 150, "C"),
|
||||
TPS(SensorCategory.SENSOR_INPUTS, FieldType.FLOAT, 12, BackgroundColor.MUD, 0, 100, "%"),
|
||||
CRANKING_BASE(SensorCategory.FUEL, FieldType.FLOAT, 44, BackgroundColor.MUD, 0, 30, "ms"),
|
||||
FUEL_BASE(SensorCategory.FUEL, FieldType.FLOAT, 48, BackgroundColor.MUD, 0, 30, "ms"),
|
||||
FUEL_BASE(Fields.GAUGE_NAME_FUEL_BASE, SensorCategory.FUEL, FieldType.FLOAT, 48, BackgroundColor.MUD, 0, 30, "ms"),
|
||||
T_CHARGE(SensorCategory.FUEL, FieldType.FLOAT, 52, BackgroundColor.MUD, 30, 140),
|
||||
// todo: unify with TIMING
|
||||
ignitionAdvance(SensorCategory.OPERATIONS, FieldType.FLOAT, 56, BackgroundColor.MUD, 30, 140),
|
||||
|
|
Loading…
Reference in New Issue