auto-sync
This commit is contained in:
parent
ecd2bf62fc
commit
14bd0878f1
|
@ -221,7 +221,7 @@ void setDodgeNeonNGCEngineConfiguration(engine_configuration_s *engineConfigurat
|
|||
// set_cranking_charge_angle 70
|
||||
engineConfiguration->crankingChargeAngle = 70;
|
||||
// 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
|
||||
engineConfiguration->crankingChargeAngle = 70;
|
||||
// set_cranking_timing_angle 37
|
||||
engineConfiguration->crankingTimingAngle = 37;
|
||||
engineConfiguration->crankingTimingAngle = -37;
|
||||
|
||||
setSingleCoilDwell(engineConfiguration);
|
||||
engineConfiguration->ignitionMode = IM_ONE_COIL;
|
||||
|
|
|
@ -65,7 +65,7 @@ static void setHondaAccordConfigurationCommon(engine_configuration_s *engineConf
|
|||
// set_cranking_charge_angle 35
|
||||
engineConfiguration->crankingChargeAngle = 70;
|
||||
// set_cranking_timing_angle 0
|
||||
engineConfiguration->crankingTimingAngle = 45;
|
||||
engineConfiguration->crankingTimingAngle = -45;
|
||||
|
||||
// set_global_trigger_offset_angle 34
|
||||
engineConfiguration->globalTriggerAngleOffset = 34;
|
||||
|
|
|
@ -259,11 +259,17 @@ void setFordEscortGt(engine_configuration_s *engineConfiguration) {
|
|||
engineConfiguration->map.sensor.type = MT_DENSO183;
|
||||
|
||||
// set_global_trigger_offset_angle 659
|
||||
engineConfiguration->globalTriggerAngleOffset = 659;
|
||||
engineConfiguration->globalTriggerAngleOffset = 0;
|
||||
// set_ignition_offset 170
|
||||
engineConfiguration->ignitionBaseAngle = 170;
|
||||
engineConfiguration->ignitionBaseAngle = 0;
|
||||
// set_injection_offset 510
|
||||
engineConfiguration->injectionAngle = 59;
|
||||
engineConfiguration->injectionAngle = 0;
|
||||
|
||||
engineConfiguration->crankingTimingAngle = 10;
|
||||
engineConfiguration->crankingChargeAngle = 70;
|
||||
|
||||
setWholeTimingTable(engineConfiguration, 10);
|
||||
|
||||
|
||||
setSingleCoilDwell(engineConfiguration);
|
||||
engineConfiguration->ignitionMode = IM_ONE_COIL;
|
||||
|
|
|
@ -33,7 +33,7 @@ void setMitsubishiConfiguration(engine_configuration_s *engineConfiguration, boa
|
|||
// set_cranking_charge_angle 70
|
||||
engineConfiguration->crankingChargeAngle = 70;
|
||||
// set_cranking_timing_angle 715
|
||||
engineConfiguration->crankingTimingAngle = 715;
|
||||
engineConfiguration->crankingTimingAngle = -715;
|
||||
|
||||
// set_whole_fuel_map 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 angle;
|
||||
if (isCrankingR(rpm)) {
|
||||
angle = -engineConfiguration->crankingTimingAngle;
|
||||
angle = engineConfiguration->crankingTimingAngle;
|
||||
} else {
|
||||
angle = getBaseAdvance(rpm, engineLoad PASS_ENGINE_PARAMETER);
|
||||
}
|
||||
|
|
|
@ -36,7 +36,7 @@ public class AutoTest {
|
|||
sendCommand("set_engine_type 14");
|
||||
WaveChart chart;
|
||||
IoUtil.changeRpm(200);
|
||||
String msg = "ProtegeLX";
|
||||
String msg = "ProtegeLX cranking";
|
||||
chart = nextChart();
|
||||
double x = 100;
|
||||
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_2, 0.00626666, x, x + 180, x + 360, x + 540);
|
||||
|
||||
msg = "ProtegeLX running";
|
||||
IoUtil.changeRpm(2000);
|
||||
chart = nextChart();
|
||||
x = 121;
|
||||
|
@ -134,17 +135,17 @@ public class AutoTest {
|
|||
IoUtil.changeRpm(200);
|
||||
|
||||
sendCommand("set_cranking_charge_angle 65");
|
||||
sendCommand("set_cranking_timing_angle 31");
|
||||
sendCommand("set_cranking_timing_angle -31");
|
||||
|
||||
chart = nextChart();
|
||||
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();
|
||||
x = 64;
|
||||
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");
|
||||
chart = nextChart();
|
||||
|
|
Loading…
Reference in New Issue