auto-sync
This commit is contained in:
parent
0e9964e01d
commit
7c86a945d9
|
@ -221,7 +221,7 @@ void setDodgeNeonNGCEngineConfiguration(engine_configuration_s *engineConfigurat
|
||||||
// set_cranking_charge_angle 70
|
// set_cranking_charge_angle 70
|
||||||
engineConfiguration->crankingChargeAngle = 70;
|
engineConfiguration->crankingChargeAngle = 70;
|
||||||
// set_cranking_timing_angle 710
|
// set_cranking_timing_angle 710
|
||||||
engineConfiguration->crankingTimingAngle = 710;
|
engineConfiguration->crankingTimingAngle = -710;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -109,7 +109,7 @@ void setFordAspireEngineConfiguration(engine_configuration_s *engineConfiguratio
|
||||||
// set_cranking_charge_angle 70
|
// set_cranking_charge_angle 70
|
||||||
engineConfiguration->crankingChargeAngle = 70;
|
engineConfiguration->crankingChargeAngle = 70;
|
||||||
// set_cranking_timing_angle 37
|
// set_cranking_timing_angle 37
|
||||||
engineConfiguration->crankingTimingAngle = 37;
|
engineConfiguration->crankingTimingAngle = -37;
|
||||||
|
|
||||||
setSingleCoilDwell(engineConfiguration);
|
setSingleCoilDwell(engineConfiguration);
|
||||||
engineConfiguration->ignitionMode = IM_ONE_COIL;
|
engineConfiguration->ignitionMode = IM_ONE_COIL;
|
||||||
|
|
|
@ -65,7 +65,7 @@ static void setHondaAccordConfigurationCommon(engine_configuration_s *engineConf
|
||||||
// set_cranking_charge_angle 35
|
// set_cranking_charge_angle 35
|
||||||
engineConfiguration->crankingChargeAngle = 70;
|
engineConfiguration->crankingChargeAngle = 70;
|
||||||
// set_cranking_timing_angle 0
|
// set_cranking_timing_angle 0
|
||||||
engineConfiguration->crankingTimingAngle = 45;
|
engineConfiguration->crankingTimingAngle = -45;
|
||||||
|
|
||||||
// set_global_trigger_offset_angle 34
|
// set_global_trigger_offset_angle 34
|
||||||
engineConfiguration->globalTriggerAngleOffset = 34;
|
engineConfiguration->globalTriggerAngleOffset = 34;
|
||||||
|
|
|
@ -259,11 +259,17 @@ void setFordEscortGt(engine_configuration_s *engineConfiguration) {
|
||||||
engineConfiguration->map.sensor.type = MT_DENSO183;
|
engineConfiguration->map.sensor.type = MT_DENSO183;
|
||||||
|
|
||||||
// set_global_trigger_offset_angle 659
|
// set_global_trigger_offset_angle 659
|
||||||
engineConfiguration->globalTriggerAngleOffset = 659;
|
engineConfiguration->globalTriggerAngleOffset = 0;
|
||||||
// set_ignition_offset 170
|
// set_ignition_offset 170
|
||||||
engineConfiguration->ignitionBaseAngle = 170;
|
engineConfiguration->ignitionBaseAngle = 0;
|
||||||
// set_injection_offset 510
|
// set_injection_offset 510
|
||||||
engineConfiguration->injectionAngle = 59;
|
engineConfiguration->injectionAngle = 0;
|
||||||
|
|
||||||
|
engineConfiguration->crankingTimingAngle = 10;
|
||||||
|
engineConfiguration->crankingChargeAngle = 70;
|
||||||
|
|
||||||
|
setWholeTimingTable(engineConfiguration, 10);
|
||||||
|
|
||||||
|
|
||||||
setSingleCoilDwell(engineConfiguration);
|
setSingleCoilDwell(engineConfiguration);
|
||||||
engineConfiguration->ignitionMode = IM_ONE_COIL;
|
engineConfiguration->ignitionMode = IM_ONE_COIL;
|
||||||
|
|
|
@ -33,7 +33,7 @@ void setMitsubishiConfiguration(engine_configuration_s *engineConfiguration, boa
|
||||||
// set_cranking_charge_angle 70
|
// set_cranking_charge_angle 70
|
||||||
engineConfiguration->crankingChargeAngle = 70;
|
engineConfiguration->crankingChargeAngle = 70;
|
||||||
// set_cranking_timing_angle 715
|
// set_cranking_timing_angle 715
|
||||||
engineConfiguration->crankingTimingAngle = 715;
|
engineConfiguration->crankingTimingAngle = -715;
|
||||||
|
|
||||||
// set_whole_fuel_map 3
|
// set_whole_fuel_map 3
|
||||||
setWholeFuelMap(engineConfiguration, 3);
|
setWholeFuelMap(engineConfiguration, 3);
|
||||||
|
|
|
@ -45,7 +45,7 @@ float getBaseAdvance(int rpm, float engineLoad DECLARE_ENGINE_PARAMETER_S) {
|
||||||
float getAdvance(int rpm, float engineLoad DECLARE_ENGINE_PARAMETER_S) {
|
float getAdvance(int rpm, float engineLoad DECLARE_ENGINE_PARAMETER_S) {
|
||||||
float angle;
|
float angle;
|
||||||
if (isCrankingR(rpm)) {
|
if (isCrankingR(rpm)) {
|
||||||
angle = -engineConfiguration->crankingTimingAngle;
|
angle = engineConfiguration->crankingTimingAngle;
|
||||||
} else {
|
} else {
|
||||||
angle = getBaseAdvance(rpm, engineLoad PASS_ENGINE_PARAMETER);
|
angle = getBaseAdvance(rpm, engineLoad PASS_ENGINE_PARAMETER);
|
||||||
}
|
}
|
||||||
|
|
|
@ -36,7 +36,7 @@ public class AutoTest {
|
||||||
sendCommand("set_engine_type 14");
|
sendCommand("set_engine_type 14");
|
||||||
WaveChart chart;
|
WaveChart chart;
|
||||||
IoUtil.changeRpm(200);
|
IoUtil.changeRpm(200);
|
||||||
String msg = "ProtegeLX";
|
String msg = "ProtegeLX cranking";
|
||||||
chart = nextChart();
|
chart = nextChart();
|
||||||
double x = 100;
|
double x = 100;
|
||||||
assertWave(msg, chart, WaveChart.SPARK_1, 0.194433, x, x + 180, x + 360, x + 540);
|
assertWave(msg, chart, WaveChart.SPARK_1, 0.194433, x, x + 180, x + 360, x + 540);
|
||||||
|
@ -44,6 +44,7 @@ public class AutoTest {
|
||||||
assertWave(msg, chart, WaveChart.INJECTOR_1, 0.00626666, x, x + 180, x + 360, x + 540);
|
assertWave(msg, chart, WaveChart.INJECTOR_1, 0.00626666, x, x + 180, x + 360, x + 540);
|
||||||
assertWave(msg, chart, WaveChart.INJECTOR_2, 0.00626666, x, x + 180, x + 360, x + 540);
|
assertWave(msg, chart, WaveChart.INJECTOR_2, 0.00626666, x, x + 180, x + 360, x + 540);
|
||||||
|
|
||||||
|
msg = "ProtegeLX running";
|
||||||
IoUtil.changeRpm(2000);
|
IoUtil.changeRpm(2000);
|
||||||
chart = nextChart();
|
chart = nextChart();
|
||||||
x = 121;
|
x = 121;
|
||||||
|
@ -134,17 +135,17 @@ public class AutoTest {
|
||||||
IoUtil.changeRpm(200);
|
IoUtil.changeRpm(200);
|
||||||
|
|
||||||
sendCommand("set_cranking_charge_angle 65");
|
sendCommand("set_cranking_charge_angle 65");
|
||||||
sendCommand("set_cranking_timing_angle 31");
|
sendCommand("set_cranking_timing_angle -31");
|
||||||
|
|
||||||
chart = nextChart();
|
chart = nextChart();
|
||||||
x = 55;
|
x = 55;
|
||||||
assertWave("aspire", chart, WaveChart.SPARK_1, 0.18, x, x + 180, x + 360, x + 540);
|
assertWave("aspire cranking", chart, WaveChart.SPARK_1, 0.18, x, x + 180, x + 360, x + 540);
|
||||||
|
|
||||||
sendCommand("set_cranking_timing_angle 40");
|
sendCommand("set_cranking_timing_angle -40");
|
||||||
chart = nextChart();
|
chart = nextChart();
|
||||||
x = 64;
|
x = 64;
|
||||||
assertWave("aspire", chart, WaveChart.SPARK_1, 0.18, x, x + 180, x + 360, x + 540);
|
assertWave("aspire", chart, WaveChart.SPARK_1, 0.18, x, x + 180, x + 360, x + 540);
|
||||||
sendCommand("set_cranking_timing_angle -149");
|
sendCommand("set_cranking_timing_angle 149");
|
||||||
|
|
||||||
sendCommand("set_cranking_charge_angle 40");
|
sendCommand("set_cranking_charge_angle 40");
|
||||||
chart = nextChart();
|
chart = nextChart();
|
||||||
|
|
Loading…
Reference in New Issue