HW CI has failed 11 times since Oct 2 #1849

This commit is contained in:
rusefillc 2020-10-16 13:54:12 -04:00
parent ef5bc9f669
commit bd7dcf1709
2 changed files with 3 additions and 26 deletions

View File

@ -30,8 +30,8 @@ void setVwAba(DECLARE_CONFIG_PARAMETER_SIGNATURE) {
setOperationMode(engineConfiguration, FOUR_STROKE_CRANK_SENSOR); setOperationMode(engineConfiguration, FOUR_STROKE_CRANK_SENSOR);
// engineConfiguration->trigger.type = TT_TOOTHED_WHEEL_60_2; engineConfiguration->trigger.type = TT_TOOTHED_WHEEL_60_2;
engineConfiguration->trigger.type = TT_60_2_VW; engineConfiguration->useOnlyRisingEdgeForTrigger = true;
engineConfiguration->mafAdcChannel = EFI_ADC_1; engineConfiguration->mafAdcChannel = EFI_ADC_1;

View File

@ -515,33 +515,10 @@ TEST(misc, testTriggerDecoder) {
WITH_ENGINE_TEST_HELPER(MITSU_4G93); WITH_ENGINE_TEST_HELPER(MITSU_4G93);
// TriggerWaveform *t = &eth.engine.triggerShape;
// ASSERT_EQ(1, t->eventAngles[1]);
// ASSERT_EQ( 0, t->triggerIndexByAngle[56]) << "index at 0";
// ASSERT_EQ( 1, t->triggerIndexByAngle[57]) << "index at 1";
//
// ASSERT_EQ(270, t->eventAngles[5]);
// ASSERT_EQ( 4, t->triggerIndexByAngle[269]) << "index at 269";
// ASSERT_EQ( 5, t->triggerIndexByAngle[270]) << "index at 270";
// ASSERT_EQ( 5, t->triggerIndexByAngle[271]) << "index at 271";
//
// ASSERT_EQ(306, t->eventAngles[6]);
// ASSERT_EQ(5, t->triggerIndexByAngle[305]);
// ASSERT_EQ(6, t->triggerIndexByAngle[306]);
// ASSERT_EQ(6, t->triggerIndexByAngle[307]);
//
// ASSERT_EQ(666, t->eventAngles[11]);
// ASSERT_EQ( 10, t->triggerIndexByAngle[665]) << "index for 665";
// ASSERT_EQ( 11, t->triggerIndexByAngle[668]) << "index for 668";
eth.persistentConfig.engineConfiguration.useOnlyRisingEdgeForTrigger = false; eth.persistentConfig.engineConfiguration.useOnlyRisingEdgeForTrigger = false;
eth.persistentConfig.engineConfiguration.sensorChartMode = SC_DETAILED_RPM; eth.persistentConfig.engineConfiguration.sensorChartMode = SC_DETAILED_RPM;
applyNonPersistentConfiguration(NULL PASS_ENGINE_PARAMETER_SUFFIX); applyNonPersistentConfiguration(NULL PASS_ENGINE_PARAMETER_SUFFIX);
// assertEqualsM2("rpm#1", 16666.9746, eth.engine.triggerCentral.triggerState.instantRpmValue[0], 0.5);
// assertEqualsM2("rpm#2", 16666.3750, eth.engine.triggerCentral.triggerState.instantRpmValue[1], 0.5);
} }
testTriggerDecoder2("miata 1990", MIATA_1990, 11, 0.2985, 0.3890); testTriggerDecoder2("miata 1990", MIATA_1990, 11, 0.2985, 0.3890);
testTriggerDecoder3("miata 1994", MIATA_1994_DEVIATOR, 11, 0.2985, 0.3890, MIATA_NA_GAP); testTriggerDecoder3("miata 1994", MIATA_1994_DEVIATOR, 11, 0.2985, 0.3890, MIATA_NA_GAP);
@ -563,7 +540,7 @@ TEST(misc, testTriggerDecoder) {
testTriggerDecoder2("sachs", SACHS, 0, 0.4800, 0.000); testTriggerDecoder2("sachs", SACHS, 0, 0.4800, 0.000);
testTriggerDecoder2("vw ABA", VW_ABA, 114, 0.5000, 0.0); testTriggerDecoder2("vw ABA", VW_ABA, 0, 0.51666, 0.0);
} }
extern fuel_Map3D_t fuelMap; extern fuel_Map3D_t fuelMap;