mirror of https://github.com/FOME-Tech/fome-fw.git
VVT progress
This commit is contained in:
parent
e0e43a5c76
commit
4605259d9c
|
@ -208,7 +208,9 @@ void hwHandleVvtCamSignal(trigger_value_e front, efitick_t nowNt DECLARE_ENGINE_
|
||||||
|
|
||||||
tc->vvtSyncTimeNt = nowNt;
|
tc->vvtSyncTimeNt = nowNt;
|
||||||
|
|
||||||
tc->vvtPosition = engineConfiguration->vvtOffset - currentPosition;
|
float vvtPosition = engineConfiguration->vvtOffset - currentPosition;
|
||||||
|
fixAngle(vvtPosition, "vvtPosition", CUSTOM_ERR_6556);
|
||||||
|
tc->vvtPosition = vvtPosition;
|
||||||
|
|
||||||
switch (engineConfiguration->vvtMode) {
|
switch (engineConfiguration->vvtMode) {
|
||||||
case VVT_FIRST_HALF:
|
case VVT_FIRST_HALF:
|
||||||
|
|
|
@ -1431,6 +1431,8 @@ end_struct
|
||||||
#define GAUGE_NAME_ACCEL_Y "Acceleration: Y"
|
#define GAUGE_NAME_ACCEL_Y "Acceleration: Y"
|
||||||
#define GAUGE_NAME_ACCEL_Z "Acceleration: Z"
|
#define GAUGE_NAME_ACCEL_Z "Acceleration: Z"
|
||||||
|
|
||||||
|
#define GAUGE_NAME_BARO_PRESSURE "Barometric pressure"
|
||||||
|
|
||||||
#define GAUGE_NAME_ECU_TEMPERATURE "ECU temperature"
|
#define GAUGE_NAME_ECU_TEMPERATURE "ECU temperature"
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -960,8 +960,8 @@ gaugeCategory = Sensors - Extra 1
|
||||||
VSSGauge = vehicleSpeedKph, "Vehicle speed", "kmh", 0, 200, 0, 1, 3, 4, 1, 1
|
VSSGauge = vehicleSpeedKph, "Vehicle speed", "kmh", 0, 200, 0, 1, 3, 4, 1, 1
|
||||||
accelerationXGauge = accelerationX, @@GAUGE_NAME_ACCEL_X@@, "acc", -11, 11, 1.0, 1.2, 100, 100, 3, 1
|
accelerationXGauge = accelerationX, @@GAUGE_NAME_ACCEL_X@@, "acc", -11, 11, 1.0, 1.2, 100, 100, 3, 1
|
||||||
accelerationYGauge = accelerationY, @@GAUGE_NAME_ACCEL_Y@@, "acc", -11, 11, 1.0, 1.2, 100, 100, 3, 1
|
accelerationYGauge = accelerationY, @@GAUGE_NAME_ACCEL_Y@@, "acc", -11, 11, 1.0, 1.2, 100, 100, 3, 1
|
||||||
atmPresCGauge = baroPressure, "Barometric pressure", "kPa", 0, 1024, 0, 0, 0, 0, 0, 0
|
atmPresCGauge = baroPressure, @@GAUGE_NAME_BARO_PRESSURE@@, "kPa", 0, 1024, 0, 0, 0, 0, 0, 0
|
||||||
vvtPositionGauge = vvtPosition, "VVT position", "deg", 0, 100, 0, 0, 720, 720, 0, 0
|
vvtPositionGauge = vvtPosition, @@GAUGE_NAME_VVT@@, "deg", 0, 100, 0, 0, 720, 720, 0, 0
|
||||||
internalMcuTemperatureGauge = internalMcuTemperature, @@GAUGE_NAME_ECU_TEMPERATURE@@, "C", 0, 100, 0, 0, 75, 100, 0, 0
|
internalMcuTemperatureGauge = internalMcuTemperature, @@GAUGE_NAME_ECU_TEMPERATURE@@, "C", 0, 100, 0, 0, 75, 100, 0, 0
|
||||||
OilPressGauge = oilPressure, "Oil Pressure", "kPa", 0, 750, 35, 75, 550, 700, 0, 0
|
OilPressGauge = oilPressure, "Oil Pressure", "kPa", 0, 750, 35, 75, 550, 700, 0, 0
|
||||||
idleAirValvePositionGauge = idleAirValvePosition, "Idle position", "%", 0, 100, 0, 0, 100, 100, 1, 1
|
idleAirValvePositionGauge = idleAirValvePosition, "Idle position", "%", 0, 100, 0, 0, 100, 100, 1, 1
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.rusefi.config.generated;
|
package com.rusefi.config.generated;
|
||||||
|
|
||||||
// this file was generated automatically by rusEfi tool ConfigDefinition.jar based on gen_config.bat integration\rusefi_config.txt Thu May 14 23:44:58 EDT 2020
|
// this file was generated automatically by rusEfi tool ConfigDefinition.jar based on gen_config.bat integration\rusefi_config.txt Fri May 15 21:04:15 EDT 2020
|
||||||
|
|
||||||
// by class com.rusefi.output.FileJavaFieldsConsumer
|
// by class com.rusefi.output.FileJavaFieldsConsumer
|
||||||
import com.rusefi.config.*;
|
import com.rusefi.config.*;
|
||||||
|
@ -653,6 +653,7 @@ public class Fields {
|
||||||
public static final String GAUGE_NAME_AFR = "Air/Fuel Ratio";
|
public static final String GAUGE_NAME_AFR = "Air/Fuel Ratio";
|
||||||
public static final String GAUGE_NAME_AIR_FLOW = "MAF air flow";
|
public static final String GAUGE_NAME_AIR_FLOW = "MAF air flow";
|
||||||
public static final String GAUGE_NAME_AIR_MASS = "air mass";
|
public static final String GAUGE_NAME_AIR_MASS = "air mass";
|
||||||
|
public static final String GAUGE_NAME_BARO_PRESSURE = "Barometric pressure";
|
||||||
public static final String GAUGE_NAME_CPU_TEMP = "CPU Temperature";
|
public static final String GAUGE_NAME_CPU_TEMP = "CPU Temperature";
|
||||||
public static final String GAUGE_NAME_DEBUG_F1 = "debug f1";
|
public static final String GAUGE_NAME_DEBUG_F1 = "debug f1";
|
||||||
public static final String GAUGE_NAME_DEBUG_F2 = "debug f2: iTerm";
|
public static final String GAUGE_NAME_DEBUG_F2 = "debug f2: iTerm";
|
||||||
|
|
|
@ -62,11 +62,11 @@ public class Launcher {
|
||||||
static {
|
static {
|
||||||
TOOLS.put("help", args -> printTools());
|
TOOLS.put("help", args -> printTools());
|
||||||
TOOLS.put("headless", args -> runHeadless());
|
TOOLS.put("headless", args -> runHeadless());
|
||||||
TOOLS.put("compile", args -> invokeCompileExpressionTool(args));
|
TOOLS.put("compile", Launcher::invokeCompileExpressionTool);
|
||||||
TOOLS.put("ptrace_enums", args -> runPerfTraceTool(args));
|
TOOLS.put("ptrace_enums", Launcher::runPerfTraceTool);
|
||||||
TOOLS.put("functional_test", args -> runFunctionalTest(args));
|
TOOLS.put("functional_test", Launcher::runFunctionalTest);
|
||||||
TOOLS.put("compile_fsio_file", args -> runCompileTool(args));
|
TOOLS.put("compile_fsio_file", Launcher::runCompileTool);
|
||||||
TOOLS.put("firing_order", args -> runFiringOrderTool(args));
|
TOOLS.put("firing_order", Launcher::runFiringOrderTool);
|
||||||
TOOLS.put("reboot_ecu", args -> sendCommand(Fields.CMD_REBOOT));
|
TOOLS.put("reboot_ecu", args -> sendCommand(Fields.CMD_REBOOT));
|
||||||
TOOLS.put(Fields.CMD_REBOOT_DFU, args -> sendCommand(Fields.CMD_REBOOT_DFU));
|
TOOLS.put(Fields.CMD_REBOOT_DFU, args -> sendCommand(Fields.CMD_REBOOT_DFU));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue