From 08ffd959166c5e2785e64dab9afa14912b8319fc Mon Sep 17 00:00:00 2001 From: GitHub git update Action Date: Sun, 21 Apr 2024 16:36:52 +0000 Subject: [PATCH] Auto-generated Default Tune [no ci] --- ...aring-against-current-COUPE-BK1-default.md | 57 ++ ...ainst-current-COUPE-BK1-default_methods.md | 285 +++++++++ ...E-BK1-comparing-against-global-defaults.md | 57 ++ ...mparing-against-global-defaults_methods.md | 285 +++++++++ ...aring-against-current-COUPE-BK2-default.md | 61 ++ ...ainst-current-COUPE-BK2-default_methods.md | 305 +++++++++ ...E-BK2-comparing-against-global-defaults.md | 61 ++ ...mparing-against-global-defaults_methods.md | 305 +++++++++ ...ring-against-current-Honda-OBD1-default.md | 14 + ...inst-current-Honda-OBD1-default_methods.md | 79 +++ ...-OBD1-comparing-against-global-defaults.md | 14 + ...mparing-against-global-defaults_methods.md | 79 +++ ...2-comparing-against-current-M52-default.md | 73 +++ ...ing-against-current-M52-default_methods.md | 374 +++++++++++ .../M52-comparing-against-global-defaults.md | 73 +++ ...mparing-against-global-defaults_methods.md | 374 +++++++++++ ...g-against-current-MazdaMiataNB2-default.md | 59 ++ ...t-current-MazdaMiataNB2-default_methods.md | 295 +++++++++ ...taNB2-comparing-against-global-defaults.md | 62 ++ ...mparing-against-global-defaults_methods.md | 310 +++++++++ ...PB-comparing-against-current-PB-default.md | 21 + ...ring-against-current-PB-default_methods.md | 105 ++++ .../PB-comparing-against-global-defaults.md | 22 + ...mparing-against-global-defaults_methods.md | 110 ++++ ...VQ-comparing-against-current-VQ-default.md | 73 +++ ...ring-against-current-VQ-default_methods.md | 383 ++++++++++++ .../VQ-comparing-against-global-defaults.md | 73 +++ ...mparing-against-global-defaults_methods.md | 383 ++++++++++++ ...aring-against-current-m111-alex-default.md | 112 ++++ ...ainst-current-m111-alex-default_methods.md | 587 ++++++++++++++++++ ...-alex-comparing-against-global-defaults.md | 112 ++++ ...mparing-against-global-defaults_methods.md | 587 ++++++++++++++++++ generated/simulator_tune.msq | 4 +- generated/simulator_tune_BMW_M52.msq | 2 +- generated/simulator_tune_HARLEY.msq | 2 +- ...simulator_tune_HELLEN_121_NISSAN_6_CYL.msq | 2 +- ...ator_tune_HELLEN_154_HYUNDAI_COUPE_BK1.msq | 2 +- ...ator_tune_HELLEN_154_HYUNDAI_COUPE_BK2.msq | 2 +- generated/simulator_tune_HONDA_K.msq | 2 +- generated/simulator_tune_HONDA_OBD1.msq | 2 +- generated/simulator_tune_HYUNDAI_PB.msq | 2 +- generated/simulator_tune_MAVERICK_X3.msq | 2 +- generated/simulator_tune_MAZDA_MIATA_NA6.msq | 2 +- generated/simulator_tune_MAZDA_MIATA_NA94.msq | 2 +- generated/simulator_tune_MAZDA_MIATA_NA96.msq | 2 +- generated/simulator_tune_MAZDA_MIATA_NB1.msq | 2 +- generated/simulator_tune_MAZDA_MIATA_NB2.msq | 2 +- generated/simulator_tune_MERCEDES_M111.msq | 2 +- generated/simulator_tune_POLARIS_RZR.msq | 2 +- 49 files changed, 5808 insertions(+), 18 deletions(-) diff --git a/generated/canned-tunes/COUPE-BK1-comparing-against-current-COUPE-BK1-default.md b/generated/canned-tunes/COUPE-BK1-comparing-against-current-COUPE-BK1-default.md index cb0f269..6e5e29e 100644 --- a/generated/canned-tunes/COUPE-BK1-comparing-against-current-COUPE-BK1-default.md +++ b/generated/canned-tunes/COUPE-BK1-comparing-against-current-COUPE-BK1-default.md @@ -125,12 +125,69 @@ engineConfiguration->etb.dFactor = 0.0892407; + coupleBK1cannedprimeBins(); + coupleBK1cannedprimeValues(); + coupleBK1cannedmap_samplingAngleBins(); + coupleBK1cannedmap_samplingWindowBins(); + coupleBK1cannedvrThreshold1_rpmBins(); + coupleBK1cannedvrThreshold2_rpmBins(); + coupleBK1cannedmafDecodingBins(); + coupleBK1cannedcltRevLimitRpmBins(); + coupleBK1cannedcltIdleCorrBins(); + coupleBK1cannedcltIdleCorr(); + coupleBK1cannedcltIdleRpm(); + coupleBK1cannedidleAdvanceBins(); + coupleBK1cannedidleAdvance(); + coupleBK1cannedfuelLevelBins(); + coupleBK1cannedignBlends1_blendBins(); + coupleBK1cannedignBlends1_blendValues(); + coupleBK1cannedignBlends2_blendBins(); + coupleBK1cannedignBlends2_blendValues(); + coupleBK1cannedignBlends3_blendBins(); + coupleBK1cannedignBlends3_blendValues(); + coupleBK1cannedignBlends4_blendBins(); + coupleBK1cannedignBlends4_blendValues(); + coupleBK1cannedveBlends1_blendBins(); + coupleBK1cannedveBlends1_blendValues(); + coupleBK1cannedveBlends2_blendBins(); + coupleBK1cannedveBlends2_blendValues(); + coupleBK1cannedveBlends3_blendBins(); + coupleBK1cannedveBlends3_blendValues(); + coupleBK1cannedveBlends4_blendBins(); + coupleBK1cannedveBlends4_blendValues(); + coupleBK1cannedboostRpmBins(); coupleBK1cannedboostTableOpenLoop(); coupleBK1cannedvvtTable1(); coupleBK1cannedvvtTable2(); + coupleBK1cannedscriptTable4RpmBins(); coupleBK1cannedscriptTable4(); + coupleBK1cannedignitionRpmBins(); + coupleBK1cannedignitionLoadBins(); coupleBK1cannedignitionTable(); + coupleBK1cannedignBlends1_rpmBins(); + coupleBK1cannedignBlends1_loadBins(); + coupleBK1cannedignBlends2_rpmBins(); + coupleBK1cannedignBlends2_loadBins(); + coupleBK1cannedignBlends3_rpmBins(); + coupleBK1cannedignBlends3_loadBins(); + coupleBK1cannedignBlends4_rpmBins(); + coupleBK1cannedignBlends4_loadBins(); + coupleBK1cannedveBlends1_rpmBins(); + coupleBK1cannedveBlends1_loadBins(); + coupleBK1cannedveBlends2_rpmBins(); + coupleBK1cannedveBlends2_loadBins(); + coupleBK1cannedveBlends3_rpmBins(); + coupleBK1cannedveBlends3_loadBins(); + coupleBK1cannedveBlends4_rpmBins(); + coupleBK1cannedveBlends4_loadBins(); + coupleBK1cannedfuelTrimRpmBins(); + coupleBK1cannedfuelTrimLoadBins(); + coupleBK1cannedignTrimRpmBins(); + coupleBK1cannedignTrimLoadBins(); + coupleBK1cannedpedalToTpsRpmBins(); coupleBK1cannedlambdaTable(); coupleBK1cannedtcuSolenoidTable(); + coupleBK1cannedhpfpTargetRpmBins(); + coupleBK1cannedhpfpCompensationRpmBins(); coupleBK1cannedpostCrankingFactor(); ``` diff --git a/generated/canned-tunes/COUPE-BK1-comparing-against-current-COUPE-BK1-default_methods.md b/generated/canned-tunes/COUPE-BK1-comparing-against-current-COUPE-BK1-default_methods.md index 73e1392..bb19a9a 100644 --- a/generated/canned-tunes/COUPE-BK1-comparing-against-current-COUPE-BK1-default_methods.md +++ b/generated/canned-tunes/COUPE-BK1-comparing-against-current-COUPE-BK1-default_methods.md @@ -1,4 +1,159 @@ ``` +static void coupleBK1cannedprimeBins() { + static const float hardCodedprimeBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->primeBins, hardCodedprimeBins); +} + +static void coupleBK1cannedprimeValues() { + static const float hardCodedprimeValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->primeValues, hardCodedprimeValues); +} + +static void coupleBK1cannedmap_samplingAngleBins() { + static const float hardCodedmap_samplingAngleBins[8] = {800.0, 1686.0, 2571.0, 3457.0, 4343.0, 5229.0, 6114.0, 7000.0}; + copyArray(engineConfiguration->map.map_samplingAngleBins, hardCodedmap_samplingAngleBins); +} + +static void coupleBK1cannedmap_samplingWindowBins() { + static const float hardCodedmap_samplingWindowBins[8] = {800.0, 1686.0, 2571.0, 3457.0, 4343.0, 5229.0, 6114.0, 7000.0}; + copyArray(engineConfiguration->map.map_samplingWindowBins, hardCodedmap_samplingWindowBins); +} + +static void coupleBK1cannedvrThreshold1_rpmBins() { + static const float hardCodedvrThreshold1_rpmBins[6] = {600.0, 1900.0, 3200.0, 4400.0, 5700.0, 7000.0}; + copyArray(engineConfiguration->vrThreshold2.vrThreshold1_rpmBins, hardCodedvrThreshold1_rpmBins); +} + +static void coupleBK1cannedvrThreshold2_rpmBins() { + static const float hardCodedvrThreshold2_rpmBins[6] = {600.0, 1900.0, 3200.0, 4400.0, 5700.0, 7000.0}; + copyArray(engineConfiguration->vrThreshold2.vrThreshold2_rpmBins, hardCodedvrThreshold2_rpmBins); +} + +static void coupleBK1cannedmafDecodingBins() { + static const float hardCodedmafDecodingBins[32] = {0.0, 0.78125, 1.3867188, 2.9101562, 4.2578125, 4.9804688, 2016.0, 2017.0, 2018.0, 2019.0, 2020.0, 2021.0, 2022.0, 2023.0, 2024.0, 2025.0, 2026.0, 2027.0, 2028.0, 2029.0, 2030.0, 2031.0, 2032.0, 2033.0, 2034.0, 2035.0, 2036.0, 2037.0, 2038.0, 2039.0, 2040.0, 2041.0}; + copyArray(config->mafDecodingBins, hardCodedmafDecodingBins); +} + +static void coupleBK1cannedcltRevLimitRpmBins() { + static const float hardCodedcltRevLimitRpmBins[4] = {0.0, 0.0, 0.0, 0.0}; + copyArray(config->cltRevLimitRpmBins, hardCodedcltRevLimitRpmBins); +} + +static void coupleBK1cannedcltIdleCorrBins() { + static const float hardCodedcltIdleCorrBins[16] = {-40.45, -30.45, -20.45, -10.45, -0.45, 9.55, 19.55, 29.55, 39.55, 49.55, 59.55, 69.55, 79.55, 89.55, 99.55, 109.55}; + copyArray(config->cltIdleCorrBins, hardCodedcltIdleCorrBins); +} + +static void coupleBK1cannedcltIdleCorr() { + static const float hardCodedcltIdleCorr[16] = {1.05, 1.05, 0.8833, 0.8833, 0.8833, 0.8833, 0.8833, 0.8833, 0.8833, 0.7833, 0.7167, 0.65, 0.55, 0.55, 0.55, 0.55}; + copyArray(config->cltIdleCorr, hardCodedcltIdleCorr); +} + +static void coupleBK1cannedcltIdleRpm() { + static const float hardCodedcltIdleRpm[16] = {1260.0, 1260.0, 1200.0, 1100.0, 1060.0, 1000.0, 960.0, 900.0, 900.0, 860.0, 860.0, 840.0, 800.0, 800.0, 900.0, 1000.0}; + copyArray(config->cltIdleRpm, hardCodedcltIdleRpm); +} + +static void coupleBK1cannedidleAdvanceBins() { + static const float hardCodedidleAdvanceBins[8] = {500.0, 650.0, 800.0, 950.0, 1050.0, 1200.0, 1350.0, 1500.0}; + copyArray(config->idleAdvanceBins, hardCodedidleAdvanceBins); +} + +static void coupleBK1cannedidleAdvance() { + static const float hardCodedidleAdvance[8] = {10.0, 10.571428, 11.142858, 11.714286, 12.285714, 12.857142, 13.428572, 14.0}; + copyArray(config->idleAdvance, hardCodedidleAdvance); +} + +static void coupleBK1cannedfuelLevelBins() { + static const float hardCodedfuelLevelBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(config->fuelLevelBins, hardCodedfuelLevelBins); +} + +static void coupleBK1cannedignBlends1_blendBins() { + static const float hardCodedignBlends1_blendBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends1_blendBins, hardCodedignBlends1_blendBins); +} + +static void coupleBK1cannedignBlends1_blendValues() { + static const float hardCodedignBlends1_blendValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends1_blendValues, hardCodedignBlends1_blendValues); +} + +static void coupleBK1cannedignBlends2_blendBins() { + static const float hardCodedignBlends2_blendBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends2_blendBins, hardCodedignBlends2_blendBins); +} + +static void coupleBK1cannedignBlends2_blendValues() { + static const float hardCodedignBlends2_blendValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends2_blendValues, hardCodedignBlends2_blendValues); +} + +static void coupleBK1cannedignBlends3_blendBins() { + static const float hardCodedignBlends3_blendBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends3_blendBins, hardCodedignBlends3_blendBins); +} + +static void coupleBK1cannedignBlends3_blendValues() { + static const float hardCodedignBlends3_blendValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends3_blendValues, hardCodedignBlends3_blendValues); +} + +static void coupleBK1cannedignBlends4_blendBins() { + static const float hardCodedignBlends4_blendBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends4_blendBins, hardCodedignBlends4_blendBins); +} + +static void coupleBK1cannedignBlends4_blendValues() { + static const float hardCodedignBlends4_blendValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends4_blendValues, hardCodedignBlends4_blendValues); +} + +static void coupleBK1cannedveBlends1_blendBins() { + static const float hardCodedveBlends1_blendBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends1_blendBins, hardCodedveBlends1_blendBins); +} + +static void coupleBK1cannedveBlends1_blendValues() { + static const float hardCodedveBlends1_blendValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends1_blendValues, hardCodedveBlends1_blendValues); +} + +static void coupleBK1cannedveBlends2_blendBins() { + static const float hardCodedveBlends2_blendBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends2_blendBins, hardCodedveBlends2_blendBins); +} + +static void coupleBK1cannedveBlends2_blendValues() { + static const float hardCodedveBlends2_blendValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends2_blendValues, hardCodedveBlends2_blendValues); +} + +static void coupleBK1cannedveBlends3_blendBins() { + static const float hardCodedveBlends3_blendBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends3_blendBins, hardCodedveBlends3_blendBins); +} + +static void coupleBK1cannedveBlends3_blendValues() { + static const float hardCodedveBlends3_blendValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends3_blendValues, hardCodedveBlends3_blendValues); +} + +static void coupleBK1cannedveBlends4_blendBins() { + static const float hardCodedveBlends4_blendBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends4_blendBins, hardCodedveBlends4_blendBins); +} + +static void coupleBK1cannedveBlends4_blendValues() { + static const float hardCodedveBlends4_blendValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends4_blendValues, hardCodedveBlends4_blendValues); +} + +static void coupleBK1cannedboostRpmBins() { + static const float hardCodedboostRpmBins[8] = {0.0, 1100.0, 2300.0, 3400.0, 4600.0, 5700.0, 6900.0, 8000.0}; + copyArray(config->boostRpmBins, hardCodedboostRpmBins); +} + static void coupleBK1cannedboostTableOpenLoop() { static const float hardCodedboostTableOpenLoop[8][8] = { {25.000, 25.000, 25.000, 25.000, 25.000, 25.000, 25.000, 25.000, }, @@ -41,6 +196,11 @@ static void coupleBK1cannedvvtTable2() { copyTable(config->vvtTable2, hardCodedvvtTable2); } +static void coupleBK1cannedscriptTable4RpmBins() { + static const float hardCodedscriptTable4RpmBins[10] = {650.0, 800.0, 1700.0, 2600.0, 3500.0, 4400.0, 5300.0, 7000.0, 0.0, 0.0}; + copyArray(config->scriptTable4RpmBins, hardCodedscriptTable4RpmBins); +} + static void coupleBK1cannedscriptTable4() { static const float hardCodedscriptTable4[8][10] = { {0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, @@ -55,6 +215,16 @@ static void coupleBK1cannedscriptTable4() { copyTable(config->scriptTable4, hardCodedscriptTable4); } +static void coupleBK1cannedignitionRpmBins() { + static const float hardCodedignitionRpmBins[16] = {650.0, 800.0, 1100.0, 1500.0, 2000.0, 2500.0, 3000.0, 3500.0, 4000.0, 4500.0, 5000.0, 5500.0, 6000.0, 6500.0, 7000.0, 8000.0}; + copyArray(config->ignitionRpmBins, hardCodedignitionRpmBins); +} + +static void coupleBK1cannedignitionLoadBins() { + static const float hardCodedignitionLoadBins[16] = {30.0, 35.0, 45.0, 55.0, 60.0, 75.0, 90.0, 100.0, 125.0, 150.0, 175.0, 200.0, 225.0, 250.0, 275.0, 300.0}; + copyArray(config->ignitionLoadBins, hardCodedignitionLoadBins); +} + static void coupleBK1cannedignitionTable() { static const float hardCodedignitionTable[16][16] = { {12.100, 14.000, 17.800, 22.900, 29.300, 33.600, -20.000, -20.000, -20.000, -20.000, -20.000, -20.000, 42.000, 42.000, 42.000, 42.000, }, @@ -77,6 +247,111 @@ static void coupleBK1cannedignitionTable() { copyTable(config->ignitionTable, hardCodedignitionTable); } +static void coupleBK1cannedignBlends1_rpmBins() { + static const float hardCodedignBlends1_rpmBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends1_rpmBins, hardCodedignBlends1_rpmBins); +} + +static void coupleBK1cannedignBlends1_loadBins() { + static const float hardCodedignBlends1_loadBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends1_loadBins, hardCodedignBlends1_loadBins); +} + +static void coupleBK1cannedignBlends2_rpmBins() { + static const float hardCodedignBlends2_rpmBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends2_rpmBins, hardCodedignBlends2_rpmBins); +} + +static void coupleBK1cannedignBlends2_loadBins() { + static const float hardCodedignBlends2_loadBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends2_loadBins, hardCodedignBlends2_loadBins); +} + +static void coupleBK1cannedignBlends3_rpmBins() { + static const float hardCodedignBlends3_rpmBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends3_rpmBins, hardCodedignBlends3_rpmBins); +} + +static void coupleBK1cannedignBlends3_loadBins() { + static const float hardCodedignBlends3_loadBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends3_loadBins, hardCodedignBlends3_loadBins); +} + +static void coupleBK1cannedignBlends4_rpmBins() { + static const float hardCodedignBlends4_rpmBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends4_rpmBins, hardCodedignBlends4_rpmBins); +} + +static void coupleBK1cannedignBlends4_loadBins() { + static const float hardCodedignBlends4_loadBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends4_loadBins, hardCodedignBlends4_loadBins); +} + +static void coupleBK1cannedveBlends1_rpmBins() { + static const float hardCodedveBlends1_rpmBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends1_rpmBins, hardCodedveBlends1_rpmBins); +} + +static void coupleBK1cannedveBlends1_loadBins() { + static const float hardCodedveBlends1_loadBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends1_loadBins, hardCodedveBlends1_loadBins); +} + +static void coupleBK1cannedveBlends2_rpmBins() { + static const float hardCodedveBlends2_rpmBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends2_rpmBins, hardCodedveBlends2_rpmBins); +} + +static void coupleBK1cannedveBlends2_loadBins() { + static const float hardCodedveBlends2_loadBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends2_loadBins, hardCodedveBlends2_loadBins); +} + +static void coupleBK1cannedveBlends3_rpmBins() { + static const float hardCodedveBlends3_rpmBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends3_rpmBins, hardCodedveBlends3_rpmBins); +} + +static void coupleBK1cannedveBlends3_loadBins() { + static const float hardCodedveBlends3_loadBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends3_loadBins, hardCodedveBlends3_loadBins); +} + +static void coupleBK1cannedveBlends4_rpmBins() { + static const float hardCodedveBlends4_rpmBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends4_rpmBins, hardCodedveBlends4_rpmBins); +} + +static void coupleBK1cannedveBlends4_loadBins() { + static const float hardCodedveBlends4_loadBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends4_loadBins, hardCodedveBlends4_loadBins); +} + +static void coupleBK1cannedfuelTrimRpmBins() { + static const float hardCodedfuelTrimRpmBins[4] = {0.0, 0.0, 0.0, 0.0}; + copyArray(config->fuelTrimRpmBins, hardCodedfuelTrimRpmBins); +} + +static void coupleBK1cannedfuelTrimLoadBins() { + static const float hardCodedfuelTrimLoadBins[4] = {0.0, 0.0, 0.0, 0.0}; + copyArray(config->fuelTrimLoadBins, hardCodedfuelTrimLoadBins); +} + +static void coupleBK1cannedignTrimRpmBins() { + static const float hardCodedignTrimRpmBins[4] = {0.0, 0.0, 0.0, 0.0}; + copyArray(config->ignTrimRpmBins, hardCodedignTrimRpmBins); +} + +static void coupleBK1cannedignTrimLoadBins() { + static const float hardCodedignTrimLoadBins[4] = {0.0, 0.0, 0.0, 0.0}; + copyArray(config->ignTrimLoadBins, hardCodedignTrimLoadBins); +} + +static void coupleBK1cannedpedalToTpsRpmBins() { + static const float hardCodedpedalToTpsRpmBins[8] = {0.0, 1100.0, 2300.0, 3400.0, 4600.0, 5700.0, 6900.0, 8000.0}; + copyArray(config->pedalToTpsRpmBins, hardCodedpedalToTpsRpmBins); +} + static void coupleBK1cannedlambdaTable() { static const float hardCodedlambdaTable[16][16] = { {14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, }, @@ -111,6 +386,16 @@ static void coupleBK1cannedtcuSolenoidTable() { copyTable(config->tcuSolenoidTable, hardCodedtcuSolenoidTable); } +static void coupleBK1cannedhpfpTargetRpmBins() { + static const float hardCodedhpfpTargetRpmBins[10] = {0.0, 900.0, 1800.0, 2650.0, 3550.0, 4450.0, 5350.0, 6200.0, 7100.0, 8000.0}; + copyArray(config->hpfpTargetRpmBins, hardCodedhpfpTargetRpmBins); +} + +static void coupleBK1cannedhpfpCompensationRpmBins() { + static const float hardCodedhpfpCompensationRpmBins[10] = {0.0, 900.0, 1800.0, 2650.0, 3550.0, 4450.0, 5350.0, 6200.0, 7100.0, 8000.0}; + copyArray(config->hpfpCompensationRpmBins, hardCodedhpfpCompensationRpmBins); +} + static void coupleBK1cannedpostCrankingFactor() { static const float hardCodedpostCrankingFactor[6][6] = { {0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, diff --git a/generated/canned-tunes/COUPE-BK1-comparing-against-global-defaults.md b/generated/canned-tunes/COUPE-BK1-comparing-against-global-defaults.md index 72760f1..9fb8cbc 100644 --- a/generated/canned-tunes/COUPE-BK1-comparing-against-global-defaults.md +++ b/generated/canned-tunes/COUPE-BK1-comparing-against-global-defaults.md @@ -149,13 +149,70 @@ engineConfiguration->etb.dFactor = 0.0892407; + coupleBK1cannedprimeBins(); + coupleBK1cannedprimeValues(); + coupleBK1cannedmap_samplingAngleBins(); + coupleBK1cannedmap_samplingWindowBins(); + coupleBK1cannedvrThreshold1_rpmBins(); + coupleBK1cannedvrThreshold2_rpmBins(); + coupleBK1cannedmafDecodingBins(); + coupleBK1cannedcltRevLimitRpmBins(); + coupleBK1cannedcltIdleCorrBins(); + coupleBK1cannedcltIdleCorr(); + coupleBK1cannedcltIdleRpm(); + coupleBK1cannedidleAdvanceBins(); + coupleBK1cannedidleAdvance(); + coupleBK1cannedfuelLevelBins(); + coupleBK1cannedignBlends1_blendBins(); + coupleBK1cannedignBlends1_blendValues(); + coupleBK1cannedignBlends2_blendBins(); + coupleBK1cannedignBlends2_blendValues(); + coupleBK1cannedignBlends3_blendBins(); + coupleBK1cannedignBlends3_blendValues(); + coupleBK1cannedignBlends4_blendBins(); + coupleBK1cannedignBlends4_blendValues(); + coupleBK1cannedveBlends1_blendBins(); + coupleBK1cannedveBlends1_blendValues(); + coupleBK1cannedveBlends2_blendBins(); + coupleBK1cannedveBlends2_blendValues(); + coupleBK1cannedveBlends3_blendBins(); + coupleBK1cannedveBlends3_blendValues(); + coupleBK1cannedveBlends4_blendBins(); + coupleBK1cannedveBlends4_blendValues(); + coupleBK1cannedboostRpmBins(); coupleBK1cannedboostTableOpenLoop(); coupleBK1cannedvvtTable1(); coupleBK1cannedvvtTable2(); + coupleBK1cannedscriptTable4RpmBins(); coupleBK1cannedscriptTable4(); + coupleBK1cannedignitionRpmBins(); + coupleBK1cannedignitionLoadBins(); coupleBK1cannedignitionTable(); + coupleBK1cannedignBlends1_rpmBins(); + coupleBK1cannedignBlends1_loadBins(); + coupleBK1cannedignBlends2_rpmBins(); + coupleBK1cannedignBlends2_loadBins(); + coupleBK1cannedignBlends3_rpmBins(); + coupleBK1cannedignBlends3_loadBins(); + coupleBK1cannedignBlends4_rpmBins(); + coupleBK1cannedignBlends4_loadBins(); + coupleBK1cannedveBlends1_rpmBins(); + coupleBK1cannedveBlends1_loadBins(); + coupleBK1cannedveBlends2_rpmBins(); + coupleBK1cannedveBlends2_loadBins(); + coupleBK1cannedveBlends3_rpmBins(); + coupleBK1cannedveBlends3_loadBins(); + coupleBK1cannedveBlends4_rpmBins(); + coupleBK1cannedveBlends4_loadBins(); coupleBK1cannedveTable(); + coupleBK1cannedfuelTrimRpmBins(); + coupleBK1cannedfuelTrimLoadBins(); + coupleBK1cannedignTrimRpmBins(); + coupleBK1cannedignTrimLoadBins(); + coupleBK1cannedpedalToTpsRpmBins(); coupleBK1cannedlambdaTable(); coupleBK1cannedtcuSolenoidTable(); + coupleBK1cannedhpfpTargetRpmBins(); + coupleBK1cannedhpfpCompensationRpmBins(); coupleBK1cannedpostCrankingFactor(); ``` diff --git a/generated/canned-tunes/COUPE-BK1-comparing-against-global-defaults_methods.md b/generated/canned-tunes/COUPE-BK1-comparing-against-global-defaults_methods.md index 61073b0..5d55de6 100644 --- a/generated/canned-tunes/COUPE-BK1-comparing-against-global-defaults_methods.md +++ b/generated/canned-tunes/COUPE-BK1-comparing-against-global-defaults_methods.md @@ -1,4 +1,159 @@ ``` +static void coupleBK1cannedprimeBins() { + static const float hardCodedprimeBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->primeBins, hardCodedprimeBins); +} + +static void coupleBK1cannedprimeValues() { + static const float hardCodedprimeValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->primeValues, hardCodedprimeValues); +} + +static void coupleBK1cannedmap_samplingAngleBins() { + static const float hardCodedmap_samplingAngleBins[8] = {800.0, 1686.0, 2571.0, 3457.0, 4343.0, 5229.0, 6114.0, 7000.0}; + copyArray(engineConfiguration->map.map_samplingAngleBins, hardCodedmap_samplingAngleBins); +} + +static void coupleBK1cannedmap_samplingWindowBins() { + static const float hardCodedmap_samplingWindowBins[8] = {800.0, 1686.0, 2571.0, 3457.0, 4343.0, 5229.0, 6114.0, 7000.0}; + copyArray(engineConfiguration->map.map_samplingWindowBins, hardCodedmap_samplingWindowBins); +} + +static void coupleBK1cannedvrThreshold1_rpmBins() { + static const float hardCodedvrThreshold1_rpmBins[6] = {600.0, 1900.0, 3200.0, 4400.0, 5700.0, 7000.0}; + copyArray(engineConfiguration->vrThreshold2.vrThreshold1_rpmBins, hardCodedvrThreshold1_rpmBins); +} + +static void coupleBK1cannedvrThreshold2_rpmBins() { + static const float hardCodedvrThreshold2_rpmBins[6] = {600.0, 1900.0, 3200.0, 4400.0, 5700.0, 7000.0}; + copyArray(engineConfiguration->vrThreshold2.vrThreshold2_rpmBins, hardCodedvrThreshold2_rpmBins); +} + +static void coupleBK1cannedmafDecodingBins() { + static const float hardCodedmafDecodingBins[32] = {0.0, 0.78125, 1.3867188, 2.9101562, 4.2578125, 4.9804688, 2016.0, 2017.0, 2018.0, 2019.0, 2020.0, 2021.0, 2022.0, 2023.0, 2024.0, 2025.0, 2026.0, 2027.0, 2028.0, 2029.0, 2030.0, 2031.0, 2032.0, 2033.0, 2034.0, 2035.0, 2036.0, 2037.0, 2038.0, 2039.0, 2040.0, 2041.0}; + copyArray(config->mafDecodingBins, hardCodedmafDecodingBins); +} + +static void coupleBK1cannedcltRevLimitRpmBins() { + static const float hardCodedcltRevLimitRpmBins[4] = {0.0, 0.0, 0.0, 0.0}; + copyArray(config->cltRevLimitRpmBins, hardCodedcltRevLimitRpmBins); +} + +static void coupleBK1cannedcltIdleCorrBins() { + static const float hardCodedcltIdleCorrBins[16] = {-40.45, -30.45, -20.45, -10.45, -0.45, 9.55, 19.55, 29.55, 39.55, 49.55, 59.55, 69.55, 79.55, 89.55, 99.55, 109.55}; + copyArray(config->cltIdleCorrBins, hardCodedcltIdleCorrBins); +} + +static void coupleBK1cannedcltIdleCorr() { + static const float hardCodedcltIdleCorr[16] = {1.05, 1.05, 0.8833, 0.8833, 0.8833, 0.8833, 0.8833, 0.8833, 0.8833, 0.7833, 0.7167, 0.65, 0.55, 0.55, 0.55, 0.55}; + copyArray(config->cltIdleCorr, hardCodedcltIdleCorr); +} + +static void coupleBK1cannedcltIdleRpm() { + static const float hardCodedcltIdleRpm[16] = {1260.0, 1260.0, 1200.0, 1100.0, 1060.0, 1000.0, 960.0, 900.0, 900.0, 860.0, 860.0, 840.0, 800.0, 800.0, 900.0, 1000.0}; + copyArray(config->cltIdleRpm, hardCodedcltIdleRpm); +} + +static void coupleBK1cannedidleAdvanceBins() { + static const float hardCodedidleAdvanceBins[8] = {500.0, 650.0, 800.0, 950.0, 1050.0, 1200.0, 1350.0, 1500.0}; + copyArray(config->idleAdvanceBins, hardCodedidleAdvanceBins); +} + +static void coupleBK1cannedidleAdvance() { + static const float hardCodedidleAdvance[8] = {10.0, 10.571428, 11.142858, 11.714286, 12.285714, 12.857142, 13.428572, 14.0}; + copyArray(config->idleAdvance, hardCodedidleAdvance); +} + +static void coupleBK1cannedfuelLevelBins() { + static const float hardCodedfuelLevelBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(config->fuelLevelBins, hardCodedfuelLevelBins); +} + +static void coupleBK1cannedignBlends1_blendBins() { + static const float hardCodedignBlends1_blendBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends1_blendBins, hardCodedignBlends1_blendBins); +} + +static void coupleBK1cannedignBlends1_blendValues() { + static const float hardCodedignBlends1_blendValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends1_blendValues, hardCodedignBlends1_blendValues); +} + +static void coupleBK1cannedignBlends2_blendBins() { + static const float hardCodedignBlends2_blendBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends2_blendBins, hardCodedignBlends2_blendBins); +} + +static void coupleBK1cannedignBlends2_blendValues() { + static const float hardCodedignBlends2_blendValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends2_blendValues, hardCodedignBlends2_blendValues); +} + +static void coupleBK1cannedignBlends3_blendBins() { + static const float hardCodedignBlends3_blendBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends3_blendBins, hardCodedignBlends3_blendBins); +} + +static void coupleBK1cannedignBlends3_blendValues() { + static const float hardCodedignBlends3_blendValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends3_blendValues, hardCodedignBlends3_blendValues); +} + +static void coupleBK1cannedignBlends4_blendBins() { + static const float hardCodedignBlends4_blendBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends4_blendBins, hardCodedignBlends4_blendBins); +} + +static void coupleBK1cannedignBlends4_blendValues() { + static const float hardCodedignBlends4_blendValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends4_blendValues, hardCodedignBlends4_blendValues); +} + +static void coupleBK1cannedveBlends1_blendBins() { + static const float hardCodedveBlends1_blendBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends1_blendBins, hardCodedveBlends1_blendBins); +} + +static void coupleBK1cannedveBlends1_blendValues() { + static const float hardCodedveBlends1_blendValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends1_blendValues, hardCodedveBlends1_blendValues); +} + +static void coupleBK1cannedveBlends2_blendBins() { + static const float hardCodedveBlends2_blendBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends2_blendBins, hardCodedveBlends2_blendBins); +} + +static void coupleBK1cannedveBlends2_blendValues() { + static const float hardCodedveBlends2_blendValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends2_blendValues, hardCodedveBlends2_blendValues); +} + +static void coupleBK1cannedveBlends3_blendBins() { + static const float hardCodedveBlends3_blendBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends3_blendBins, hardCodedveBlends3_blendBins); +} + +static void coupleBK1cannedveBlends3_blendValues() { + static const float hardCodedveBlends3_blendValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends3_blendValues, hardCodedveBlends3_blendValues); +} + +static void coupleBK1cannedveBlends4_blendBins() { + static const float hardCodedveBlends4_blendBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends4_blendBins, hardCodedveBlends4_blendBins); +} + +static void coupleBK1cannedveBlends4_blendValues() { + static const float hardCodedveBlends4_blendValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends4_blendValues, hardCodedveBlends4_blendValues); +} + +static void coupleBK1cannedboostRpmBins() { + static const float hardCodedboostRpmBins[8] = {0.0, 1100.0, 2300.0, 3400.0, 4600.0, 5700.0, 6900.0, 8000.0}; + copyArray(config->boostRpmBins, hardCodedboostRpmBins); +} + static void coupleBK1cannedboostTableOpenLoop() { static const float hardCodedboostTableOpenLoop[8][8] = { {25.000, 25.000, 25.000, 25.000, 25.000, 25.000, 25.000, 25.000, }, @@ -41,6 +196,11 @@ static void coupleBK1cannedvvtTable2() { copyTable(config->vvtTable2, hardCodedvvtTable2); } +static void coupleBK1cannedscriptTable4RpmBins() { + static const float hardCodedscriptTable4RpmBins[10] = {650.0, 800.0, 1700.0, 2600.0, 3500.0, 4400.0, 5300.0, 7000.0, 0.0, 0.0}; + copyArray(config->scriptTable4RpmBins, hardCodedscriptTable4RpmBins); +} + static void coupleBK1cannedscriptTable4() { static const float hardCodedscriptTable4[8][10] = { {0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, @@ -55,6 +215,16 @@ static void coupleBK1cannedscriptTable4() { copyTable(config->scriptTable4, hardCodedscriptTable4); } +static void coupleBK1cannedignitionRpmBins() { + static const float hardCodedignitionRpmBins[16] = {650.0, 800.0, 1100.0, 1500.0, 2000.0, 2500.0, 3000.0, 3500.0, 4000.0, 4500.0, 5000.0, 5500.0, 6000.0, 6500.0, 7000.0, 8000.0}; + copyArray(config->ignitionRpmBins, hardCodedignitionRpmBins); +} + +static void coupleBK1cannedignitionLoadBins() { + static const float hardCodedignitionLoadBins[16] = {30.0, 35.0, 45.0, 55.0, 60.0, 75.0, 90.0, 100.0, 125.0, 150.0, 175.0, 200.0, 225.0, 250.0, 275.0, 300.0}; + copyArray(config->ignitionLoadBins, hardCodedignitionLoadBins); +} + static void coupleBK1cannedignitionTable() { static const float hardCodedignitionTable[16][16] = { {12.100, 14.000, 17.800, 22.900, 29.300, 33.600, -20.000, -20.000, -20.000, -20.000, -20.000, -20.000, 42.000, 42.000, 42.000, 42.000, }, @@ -77,6 +247,86 @@ static void coupleBK1cannedignitionTable() { copyTable(config->ignitionTable, hardCodedignitionTable); } +static void coupleBK1cannedignBlends1_rpmBins() { + static const float hardCodedignBlends1_rpmBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends1_rpmBins, hardCodedignBlends1_rpmBins); +} + +static void coupleBK1cannedignBlends1_loadBins() { + static const float hardCodedignBlends1_loadBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends1_loadBins, hardCodedignBlends1_loadBins); +} + +static void coupleBK1cannedignBlends2_rpmBins() { + static const float hardCodedignBlends2_rpmBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends2_rpmBins, hardCodedignBlends2_rpmBins); +} + +static void coupleBK1cannedignBlends2_loadBins() { + static const float hardCodedignBlends2_loadBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends2_loadBins, hardCodedignBlends2_loadBins); +} + +static void coupleBK1cannedignBlends3_rpmBins() { + static const float hardCodedignBlends3_rpmBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends3_rpmBins, hardCodedignBlends3_rpmBins); +} + +static void coupleBK1cannedignBlends3_loadBins() { + static const float hardCodedignBlends3_loadBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends3_loadBins, hardCodedignBlends3_loadBins); +} + +static void coupleBK1cannedignBlends4_rpmBins() { + static const float hardCodedignBlends4_rpmBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends4_rpmBins, hardCodedignBlends4_rpmBins); +} + +static void coupleBK1cannedignBlends4_loadBins() { + static const float hardCodedignBlends4_loadBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends4_loadBins, hardCodedignBlends4_loadBins); +} + +static void coupleBK1cannedveBlends1_rpmBins() { + static const float hardCodedveBlends1_rpmBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends1_rpmBins, hardCodedveBlends1_rpmBins); +} + +static void coupleBK1cannedveBlends1_loadBins() { + static const float hardCodedveBlends1_loadBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends1_loadBins, hardCodedveBlends1_loadBins); +} + +static void coupleBK1cannedveBlends2_rpmBins() { + static const float hardCodedveBlends2_rpmBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends2_rpmBins, hardCodedveBlends2_rpmBins); +} + +static void coupleBK1cannedveBlends2_loadBins() { + static const float hardCodedveBlends2_loadBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends2_loadBins, hardCodedveBlends2_loadBins); +} + +static void coupleBK1cannedveBlends3_rpmBins() { + static const float hardCodedveBlends3_rpmBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends3_rpmBins, hardCodedveBlends3_rpmBins); +} + +static void coupleBK1cannedveBlends3_loadBins() { + static const float hardCodedveBlends3_loadBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends3_loadBins, hardCodedveBlends3_loadBins); +} + +static void coupleBK1cannedveBlends4_rpmBins() { + static const float hardCodedveBlends4_rpmBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends4_rpmBins, hardCodedveBlends4_rpmBins); +} + +static void coupleBK1cannedveBlends4_loadBins() { + static const float hardCodedveBlends4_loadBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends4_loadBins, hardCodedveBlends4_loadBins); +} + static void coupleBK1cannedveTable() { static const float hardCodedveTable[16][16] = { {52.000, 54.000, 54.000, 56.000, 61.000, 55.000, 55.000, 65.000, 65.000, 60.000, 60.000, 60.000, 60.000, 60.000, 60.000, 60.000, }, @@ -99,6 +349,31 @@ static void coupleBK1cannedveTable() { copyTable(config->veTable, hardCodedveTable); } +static void coupleBK1cannedfuelTrimRpmBins() { + static const float hardCodedfuelTrimRpmBins[4] = {0.0, 0.0, 0.0, 0.0}; + copyArray(config->fuelTrimRpmBins, hardCodedfuelTrimRpmBins); +} + +static void coupleBK1cannedfuelTrimLoadBins() { + static const float hardCodedfuelTrimLoadBins[4] = {0.0, 0.0, 0.0, 0.0}; + copyArray(config->fuelTrimLoadBins, hardCodedfuelTrimLoadBins); +} + +static void coupleBK1cannedignTrimRpmBins() { + static const float hardCodedignTrimRpmBins[4] = {0.0, 0.0, 0.0, 0.0}; + copyArray(config->ignTrimRpmBins, hardCodedignTrimRpmBins); +} + +static void coupleBK1cannedignTrimLoadBins() { + static const float hardCodedignTrimLoadBins[4] = {0.0, 0.0, 0.0, 0.0}; + copyArray(config->ignTrimLoadBins, hardCodedignTrimLoadBins); +} + +static void coupleBK1cannedpedalToTpsRpmBins() { + static const float hardCodedpedalToTpsRpmBins[8] = {0.0, 1100.0, 2300.0, 3400.0, 4600.0, 5700.0, 6900.0, 8000.0}; + copyArray(config->pedalToTpsRpmBins, hardCodedpedalToTpsRpmBins); +} + static void coupleBK1cannedlambdaTable() { static const float hardCodedlambdaTable[16][16] = { {14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, }, @@ -133,6 +408,16 @@ static void coupleBK1cannedtcuSolenoidTable() { copyTable(config->tcuSolenoidTable, hardCodedtcuSolenoidTable); } +static void coupleBK1cannedhpfpTargetRpmBins() { + static const float hardCodedhpfpTargetRpmBins[10] = {0.0, 900.0, 1800.0, 2650.0, 3550.0, 4450.0, 5350.0, 6200.0, 7100.0, 8000.0}; + copyArray(config->hpfpTargetRpmBins, hardCodedhpfpTargetRpmBins); +} + +static void coupleBK1cannedhpfpCompensationRpmBins() { + static const float hardCodedhpfpCompensationRpmBins[10] = {0.0, 900.0, 1800.0, 2650.0, 3550.0, 4450.0, 5350.0, 6200.0, 7100.0, 8000.0}; + copyArray(config->hpfpCompensationRpmBins, hardCodedhpfpCompensationRpmBins); +} + static void coupleBK1cannedpostCrankingFactor() { static const float hardCodedpostCrankingFactor[6][6] = { {0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, diff --git a/generated/canned-tunes/COUPE-BK2-comparing-against-current-COUPE-BK2-default.md b/generated/canned-tunes/COUPE-BK2-comparing-against-current-COUPE-BK2-default.md index 580e8b5..cc99e9c 100644 --- a/generated/canned-tunes/COUPE-BK2-comparing-against-current-COUPE-BK2-default.md +++ b/generated/canned-tunes/COUPE-BK2-comparing-against-current-COUPE-BK2-default.md @@ -49,11 +49,72 @@ engineConfiguration->boostControlMinMap = 0; + coupleBK2cannedtpsTspCorrValuesBins(); + coupleBK2cannedtpsTspCorrValues(); + coupleBK2cannedprimeBins(); + coupleBK2cannedprimeValues(); + coupleBK2cannedmap_samplingAngleBins(); + coupleBK2cannedmap_samplingWindowBins(); + coupleBK2cannedvrThreshold1_rpmBins(); + coupleBK2cannedvrThreshold2_rpmBins(); + coupleBK2cannedmafDecodingBins(); + coupleBK2cannedcltRevLimitRpmBins(); + coupleBK2cannedcltIdleCorrBins(); + coupleBK2cannedcltIdleCorr(); + coupleBK2cannedcltCrankingCorr(); + coupleBK2cannedcltIdleRpm(); + coupleBK2cannedidleAdvanceBins(); + coupleBK2cannedidleAdvance(); + coupleBK2cannedignBlends1_blendBins(); + coupleBK2cannedignBlends1_blendValues(); + coupleBK2cannedignBlends2_blendBins(); + coupleBK2cannedignBlends2_blendValues(); + coupleBK2cannedignBlends3_blendBins(); + coupleBK2cannedignBlends3_blendValues(); + coupleBK2cannedignBlends4_blendBins(); + coupleBK2cannedignBlends4_blendValues(); + coupleBK2cannedveBlends1_blendBins(); + coupleBK2cannedveBlends1_blendValues(); + coupleBK2cannedveBlends2_blendBins(); + coupleBK2cannedveBlends2_blendValues(); + coupleBK2cannedveBlends3_blendBins(); + coupleBK2cannedveBlends3_blendValues(); + coupleBK2cannedveBlends4_blendBins(); + coupleBK2cannedveBlends4_blendValues(); coupleBK2cannedtpsTpsAccelTable(); + coupleBK2cannedboostRpmBins(); coupleBK2cannedboostTableOpenLoop(); + coupleBK2cannedscriptTable4RpmBins(); coupleBK2cannedscriptTable4(); + coupleBK2cannedignitionRpmBins(); + coupleBK2cannedignitionLoadBins(); + coupleBK2cannedignBlends1_rpmBins(); + coupleBK2cannedignBlends1_loadBins(); + coupleBK2cannedignBlends2_rpmBins(); + coupleBK2cannedignBlends2_loadBins(); + coupleBK2cannedignBlends3_rpmBins(); + coupleBK2cannedignBlends3_loadBins(); + coupleBK2cannedignBlends4_rpmBins(); + coupleBK2cannedignBlends4_loadBins(); + coupleBK2cannedveBlends1_rpmBins(); + coupleBK2cannedveBlends1_loadBins(); + coupleBK2cannedveBlends2_rpmBins(); + coupleBK2cannedveBlends2_loadBins(); + coupleBK2cannedveBlends3_rpmBins(); + coupleBK2cannedveBlends3_loadBins(); + coupleBK2cannedveBlends4_rpmBins(); + coupleBK2cannedveBlends4_loadBins(); + coupleBK2cannedveRpmBins(); + coupleBK2cannedveLoadBins(); + coupleBK2cannedfuelTrimRpmBins(); + coupleBK2cannedfuelTrimLoadBins(); + coupleBK2cannedignTrimRpmBins(); + coupleBK2cannedignTrimLoadBins(); + coupleBK2cannedpedalToTpsRpmBins(); coupleBK2cannedpedalToTpsTable(); coupleBK2cannedlambdaTable(); coupleBK2cannedtcuSolenoidTable(); + coupleBK2cannedhpfpTargetRpmBins(); + coupleBK2cannedhpfpCompensationRpmBins(); coupleBK2cannedpostCrankingFactor(); ``` diff --git a/generated/canned-tunes/COUPE-BK2-comparing-against-current-COUPE-BK2-default_methods.md b/generated/canned-tunes/COUPE-BK2-comparing-against-current-COUPE-BK2-default_methods.md index c159f02..9b3f679 100644 --- a/generated/canned-tunes/COUPE-BK2-comparing-against-current-COUPE-BK2-default_methods.md +++ b/generated/canned-tunes/COUPE-BK2-comparing-against-current-COUPE-BK2-default_methods.md @@ -1,4 +1,164 @@ ``` +static void coupleBK2cannedtpsTspCorrValuesBins() { + static const float hardCodedtpsTspCorrValuesBins[4] = {1000.0, 3000.0, 5000.0, 7000.0}; + copyArray(config->tpsTspCorrValuesBins, hardCodedtpsTspCorrValuesBins); +} + +static void coupleBK2cannedtpsTspCorrValues() { + static const float hardCodedtpsTspCorrValues[4] = {1.0, 0.7, 0.3, 0.1}; + copyArray(config->tpsTspCorrValues, hardCodedtpsTspCorrValues); +} + +static void coupleBK2cannedprimeBins() { + static const float hardCodedprimeBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->primeBins, hardCodedprimeBins); +} + +static void coupleBK2cannedprimeValues() { + static const float hardCodedprimeValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->primeValues, hardCodedprimeValues); +} + +static void coupleBK2cannedmap_samplingAngleBins() { + static const float hardCodedmap_samplingAngleBins[8] = {800.0, 1686.0, 2571.0, 3457.0, 4343.0, 5229.0, 6114.0, 7000.0}; + copyArray(engineConfiguration->map.map_samplingAngleBins, hardCodedmap_samplingAngleBins); +} + +static void coupleBK2cannedmap_samplingWindowBins() { + static const float hardCodedmap_samplingWindowBins[8] = {800.0, 1686.0, 2571.0, 3457.0, 4343.0, 5229.0, 6114.0, 7000.0}; + copyArray(engineConfiguration->map.map_samplingWindowBins, hardCodedmap_samplingWindowBins); +} + +static void coupleBK2cannedvrThreshold1_rpmBins() { + static const float hardCodedvrThreshold1_rpmBins[6] = {600.0, 1900.0, 3200.0, 4400.0, 5700.0, 7000.0}; + copyArray(engineConfiguration->vrThreshold2.vrThreshold1_rpmBins, hardCodedvrThreshold1_rpmBins); +} + +static void coupleBK2cannedvrThreshold2_rpmBins() { + static const float hardCodedvrThreshold2_rpmBins[6] = {600.0, 1900.0, 3200.0, 4400.0, 5700.0, 7000.0}; + copyArray(engineConfiguration->vrThreshold2.vrThreshold2_rpmBins, hardCodedvrThreshold2_rpmBins); +} + +static void coupleBK2cannedmafDecodingBins() { + static const float hardCodedmafDecodingBins[32] = {0.0, 0.78125, 1.3867188, 2.9101562, 4.2578125, 4.9804688, 2016.0, 2017.0, 2018.0, 2019.0, 2020.0, 2021.0, 2022.0, 2023.0, 2024.0, 2025.0, 2026.0, 2027.0, 2028.0, 2029.0, 2030.0, 2031.0, 2032.0, 2033.0, 2034.0, 2035.0, 2036.0, 2037.0, 2038.0, 2039.0, 2040.0, 2041.0}; + copyArray(config->mafDecodingBins, hardCodedmafDecodingBins); +} + +static void coupleBK2cannedcltRevLimitRpmBins() { + static const float hardCodedcltRevLimitRpmBins[4] = {0.0, 0.0, 0.0, 0.0}; + copyArray(config->cltRevLimitRpmBins, hardCodedcltRevLimitRpmBins); +} + +static void coupleBK2cannedcltIdleCorrBins() { + static const float hardCodedcltIdleCorrBins[16] = {-40.13, -30.13, -20.13, -10.13, -0.13, 9.87, 19.87, 29.87, 39.87, 49.87, 59.87, 69.87, 79.87, 89.87, 99.87, 109.87}; + copyArray(config->cltIdleCorrBins, hardCodedcltIdleCorrBins); +} + +static void coupleBK2cannedcltIdleCorr() { + static const float hardCodedcltIdleCorr[16] = {0.87, 0.87, 0.7033, 0.7033, 0.7033, 0.7033, 0.7033, 0.7033, 0.7033, 0.6033, 0.5367, 0.5, 0.5, 0.5, 0.5, 0.6}; + copyArray(config->cltIdleCorr, hardCodedcltIdleCorr); +} + +static void coupleBK2cannedcltCrankingCorr() { + static const float hardCodedcltCrankingCorr[8] = {0.8, 0.8, 0.8, 0.8, 0.7, 0.64, 0.6, 0.6}; + copyArray(config->cltCrankingCorr, hardCodedcltCrankingCorr); +} + +static void coupleBK2cannedcltIdleRpm() { + static const float hardCodedcltIdleRpm[16] = {1360.0, 1360.0, 1300.0, 1200.0, 1160.0, 1100.0, 1060.0, 1000.0, 1000.0, 960.0, 960.0, 940.0, 900.0, 800.0, 860.0, 1100.0}; + copyArray(config->cltIdleRpm, hardCodedcltIdleRpm); +} + +static void coupleBK2cannedidleAdvanceBins() { + static const float hardCodedidleAdvanceBins[8] = {500.0, 650.0, 800.0, 950.0, 1050.0, 1200.0, 1350.0, 1500.0}; + copyArray(config->idleAdvanceBins, hardCodedidleAdvanceBins); +} + +static void coupleBK2cannedidleAdvance() { + static const float hardCodedidleAdvance[8] = {10.0, 10.285714, 10.571428, 10.857142, 11.142858, 11.428572, 11.714286, 12.0}; + copyArray(config->idleAdvance, hardCodedidleAdvance); +} + +static void coupleBK2cannedignBlends1_blendBins() { + static const float hardCodedignBlends1_blendBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends1_blendBins, hardCodedignBlends1_blendBins); +} + +static void coupleBK2cannedignBlends1_blendValues() { + static const float hardCodedignBlends1_blendValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends1_blendValues, hardCodedignBlends1_blendValues); +} + +static void coupleBK2cannedignBlends2_blendBins() { + static const float hardCodedignBlends2_blendBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends2_blendBins, hardCodedignBlends2_blendBins); +} + +static void coupleBK2cannedignBlends2_blendValues() { + static const float hardCodedignBlends2_blendValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends2_blendValues, hardCodedignBlends2_blendValues); +} + +static void coupleBK2cannedignBlends3_blendBins() { + static const float hardCodedignBlends3_blendBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends3_blendBins, hardCodedignBlends3_blendBins); +} + +static void coupleBK2cannedignBlends3_blendValues() { + static const float hardCodedignBlends3_blendValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends3_blendValues, hardCodedignBlends3_blendValues); +} + +static void coupleBK2cannedignBlends4_blendBins() { + static const float hardCodedignBlends4_blendBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends4_blendBins, hardCodedignBlends4_blendBins); +} + +static void coupleBK2cannedignBlends4_blendValues() { + static const float hardCodedignBlends4_blendValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends4_blendValues, hardCodedignBlends4_blendValues); +} + +static void coupleBK2cannedveBlends1_blendBins() { + static const float hardCodedveBlends1_blendBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends1_blendBins, hardCodedveBlends1_blendBins); +} + +static void coupleBK2cannedveBlends1_blendValues() { + static const float hardCodedveBlends1_blendValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends1_blendValues, hardCodedveBlends1_blendValues); +} + +static void coupleBK2cannedveBlends2_blendBins() { + static const float hardCodedveBlends2_blendBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends2_blendBins, hardCodedveBlends2_blendBins); +} + +static void coupleBK2cannedveBlends2_blendValues() { + static const float hardCodedveBlends2_blendValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends2_blendValues, hardCodedveBlends2_blendValues); +} + +static void coupleBK2cannedveBlends3_blendBins() { + static const float hardCodedveBlends3_blendBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends3_blendBins, hardCodedveBlends3_blendBins); +} + +static void coupleBK2cannedveBlends3_blendValues() { + static const float hardCodedveBlends3_blendValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends3_blendValues, hardCodedveBlends3_blendValues); +} + +static void coupleBK2cannedveBlends4_blendBins() { + static const float hardCodedveBlends4_blendBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends4_blendBins, hardCodedveBlends4_blendBins); +} + +static void coupleBK2cannedveBlends4_blendValues() { + static const float hardCodedveBlends4_blendValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends4_blendValues, hardCodedveBlends4_blendValues); +} + static void coupleBK2cannedtpsTpsAccelTable() { static const float hardCodedtpsTpsAccelTable[8][8] = { {0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, @@ -13,6 +173,11 @@ static void coupleBK2cannedtpsTpsAccelTable() { copyTable(config->tpsTpsAccelTable, hardCodedtpsTpsAccelTable); } +static void coupleBK2cannedboostRpmBins() { + static const float hardCodedboostRpmBins[8] = {0.0, 1100.0, 2300.0, 3400.0, 4600.0, 5700.0, 6900.0, 8000.0}; + copyArray(config->boostRpmBins, hardCodedboostRpmBins); +} + static void coupleBK2cannedboostTableOpenLoop() { static const float hardCodedboostTableOpenLoop[8][8] = { {0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, @@ -27,6 +192,11 @@ static void coupleBK2cannedboostTableOpenLoop() { copyTable(config->boostTableOpenLoop, hardCodedboostTableOpenLoop); } +static void coupleBK2cannedscriptTable4RpmBins() { + static const float hardCodedscriptTable4RpmBins[10] = {650.0, 800.0, 1700.0, 2600.0, 3500.0, 4400.0, 5300.0, 7000.0, 0.0, 0.0}; + copyArray(config->scriptTable4RpmBins, hardCodedscriptTable4RpmBins); +} + static void coupleBK2cannedscriptTable4() { static const float hardCodedscriptTable4[8][10] = { {0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, @@ -41,6 +211,131 @@ static void coupleBK2cannedscriptTable4() { copyTable(config->scriptTable4, hardCodedscriptTable4); } +static void coupleBK2cannedignitionRpmBins() { + static const float hardCodedignitionRpmBins[16] = {650.0, 800.0, 1100.0, 1500.0, 2000.0, 2500.0, 3000.0, 3500.0, 4000.0, 4500.0, 5000.0, 5500.0, 6000.0, 6500.0, 7000.0, 8000.0}; + copyArray(config->ignitionRpmBins, hardCodedignitionRpmBins); +} + +static void coupleBK2cannedignitionLoadBins() { + static const float hardCodedignitionLoadBins[16] = {30.0, 35.0, 45.0, 55.0, 60.0, 75.0, 90.0, 100.0, 125.0, 150.0, 175.0, 200.0, 225.0, 250.0, 275.0, 300.0}; + copyArray(config->ignitionLoadBins, hardCodedignitionLoadBins); +} + +static void coupleBK2cannedignBlends1_rpmBins() { + static const float hardCodedignBlends1_rpmBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends1_rpmBins, hardCodedignBlends1_rpmBins); +} + +static void coupleBK2cannedignBlends1_loadBins() { + static const float hardCodedignBlends1_loadBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends1_loadBins, hardCodedignBlends1_loadBins); +} + +static void coupleBK2cannedignBlends2_rpmBins() { + static const float hardCodedignBlends2_rpmBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends2_rpmBins, hardCodedignBlends2_rpmBins); +} + +static void coupleBK2cannedignBlends2_loadBins() { + static const float hardCodedignBlends2_loadBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends2_loadBins, hardCodedignBlends2_loadBins); +} + +static void coupleBK2cannedignBlends3_rpmBins() { + static const float hardCodedignBlends3_rpmBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends3_rpmBins, hardCodedignBlends3_rpmBins); +} + +static void coupleBK2cannedignBlends3_loadBins() { + static const float hardCodedignBlends3_loadBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends3_loadBins, hardCodedignBlends3_loadBins); +} + +static void coupleBK2cannedignBlends4_rpmBins() { + static const float hardCodedignBlends4_rpmBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends4_rpmBins, hardCodedignBlends4_rpmBins); +} + +static void coupleBK2cannedignBlends4_loadBins() { + static const float hardCodedignBlends4_loadBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends4_loadBins, hardCodedignBlends4_loadBins); +} + +static void coupleBK2cannedveBlends1_rpmBins() { + static const float hardCodedveBlends1_rpmBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends1_rpmBins, hardCodedveBlends1_rpmBins); +} + +static void coupleBK2cannedveBlends1_loadBins() { + static const float hardCodedveBlends1_loadBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends1_loadBins, hardCodedveBlends1_loadBins); +} + +static void coupleBK2cannedveBlends2_rpmBins() { + static const float hardCodedveBlends2_rpmBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends2_rpmBins, hardCodedveBlends2_rpmBins); +} + +static void coupleBK2cannedveBlends2_loadBins() { + static const float hardCodedveBlends2_loadBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends2_loadBins, hardCodedveBlends2_loadBins); +} + +static void coupleBK2cannedveBlends3_rpmBins() { + static const float hardCodedveBlends3_rpmBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends3_rpmBins, hardCodedveBlends3_rpmBins); +} + +static void coupleBK2cannedveBlends3_loadBins() { + static const float hardCodedveBlends3_loadBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends3_loadBins, hardCodedveBlends3_loadBins); +} + +static void coupleBK2cannedveBlends4_rpmBins() { + static const float hardCodedveBlends4_rpmBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends4_rpmBins, hardCodedveBlends4_rpmBins); +} + +static void coupleBK2cannedveBlends4_loadBins() { + static const float hardCodedveBlends4_loadBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends4_loadBins, hardCodedveBlends4_loadBins); +} + +static void coupleBK2cannedveRpmBins() { + static const float hardCodedveRpmBins[16] = {600.0, 900.0, 1100.0, 1500.0, 1900.0, 2400.0, 3000.0, 3700.0, 4200.0, 4700.0, 5200.0, 5800.0, 6300.0, 6800.0, 7000.0, 7600.0}; + copyArray(config->veRpmBins, hardCodedveRpmBins); +} + +static void coupleBK2cannedveLoadBins() { + static const float hardCodedveLoadBins[16] = {30.0, 35.0, 45.0, 55.0, 60.0, 75.0, 90.0, 100.0, 125.0, 150.0, 175.0, 200.0, 225.0, 250.0, 275.0, 300.0}; + copyArray(config->veLoadBins, hardCodedveLoadBins); +} + +static void coupleBK2cannedfuelTrimRpmBins() { + static const float hardCodedfuelTrimRpmBins[4] = {0.0, 0.0, 0.0, 0.0}; + copyArray(config->fuelTrimRpmBins, hardCodedfuelTrimRpmBins); +} + +static void coupleBK2cannedfuelTrimLoadBins() { + static const float hardCodedfuelTrimLoadBins[4] = {0.0, 0.0, 0.0, 0.0}; + copyArray(config->fuelTrimLoadBins, hardCodedfuelTrimLoadBins); +} + +static void coupleBK2cannedignTrimRpmBins() { + static const float hardCodedignTrimRpmBins[4] = {0.0, 0.0, 0.0, 0.0}; + copyArray(config->ignTrimRpmBins, hardCodedignTrimRpmBins); +} + +static void coupleBK2cannedignTrimLoadBins() { + static const float hardCodedignTrimLoadBins[4] = {0.0, 0.0, 0.0, 0.0}; + copyArray(config->ignTrimLoadBins, hardCodedignTrimLoadBins); +} + +static void coupleBK2cannedpedalToTpsRpmBins() { + static const float hardCodedpedalToTpsRpmBins[8] = {0.0, 1100.0, 2300.0, 3400.0, 4600.0, 5700.0, 6900.0, 8000.0}; + copyArray(config->pedalToTpsRpmBins, hardCodedpedalToTpsRpmBins); +} + static void coupleBK2cannedpedalToTpsTable() { static const float hardCodedpedalToTpsTable[8][8] = { {0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, @@ -89,6 +384,16 @@ static void coupleBK2cannedtcuSolenoidTable() { copyTable(config->tcuSolenoidTable, hardCodedtcuSolenoidTable); } +static void coupleBK2cannedhpfpTargetRpmBins() { + static const float hardCodedhpfpTargetRpmBins[10] = {0.0, 900.0, 1800.0, 2650.0, 3550.0, 4450.0, 5350.0, 6200.0, 7100.0, 8000.0}; + copyArray(config->hpfpTargetRpmBins, hardCodedhpfpTargetRpmBins); +} + +static void coupleBK2cannedhpfpCompensationRpmBins() { + static const float hardCodedhpfpCompensationRpmBins[10] = {0.0, 900.0, 1800.0, 2650.0, 3550.0, 4450.0, 5350.0, 6200.0, 7100.0, 8000.0}; + copyArray(config->hpfpCompensationRpmBins, hardCodedhpfpCompensationRpmBins); +} + static void coupleBK2cannedpostCrankingFactor() { static const float hardCodedpostCrankingFactor[6][6] = { {0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, diff --git a/generated/canned-tunes/COUPE-BK2-comparing-against-global-defaults.md b/generated/canned-tunes/COUPE-BK2-comparing-against-global-defaults.md index 959430b..d80e250 100644 --- a/generated/canned-tunes/COUPE-BK2-comparing-against-global-defaults.md +++ b/generated/canned-tunes/COUPE-BK2-comparing-against-global-defaults.md @@ -147,13 +147,74 @@ engineConfiguration->etb.dFactor = 0.1855; + coupleBK2cannedtpsTspCorrValuesBins(); + coupleBK2cannedtpsTspCorrValues(); + coupleBK2cannedprimeBins(); + coupleBK2cannedprimeValues(); + coupleBK2cannedmap_samplingAngleBins(); + coupleBK2cannedmap_samplingWindowBins(); + coupleBK2cannedvrThreshold1_rpmBins(); + coupleBK2cannedvrThreshold2_rpmBins(); + coupleBK2cannedmafDecodingBins(); + coupleBK2cannedcltRevLimitRpmBins(); + coupleBK2cannedcltIdleCorrBins(); + coupleBK2cannedcltIdleCorr(); + coupleBK2cannedcltCrankingCorr(); + coupleBK2cannedcltIdleRpm(); + coupleBK2cannedidleAdvanceBins(); + coupleBK2cannedidleAdvance(); + coupleBK2cannedignBlends1_blendBins(); + coupleBK2cannedignBlends1_blendValues(); + coupleBK2cannedignBlends2_blendBins(); + coupleBK2cannedignBlends2_blendValues(); + coupleBK2cannedignBlends3_blendBins(); + coupleBK2cannedignBlends3_blendValues(); + coupleBK2cannedignBlends4_blendBins(); + coupleBK2cannedignBlends4_blendValues(); + coupleBK2cannedveBlends1_blendBins(); + coupleBK2cannedveBlends1_blendValues(); + coupleBK2cannedveBlends2_blendBins(); + coupleBK2cannedveBlends2_blendValues(); + coupleBK2cannedveBlends3_blendBins(); + coupleBK2cannedveBlends3_blendValues(); + coupleBK2cannedveBlends4_blendBins(); + coupleBK2cannedveBlends4_blendValues(); coupleBK2cannedtpsTpsAccelTable(); + coupleBK2cannedboostRpmBins(); coupleBK2cannedboostTableOpenLoop(); + coupleBK2cannedscriptTable4RpmBins(); coupleBK2cannedscriptTable4(); + coupleBK2cannedignitionRpmBins(); + coupleBK2cannedignitionLoadBins(); coupleBK2cannedignitionTable(); + coupleBK2cannedignBlends1_rpmBins(); + coupleBK2cannedignBlends1_loadBins(); + coupleBK2cannedignBlends2_rpmBins(); + coupleBK2cannedignBlends2_loadBins(); + coupleBK2cannedignBlends3_rpmBins(); + coupleBK2cannedignBlends3_loadBins(); + coupleBK2cannedignBlends4_rpmBins(); + coupleBK2cannedignBlends4_loadBins(); + coupleBK2cannedveBlends1_rpmBins(); + coupleBK2cannedveBlends1_loadBins(); + coupleBK2cannedveBlends2_rpmBins(); + coupleBK2cannedveBlends2_loadBins(); + coupleBK2cannedveBlends3_rpmBins(); + coupleBK2cannedveBlends3_loadBins(); + coupleBK2cannedveBlends4_rpmBins(); + coupleBK2cannedveBlends4_loadBins(); + coupleBK2cannedveRpmBins(); + coupleBK2cannedveLoadBins(); coupleBK2cannedveTable(); + coupleBK2cannedfuelTrimRpmBins(); + coupleBK2cannedfuelTrimLoadBins(); + coupleBK2cannedignTrimRpmBins(); + coupleBK2cannedignTrimLoadBins(); + coupleBK2cannedpedalToTpsRpmBins(); coupleBK2cannedpedalToTpsTable(); coupleBK2cannedlambdaTable(); coupleBK2cannedtcuSolenoidTable(); + coupleBK2cannedhpfpTargetRpmBins(); + coupleBK2cannedhpfpCompensationRpmBins(); coupleBK2cannedpostCrankingFactor(); ``` diff --git a/generated/canned-tunes/COUPE-BK2-comparing-against-global-defaults_methods.md b/generated/canned-tunes/COUPE-BK2-comparing-against-global-defaults_methods.md index 3b086d6..0f56ee8 100644 --- a/generated/canned-tunes/COUPE-BK2-comparing-against-global-defaults_methods.md +++ b/generated/canned-tunes/COUPE-BK2-comparing-against-global-defaults_methods.md @@ -1,4 +1,164 @@ ``` +static void coupleBK2cannedtpsTspCorrValuesBins() { + static const float hardCodedtpsTspCorrValuesBins[4] = {1000.0, 3000.0, 5000.0, 7000.0}; + copyArray(config->tpsTspCorrValuesBins, hardCodedtpsTspCorrValuesBins); +} + +static void coupleBK2cannedtpsTspCorrValues() { + static const float hardCodedtpsTspCorrValues[4] = {1.0, 0.7, 0.3, 0.1}; + copyArray(config->tpsTspCorrValues, hardCodedtpsTspCorrValues); +} + +static void coupleBK2cannedprimeBins() { + static const float hardCodedprimeBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->primeBins, hardCodedprimeBins); +} + +static void coupleBK2cannedprimeValues() { + static const float hardCodedprimeValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->primeValues, hardCodedprimeValues); +} + +static void coupleBK2cannedmap_samplingAngleBins() { + static const float hardCodedmap_samplingAngleBins[8] = {800.0, 1686.0, 2571.0, 3457.0, 4343.0, 5229.0, 6114.0, 7000.0}; + copyArray(engineConfiguration->map.map_samplingAngleBins, hardCodedmap_samplingAngleBins); +} + +static void coupleBK2cannedmap_samplingWindowBins() { + static const float hardCodedmap_samplingWindowBins[8] = {800.0, 1686.0, 2571.0, 3457.0, 4343.0, 5229.0, 6114.0, 7000.0}; + copyArray(engineConfiguration->map.map_samplingWindowBins, hardCodedmap_samplingWindowBins); +} + +static void coupleBK2cannedvrThreshold1_rpmBins() { + static const float hardCodedvrThreshold1_rpmBins[6] = {600.0, 1900.0, 3200.0, 4400.0, 5700.0, 7000.0}; + copyArray(engineConfiguration->vrThreshold2.vrThreshold1_rpmBins, hardCodedvrThreshold1_rpmBins); +} + +static void coupleBK2cannedvrThreshold2_rpmBins() { + static const float hardCodedvrThreshold2_rpmBins[6] = {600.0, 1900.0, 3200.0, 4400.0, 5700.0, 7000.0}; + copyArray(engineConfiguration->vrThreshold2.vrThreshold2_rpmBins, hardCodedvrThreshold2_rpmBins); +} + +static void coupleBK2cannedmafDecodingBins() { + static const float hardCodedmafDecodingBins[32] = {0.0, 0.78125, 1.3867188, 2.9101562, 4.2578125, 4.9804688, 2016.0, 2017.0, 2018.0, 2019.0, 2020.0, 2021.0, 2022.0, 2023.0, 2024.0, 2025.0, 2026.0, 2027.0, 2028.0, 2029.0, 2030.0, 2031.0, 2032.0, 2033.0, 2034.0, 2035.0, 2036.0, 2037.0, 2038.0, 2039.0, 2040.0, 2041.0}; + copyArray(config->mafDecodingBins, hardCodedmafDecodingBins); +} + +static void coupleBK2cannedcltRevLimitRpmBins() { + static const float hardCodedcltRevLimitRpmBins[4] = {0.0, 0.0, 0.0, 0.0}; + copyArray(config->cltRevLimitRpmBins, hardCodedcltRevLimitRpmBins); +} + +static void coupleBK2cannedcltIdleCorrBins() { + static const float hardCodedcltIdleCorrBins[16] = {-40.13, -30.13, -20.13, -10.13, -0.13, 9.87, 19.87, 29.87, 39.87, 49.87, 59.87, 69.87, 79.87, 89.87, 99.87, 109.87}; + copyArray(config->cltIdleCorrBins, hardCodedcltIdleCorrBins); +} + +static void coupleBK2cannedcltIdleCorr() { + static const float hardCodedcltIdleCorr[16] = {0.87, 0.87, 0.7033, 0.7033, 0.7033, 0.7033, 0.7033, 0.7033, 0.7033, 0.6033, 0.5367, 0.5, 0.5, 0.5, 0.5, 0.6}; + copyArray(config->cltIdleCorr, hardCodedcltIdleCorr); +} + +static void coupleBK2cannedcltCrankingCorr() { + static const float hardCodedcltCrankingCorr[8] = {0.8, 0.8, 0.8, 0.8, 0.7, 0.64, 0.6, 0.6}; + copyArray(config->cltCrankingCorr, hardCodedcltCrankingCorr); +} + +static void coupleBK2cannedcltIdleRpm() { + static const float hardCodedcltIdleRpm[16] = {1360.0, 1360.0, 1300.0, 1200.0, 1160.0, 1100.0, 1060.0, 1000.0, 1000.0, 960.0, 960.0, 940.0, 900.0, 800.0, 860.0, 1100.0}; + copyArray(config->cltIdleRpm, hardCodedcltIdleRpm); +} + +static void coupleBK2cannedidleAdvanceBins() { + static const float hardCodedidleAdvanceBins[8] = {500.0, 650.0, 800.0, 950.0, 1050.0, 1200.0, 1350.0, 1500.0}; + copyArray(config->idleAdvanceBins, hardCodedidleAdvanceBins); +} + +static void coupleBK2cannedidleAdvance() { + static const float hardCodedidleAdvance[8] = {10.0, 10.285714, 10.571428, 10.857142, 11.142858, 11.428572, 11.714286, 12.0}; + copyArray(config->idleAdvance, hardCodedidleAdvance); +} + +static void coupleBK2cannedignBlends1_blendBins() { + static const float hardCodedignBlends1_blendBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends1_blendBins, hardCodedignBlends1_blendBins); +} + +static void coupleBK2cannedignBlends1_blendValues() { + static const float hardCodedignBlends1_blendValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends1_blendValues, hardCodedignBlends1_blendValues); +} + +static void coupleBK2cannedignBlends2_blendBins() { + static const float hardCodedignBlends2_blendBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends2_blendBins, hardCodedignBlends2_blendBins); +} + +static void coupleBK2cannedignBlends2_blendValues() { + static const float hardCodedignBlends2_blendValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends2_blendValues, hardCodedignBlends2_blendValues); +} + +static void coupleBK2cannedignBlends3_blendBins() { + static const float hardCodedignBlends3_blendBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends3_blendBins, hardCodedignBlends3_blendBins); +} + +static void coupleBK2cannedignBlends3_blendValues() { + static const float hardCodedignBlends3_blendValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends3_blendValues, hardCodedignBlends3_blendValues); +} + +static void coupleBK2cannedignBlends4_blendBins() { + static const float hardCodedignBlends4_blendBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends4_blendBins, hardCodedignBlends4_blendBins); +} + +static void coupleBK2cannedignBlends4_blendValues() { + static const float hardCodedignBlends4_blendValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends4_blendValues, hardCodedignBlends4_blendValues); +} + +static void coupleBK2cannedveBlends1_blendBins() { + static const float hardCodedveBlends1_blendBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends1_blendBins, hardCodedveBlends1_blendBins); +} + +static void coupleBK2cannedveBlends1_blendValues() { + static const float hardCodedveBlends1_blendValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends1_blendValues, hardCodedveBlends1_blendValues); +} + +static void coupleBK2cannedveBlends2_blendBins() { + static const float hardCodedveBlends2_blendBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends2_blendBins, hardCodedveBlends2_blendBins); +} + +static void coupleBK2cannedveBlends2_blendValues() { + static const float hardCodedveBlends2_blendValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends2_blendValues, hardCodedveBlends2_blendValues); +} + +static void coupleBK2cannedveBlends3_blendBins() { + static const float hardCodedveBlends3_blendBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends3_blendBins, hardCodedveBlends3_blendBins); +} + +static void coupleBK2cannedveBlends3_blendValues() { + static const float hardCodedveBlends3_blendValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends3_blendValues, hardCodedveBlends3_blendValues); +} + +static void coupleBK2cannedveBlends4_blendBins() { + static const float hardCodedveBlends4_blendBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends4_blendBins, hardCodedveBlends4_blendBins); +} + +static void coupleBK2cannedveBlends4_blendValues() { + static const float hardCodedveBlends4_blendValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends4_blendValues, hardCodedveBlends4_blendValues); +} + static void coupleBK2cannedtpsTpsAccelTable() { static const float hardCodedtpsTpsAccelTable[8][8] = { {0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, @@ -13,6 +173,11 @@ static void coupleBK2cannedtpsTpsAccelTable() { copyTable(config->tpsTpsAccelTable, hardCodedtpsTpsAccelTable); } +static void coupleBK2cannedboostRpmBins() { + static const float hardCodedboostRpmBins[8] = {0.0, 1100.0, 2300.0, 3400.0, 4600.0, 5700.0, 6900.0, 8000.0}; + copyArray(config->boostRpmBins, hardCodedboostRpmBins); +} + static void coupleBK2cannedboostTableOpenLoop() { static const float hardCodedboostTableOpenLoop[8][8] = { {0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, @@ -27,6 +192,11 @@ static void coupleBK2cannedboostTableOpenLoop() { copyTable(config->boostTableOpenLoop, hardCodedboostTableOpenLoop); } +static void coupleBK2cannedscriptTable4RpmBins() { + static const float hardCodedscriptTable4RpmBins[10] = {650.0, 800.0, 1700.0, 2600.0, 3500.0, 4400.0, 5300.0, 7000.0, 0.0, 0.0}; + copyArray(config->scriptTable4RpmBins, hardCodedscriptTable4RpmBins); +} + static void coupleBK2cannedscriptTable4() { static const float hardCodedscriptTable4[8][10] = { {0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, @@ -41,6 +211,16 @@ static void coupleBK2cannedscriptTable4() { copyTable(config->scriptTable4, hardCodedscriptTable4); } +static void coupleBK2cannedignitionRpmBins() { + static const float hardCodedignitionRpmBins[16] = {650.0, 800.0, 1100.0, 1500.0, 2000.0, 2500.0, 3000.0, 3500.0, 4000.0, 4500.0, 5000.0, 5500.0, 6000.0, 6500.0, 7000.0, 8000.0}; + copyArray(config->ignitionRpmBins, hardCodedignitionRpmBins); +} + +static void coupleBK2cannedignitionLoadBins() { + static const float hardCodedignitionLoadBins[16] = {30.0, 35.0, 45.0, 55.0, 60.0, 75.0, 90.0, 100.0, 125.0, 150.0, 175.0, 200.0, 225.0, 250.0, 275.0, 300.0}; + copyArray(config->ignitionLoadBins, hardCodedignitionLoadBins); +} + static void coupleBK2cannedignitionTable() { static const float hardCodedignitionTable[16][16] = { {12.100, 14.000, 17.800, 22.900, 29.300, 35.600, -20.000, -20.000, -20.000, -20.000, -20.000, -20.000, 42.000, 42.000, 42.000, 42.000, }, @@ -63,6 +243,96 @@ static void coupleBK2cannedignitionTable() { copyTable(config->ignitionTable, hardCodedignitionTable); } +static void coupleBK2cannedignBlends1_rpmBins() { + static const float hardCodedignBlends1_rpmBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends1_rpmBins, hardCodedignBlends1_rpmBins); +} + +static void coupleBK2cannedignBlends1_loadBins() { + static const float hardCodedignBlends1_loadBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends1_loadBins, hardCodedignBlends1_loadBins); +} + +static void coupleBK2cannedignBlends2_rpmBins() { + static const float hardCodedignBlends2_rpmBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends2_rpmBins, hardCodedignBlends2_rpmBins); +} + +static void coupleBK2cannedignBlends2_loadBins() { + static const float hardCodedignBlends2_loadBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends2_loadBins, hardCodedignBlends2_loadBins); +} + +static void coupleBK2cannedignBlends3_rpmBins() { + static const float hardCodedignBlends3_rpmBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends3_rpmBins, hardCodedignBlends3_rpmBins); +} + +static void coupleBK2cannedignBlends3_loadBins() { + static const float hardCodedignBlends3_loadBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends3_loadBins, hardCodedignBlends3_loadBins); +} + +static void coupleBK2cannedignBlends4_rpmBins() { + static const float hardCodedignBlends4_rpmBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends4_rpmBins, hardCodedignBlends4_rpmBins); +} + +static void coupleBK2cannedignBlends4_loadBins() { + static const float hardCodedignBlends4_loadBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends4_loadBins, hardCodedignBlends4_loadBins); +} + +static void coupleBK2cannedveBlends1_rpmBins() { + static const float hardCodedveBlends1_rpmBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends1_rpmBins, hardCodedveBlends1_rpmBins); +} + +static void coupleBK2cannedveBlends1_loadBins() { + static const float hardCodedveBlends1_loadBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends1_loadBins, hardCodedveBlends1_loadBins); +} + +static void coupleBK2cannedveBlends2_rpmBins() { + static const float hardCodedveBlends2_rpmBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends2_rpmBins, hardCodedveBlends2_rpmBins); +} + +static void coupleBK2cannedveBlends2_loadBins() { + static const float hardCodedveBlends2_loadBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends2_loadBins, hardCodedveBlends2_loadBins); +} + +static void coupleBK2cannedveBlends3_rpmBins() { + static const float hardCodedveBlends3_rpmBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends3_rpmBins, hardCodedveBlends3_rpmBins); +} + +static void coupleBK2cannedveBlends3_loadBins() { + static const float hardCodedveBlends3_loadBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends3_loadBins, hardCodedveBlends3_loadBins); +} + +static void coupleBK2cannedveBlends4_rpmBins() { + static const float hardCodedveBlends4_rpmBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends4_rpmBins, hardCodedveBlends4_rpmBins); +} + +static void coupleBK2cannedveBlends4_loadBins() { + static const float hardCodedveBlends4_loadBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends4_loadBins, hardCodedveBlends4_loadBins); +} + +static void coupleBK2cannedveRpmBins() { + static const float hardCodedveRpmBins[16] = {600.0, 900.0, 1100.0, 1500.0, 1900.0, 2400.0, 3000.0, 3700.0, 4200.0, 4700.0, 5200.0, 5800.0, 6300.0, 6800.0, 7000.0, 7600.0}; + copyArray(config->veRpmBins, hardCodedveRpmBins); +} + +static void coupleBK2cannedveLoadBins() { + static const float hardCodedveLoadBins[16] = {30.0, 35.0, 45.0, 55.0, 60.0, 75.0, 90.0, 100.0, 125.0, 150.0, 175.0, 200.0, 225.0, 250.0, 275.0, 300.0}; + copyArray(config->veLoadBins, hardCodedveLoadBins); +} + static void coupleBK2cannedveTable() { static const float hardCodedveTable[16][16] = { {52.000, 54.000, 54.000, 56.000, 61.000, 55.000, 55.000, 65.000, 65.000, 60.000, 60.000, 60.000, 60.000, 60.000, 60.000, 60.000, }, @@ -85,6 +355,31 @@ static void coupleBK2cannedveTable() { copyTable(config->veTable, hardCodedveTable); } +static void coupleBK2cannedfuelTrimRpmBins() { + static const float hardCodedfuelTrimRpmBins[4] = {0.0, 0.0, 0.0, 0.0}; + copyArray(config->fuelTrimRpmBins, hardCodedfuelTrimRpmBins); +} + +static void coupleBK2cannedfuelTrimLoadBins() { + static const float hardCodedfuelTrimLoadBins[4] = {0.0, 0.0, 0.0, 0.0}; + copyArray(config->fuelTrimLoadBins, hardCodedfuelTrimLoadBins); +} + +static void coupleBK2cannedignTrimRpmBins() { + static const float hardCodedignTrimRpmBins[4] = {0.0, 0.0, 0.0, 0.0}; + copyArray(config->ignTrimRpmBins, hardCodedignTrimRpmBins); +} + +static void coupleBK2cannedignTrimLoadBins() { + static const float hardCodedignTrimLoadBins[4] = {0.0, 0.0, 0.0, 0.0}; + copyArray(config->ignTrimLoadBins, hardCodedignTrimLoadBins); +} + +static void coupleBK2cannedpedalToTpsRpmBins() { + static const float hardCodedpedalToTpsRpmBins[8] = {0.0, 1100.0, 2300.0, 3400.0, 4600.0, 5700.0, 6900.0, 8000.0}; + copyArray(config->pedalToTpsRpmBins, hardCodedpedalToTpsRpmBins); +} + static void coupleBK2cannedpedalToTpsTable() { static const float hardCodedpedalToTpsTable[8][8] = { {0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, @@ -133,6 +428,16 @@ static void coupleBK2cannedtcuSolenoidTable() { copyTable(config->tcuSolenoidTable, hardCodedtcuSolenoidTable); } +static void coupleBK2cannedhpfpTargetRpmBins() { + static const float hardCodedhpfpTargetRpmBins[10] = {0.0, 900.0, 1800.0, 2650.0, 3550.0, 4450.0, 5350.0, 6200.0, 7100.0, 8000.0}; + copyArray(config->hpfpTargetRpmBins, hardCodedhpfpTargetRpmBins); +} + +static void coupleBK2cannedhpfpCompensationRpmBins() { + static const float hardCodedhpfpCompensationRpmBins[10] = {0.0, 900.0, 1800.0, 2650.0, 3550.0, 4450.0, 5350.0, 6200.0, 7100.0, 8000.0}; + copyArray(config->hpfpCompensationRpmBins, hardCodedhpfpCompensationRpmBins); +} + static void coupleBK2cannedpostCrankingFactor() { static const float hardCodedpostCrankingFactor[6][6] = { {0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, diff --git a/generated/canned-tunes/Honda-OBD1-comparing-against-current-Honda-OBD1-default.md b/generated/canned-tunes/Honda-OBD1-comparing-against-current-Honda-OBD1-default.md index 584a262..4e0489f 100644 --- a/generated/canned-tunes/Honda-OBD1-comparing-against-current-Honda-OBD1-default.md +++ b/generated/canned-tunes/Honda-OBD1-comparing-against-current-Honda-OBD1-default.md @@ -63,10 +63,24 @@ engineConfiguration->gppwm[0].offBelowDuty = 10; + cannedinjector_battLagCorrBins(); + cannedinjector_battLagCorr(); + cannedmafDecodingBins(); + cannedcltIdleCorr(); cannedboostTableOpenLoop(); cannedscriptTable4(); cannedignitionTable(); + cannedignBlends1_rpmBins(); + cannedignBlends2_rpmBins(); + cannedignBlends3_rpmBins(); + cannedignBlends4_rpmBins(); + cannedveBlends1_rpmBins(); + cannedveBlends2_rpmBins(); + cannedveBlends3_rpmBins(); + cannedveBlends4_rpmBins(); cannedveTable(); cannedlambdaTable(); + cannedgppwm1_rpmBins(); + cannedgppwm1_table(); cannedtcuSolenoidTable(); ``` diff --git a/generated/canned-tunes/Honda-OBD1-comparing-against-current-Honda-OBD1-default_methods.md b/generated/canned-tunes/Honda-OBD1-comparing-against-current-Honda-OBD1-default_methods.md index b43a112..5460831 100644 --- a/generated/canned-tunes/Honda-OBD1-comparing-against-current-Honda-OBD1-default_methods.md +++ b/generated/canned-tunes/Honda-OBD1-comparing-against-current-Honda-OBD1-default_methods.md @@ -1,4 +1,24 @@ ``` +static void cannedinjector_battLagCorrBins() { + static const float hardCodedinjector_battLagCorrBins[8] = {0.0, 6.0, 8.0, 9.92, 12.05, 13.15, 14.16, 16.0}; + copyArray(engineConfiguration->injectorSecondary.injector_battLagCorrBins, hardCodedinjector_battLagCorrBins); +} + +static void cannedinjector_battLagCorr() { + static const float hardCodedinjector_battLagCorr[8] = {3.37, 2.04, 1.53, 1.09, 0.62, 0.51, 0.47, 0.33}; + copyArray(engineConfiguration->injectorSecondary.injector_battLagCorr, hardCodedinjector_battLagCorr); +} + +static void cannedmafDecodingBins() { + static const float hardCodedmafDecodingBins[32] = {0.0, 0.78125, 1.3867188, 2.9101562, 4.2578125, 4.9804688, 2016.0, 2017.0, 2018.0, 2019.0, 2020.0, 2021.0, 2022.0, 2023.0, 2024.0, 2025.0, 2026.0, 2027.0, 2028.0, 2029.0, 2030.0, 2031.0, 2032.0, 2033.0, 2034.0, 2035.0, 2036.0, 2037.0, 2038.0, 2039.0, 2040.0, 2041.0}; + copyArray(config->mafDecodingBins, hardCodedmafDecodingBins); +} + +static void cannedcltIdleCorr() { + static const float hardCodedcltIdleCorr[16] = {1.5, 1.5, 1.3333334, 1.3333334, 1.3333334, 1.3333334, 1.3333334, 1.3333334, 1.3333334, 1.2333333, 1.1666666, 1.1, 1.0, 1.0, 1.0, 1.0}; + copyArray(config->cltIdleCorr, hardCodedcltIdleCorr); +} + static void cannedboostTableOpenLoop() { static const float hardCodedboostTableOpenLoop[8][8] = { {0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, @@ -49,6 +69,46 @@ static void cannedignitionTable() { copyTable(config->ignitionTable, hardCodedignitionTable); } +static void cannedignBlends1_rpmBins() { + static const float hardCodedignBlends1_rpmBins[8] = {0.0, 1000.0, 2000.0, 3000.0, 4000.0, 5000.0, 6000.0, 7000.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends1_rpmBins, hardCodedignBlends1_rpmBins); +} + +static void cannedignBlends2_rpmBins() { + static const float hardCodedignBlends2_rpmBins[8] = {0.0, 1000.0, 2000.0, 3000.0, 4000.0, 5000.0, 6000.0, 7000.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends2_rpmBins, hardCodedignBlends2_rpmBins); +} + +static void cannedignBlends3_rpmBins() { + static const float hardCodedignBlends3_rpmBins[8] = {0.0, 1000.0, 2000.0, 3000.0, 4000.0, 5000.0, 6000.0, 7000.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends3_rpmBins, hardCodedignBlends3_rpmBins); +} + +static void cannedignBlends4_rpmBins() { + static const float hardCodedignBlends4_rpmBins[8] = {0.0, 1000.0, 2000.0, 3000.0, 4000.0, 5000.0, 6000.0, 7000.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends4_rpmBins, hardCodedignBlends4_rpmBins); +} + +static void cannedveBlends1_rpmBins() { + static const float hardCodedveBlends1_rpmBins[8] = {0.0, 1000.0, 2000.0, 3000.0, 4000.0, 5000.0, 6000.0, 7000.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends1_rpmBins, hardCodedveBlends1_rpmBins); +} + +static void cannedveBlends2_rpmBins() { + static const float hardCodedveBlends2_rpmBins[8] = {0.0, 1000.0, 2000.0, 3000.0, 4000.0, 5000.0, 6000.0, 7000.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends2_rpmBins, hardCodedveBlends2_rpmBins); +} + +static void cannedveBlends3_rpmBins() { + static const float hardCodedveBlends3_rpmBins[8] = {0.0, 1000.0, 2000.0, 3000.0, 4000.0, 5000.0, 6000.0, 7000.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends3_rpmBins, hardCodedveBlends3_rpmBins); +} + +static void cannedveBlends4_rpmBins() { + static const float hardCodedveBlends4_rpmBins[8] = {0.0, 1000.0, 2000.0, 3000.0, 4000.0, 5000.0, 6000.0, 7000.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends4_rpmBins, hardCodedveBlends4_rpmBins); +} + static void cannedveTable() { static const float hardCodedveTable[16][16] = { {80.000, 80.000, 80.000, 80.000, 80.000, 80.000, 80.000, 80.000, 80.000, 80.000, 80.000, 80.000, 80.000, 80.000, 80.000, 80.000, }, @@ -93,6 +153,25 @@ static void cannedlambdaTable() { copyTable(config->lambdaTable, hardCodedlambdaTable); } +static void cannedgppwm1_rpmBins() { + static const float hardCodedgppwm1_rpmBins[8] = {0.0, 2000.0, 3000.0, 4000.0, 4500.0, 5000.0, 5500.0, 7000.0}; + copyArray(engineConfiguration->gppwm4.gppwm1_rpmBins, hardCodedgppwm1_rpmBins); +} + +static void cannedgppwm1_table() { + static const float hardCodedgppwm1_table[8][8] = { +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{0.000, 0.000, 0.000, 0.000, 100.000, 100.000, 100.000, 100.000, }, +{0.000, 0.000, 0.000, 0.000, 100.000, 100.000, 100.000, 100.000, }, +{0.000, 0.000, 0.000, 0.000, 100.000, 100.000, 100.000, 100.000, }, +{0.000, 0.000, 0.000, 0.000, 100.000, 100.000, 100.000, 100.000, }, +}; + copyTable(engineConfiguration->gppwm4.gppwm1_table, hardCodedgppwm1_table); +} + static void cannedtcuSolenoidTable() { static const float hardCodedtcuSolenoidTable[6][10] = { {0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, diff --git a/generated/canned-tunes/Honda-OBD1-comparing-against-global-defaults.md b/generated/canned-tunes/Honda-OBD1-comparing-against-global-defaults.md index eedce3a..cd8973d 100644 --- a/generated/canned-tunes/Honda-OBD1-comparing-against-global-defaults.md +++ b/generated/canned-tunes/Honda-OBD1-comparing-against-global-defaults.md @@ -83,10 +83,24 @@ engineConfiguration->gppwm[0].loadAxis = GPPWM_Map; + cannedinjector_battLagCorrBins(); + cannedinjector_battLagCorr(); + cannedmafDecodingBins(); + cannedcltIdleCorr(); cannedboostTableOpenLoop(); cannedscriptTable4(); cannedignitionTable(); + cannedignBlends1_rpmBins(); + cannedignBlends2_rpmBins(); + cannedignBlends3_rpmBins(); + cannedignBlends4_rpmBins(); + cannedveBlends1_rpmBins(); + cannedveBlends2_rpmBins(); + cannedveBlends3_rpmBins(); + cannedveBlends4_rpmBins(); cannedveTable(); cannedlambdaTable(); + cannedgppwm1_rpmBins(); + cannedgppwm1_table(); cannedtcuSolenoidTable(); ``` diff --git a/generated/canned-tunes/Honda-OBD1-comparing-against-global-defaults_methods.md b/generated/canned-tunes/Honda-OBD1-comparing-against-global-defaults_methods.md index b43a112..5460831 100644 --- a/generated/canned-tunes/Honda-OBD1-comparing-against-global-defaults_methods.md +++ b/generated/canned-tunes/Honda-OBD1-comparing-against-global-defaults_methods.md @@ -1,4 +1,24 @@ ``` +static void cannedinjector_battLagCorrBins() { + static const float hardCodedinjector_battLagCorrBins[8] = {0.0, 6.0, 8.0, 9.92, 12.05, 13.15, 14.16, 16.0}; + copyArray(engineConfiguration->injectorSecondary.injector_battLagCorrBins, hardCodedinjector_battLagCorrBins); +} + +static void cannedinjector_battLagCorr() { + static const float hardCodedinjector_battLagCorr[8] = {3.37, 2.04, 1.53, 1.09, 0.62, 0.51, 0.47, 0.33}; + copyArray(engineConfiguration->injectorSecondary.injector_battLagCorr, hardCodedinjector_battLagCorr); +} + +static void cannedmafDecodingBins() { + static const float hardCodedmafDecodingBins[32] = {0.0, 0.78125, 1.3867188, 2.9101562, 4.2578125, 4.9804688, 2016.0, 2017.0, 2018.0, 2019.0, 2020.0, 2021.0, 2022.0, 2023.0, 2024.0, 2025.0, 2026.0, 2027.0, 2028.0, 2029.0, 2030.0, 2031.0, 2032.0, 2033.0, 2034.0, 2035.0, 2036.0, 2037.0, 2038.0, 2039.0, 2040.0, 2041.0}; + copyArray(config->mafDecodingBins, hardCodedmafDecodingBins); +} + +static void cannedcltIdleCorr() { + static const float hardCodedcltIdleCorr[16] = {1.5, 1.5, 1.3333334, 1.3333334, 1.3333334, 1.3333334, 1.3333334, 1.3333334, 1.3333334, 1.2333333, 1.1666666, 1.1, 1.0, 1.0, 1.0, 1.0}; + copyArray(config->cltIdleCorr, hardCodedcltIdleCorr); +} + static void cannedboostTableOpenLoop() { static const float hardCodedboostTableOpenLoop[8][8] = { {0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, @@ -49,6 +69,46 @@ static void cannedignitionTable() { copyTable(config->ignitionTable, hardCodedignitionTable); } +static void cannedignBlends1_rpmBins() { + static const float hardCodedignBlends1_rpmBins[8] = {0.0, 1000.0, 2000.0, 3000.0, 4000.0, 5000.0, 6000.0, 7000.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends1_rpmBins, hardCodedignBlends1_rpmBins); +} + +static void cannedignBlends2_rpmBins() { + static const float hardCodedignBlends2_rpmBins[8] = {0.0, 1000.0, 2000.0, 3000.0, 4000.0, 5000.0, 6000.0, 7000.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends2_rpmBins, hardCodedignBlends2_rpmBins); +} + +static void cannedignBlends3_rpmBins() { + static const float hardCodedignBlends3_rpmBins[8] = {0.0, 1000.0, 2000.0, 3000.0, 4000.0, 5000.0, 6000.0, 7000.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends3_rpmBins, hardCodedignBlends3_rpmBins); +} + +static void cannedignBlends4_rpmBins() { + static const float hardCodedignBlends4_rpmBins[8] = {0.0, 1000.0, 2000.0, 3000.0, 4000.0, 5000.0, 6000.0, 7000.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends4_rpmBins, hardCodedignBlends4_rpmBins); +} + +static void cannedveBlends1_rpmBins() { + static const float hardCodedveBlends1_rpmBins[8] = {0.0, 1000.0, 2000.0, 3000.0, 4000.0, 5000.0, 6000.0, 7000.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends1_rpmBins, hardCodedveBlends1_rpmBins); +} + +static void cannedveBlends2_rpmBins() { + static const float hardCodedveBlends2_rpmBins[8] = {0.0, 1000.0, 2000.0, 3000.0, 4000.0, 5000.0, 6000.0, 7000.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends2_rpmBins, hardCodedveBlends2_rpmBins); +} + +static void cannedveBlends3_rpmBins() { + static const float hardCodedveBlends3_rpmBins[8] = {0.0, 1000.0, 2000.0, 3000.0, 4000.0, 5000.0, 6000.0, 7000.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends3_rpmBins, hardCodedveBlends3_rpmBins); +} + +static void cannedveBlends4_rpmBins() { + static const float hardCodedveBlends4_rpmBins[8] = {0.0, 1000.0, 2000.0, 3000.0, 4000.0, 5000.0, 6000.0, 7000.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends4_rpmBins, hardCodedveBlends4_rpmBins); +} + static void cannedveTable() { static const float hardCodedveTable[16][16] = { {80.000, 80.000, 80.000, 80.000, 80.000, 80.000, 80.000, 80.000, 80.000, 80.000, 80.000, 80.000, 80.000, 80.000, 80.000, 80.000, }, @@ -93,6 +153,25 @@ static void cannedlambdaTable() { copyTable(config->lambdaTable, hardCodedlambdaTable); } +static void cannedgppwm1_rpmBins() { + static const float hardCodedgppwm1_rpmBins[8] = {0.0, 2000.0, 3000.0, 4000.0, 4500.0, 5000.0, 5500.0, 7000.0}; + copyArray(engineConfiguration->gppwm4.gppwm1_rpmBins, hardCodedgppwm1_rpmBins); +} + +static void cannedgppwm1_table() { + static const float hardCodedgppwm1_table[8][8] = { +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{0.000, 0.000, 0.000, 0.000, 100.000, 100.000, 100.000, 100.000, }, +{0.000, 0.000, 0.000, 0.000, 100.000, 100.000, 100.000, 100.000, }, +{0.000, 0.000, 0.000, 0.000, 100.000, 100.000, 100.000, 100.000, }, +{0.000, 0.000, 0.000, 0.000, 100.000, 100.000, 100.000, 100.000, }, +}; + copyTable(engineConfiguration->gppwm4.gppwm1_table, hardCodedgppwm1_table); +} + static void cannedtcuSolenoidTable() { static const float hardCodedtcuSolenoidTable[6][10] = { {0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, diff --git a/generated/canned-tunes/M52-comparing-against-current-M52-default.md b/generated/canned-tunes/M52-comparing-against-current-M52-default.md index 44bea34..1e11c98 100644 --- a/generated/canned-tunes/M52-comparing-against-current-M52-default.md +++ b/generated/canned-tunes/M52-comparing-against-current-M52-default.md @@ -189,13 +189,86 @@ engineConfiguration->hpfpPidI = 0; + cannedsparkDwellRpmBins(); + cannedsparkDwellValues(); + canneddwellVoltageCorrVoltBins(); + canneddwellVoltageCorrValues(); + cannedtpsTspCorrValuesBins(); + cannedtpsTspCorrValues(); + cannedprimeBins(); + cannedprimeValues(); + cannedmap_samplingAngleBins(); + cannedmap_samplingAngle(); + cannedmap_samplingWindowBins(); + cannedmap_samplingWindow(); + cannedvrThreshold1_rpmBins(); + cannedvrThreshold2_rpmBins(); + cannedmafDecodingBins(); + cannedcltFuelCorr(); + cannedcrankingFuelCoef(); + cannedcltRevLimitRpmBins(); + cannedcrankingCycleCoef(); + cannedcltIdleCorr(); + cannedcltCrankingCorr(); + cannedcltIdleRpm(); + cannedidleAdvanceBins(); + cannedidleAdvance(); + cannedfuelLevelBins(); + cannedignBlends1_blendBins(); + cannedignBlends1_blendValues(); + cannedignBlends2_blendBins(); + cannedignBlends2_blendValues(); + cannedignBlends3_blendBins(); + cannedignBlends3_blendValues(); + cannedignBlends4_blendBins(); + cannedignBlends4_blendValues(); + cannedveBlends1_blendBins(); + cannedveBlends1_blendValues(); + cannedveBlends2_blendBins(); + cannedveBlends2_blendValues(); + cannedveBlends3_blendBins(); + cannedveBlends3_blendValues(); + cannedveBlends4_blendBins(); + cannedveBlends4_blendValues(); cannedtpsTpsAccelTable(); + cannedboostRpmBins(); cannedboostTableOpenLoop(); + cannedscriptTable4RpmBins(); cannedscriptTable4(); + cannedignitionRpmBins(); + cannedignitionLoadBins(); cannedignitionTable(); + cannedignBlends1_rpmBins(); + cannedignBlends1_loadBins(); + cannedignBlends2_rpmBins(); + cannedignBlends2_loadBins(); + cannedignBlends3_rpmBins(); + cannedignBlends3_loadBins(); + cannedignBlends4_rpmBins(); + cannedignBlends4_loadBins(); + cannedveBlends1_rpmBins(); + cannedveBlends1_loadBins(); + cannedveBlends2_rpmBins(); + cannedveBlends2_loadBins(); + cannedveBlends3_rpmBins(); + cannedveBlends3_loadBins(); + cannedveBlends4_rpmBins(); + cannedveBlends4_loadBins(); + cannedveRpmBins(); + cannedveLoadBins(); cannedveTable(); + cannedfuelTrimRpmBins(); + cannedfuelTrimLoadBins(); + cannedignTrimRpmBins(); + cannedignTrimLoadBins(); + cannedmapEstimateRpmBins(); + cannedmapEstimateTpsBins(); cannedmapEstimateTable(); + cannedpedalToTpsRpmBins(); cannedlambdaTable(); + cannedgppwm4_table(); cannedtcuSolenoidTable(); + cannedhpfpTargetRpmBins(); + cannedhpfpCompensationRpmBins(); cannedpostCrankingFactor(); ``` diff --git a/generated/canned-tunes/M52-comparing-against-current-M52-default_methods.md b/generated/canned-tunes/M52-comparing-against-current-M52-default_methods.md index de79881..31562ca 100644 --- a/generated/canned-tunes/M52-comparing-against-current-M52-default_methods.md +++ b/generated/canned-tunes/M52-comparing-against-current-M52-default_methods.md @@ -1,4 +1,209 @@ ``` +static void cannedsparkDwellRpmBins() { + static const float hardCodedsparkDwellRpmBins[8] = {0.0, 500.0, 2000.0, 3000.0, 4000.0, 5000.0, 6000.0, 7000.0}; + copyArray(config->sparkDwellRpmBins, hardCodedsparkDwellRpmBins); +} + +static void cannedsparkDwellValues() { + static const float hardCodedsparkDwellValues[8] = {5.4, 3.1, 3.05, 3.0, 2.95, 2.9, 2.85, 2.8}; + copyArray(config->sparkDwellValues, hardCodedsparkDwellValues); +} + +static void canneddwellVoltageCorrVoltBins() { + static const float hardCodeddwellVoltageCorrVoltBins[8] = {8.0, 10.0, 11.0, 12.0, 13.0, 14.0, 15.0, 16.0}; + copyArray(config->dwellVoltageCorrVoltBins, hardCodeddwellVoltageCorrVoltBins); +} + +static void canneddwellVoltageCorrValues() { + static const float hardCodeddwellVoltageCorrValues[8] = {1.4, 1.32, 1.24, 1.12, 1.08, 1.02, 0.92, 0.84}; + copyArray(config->dwellVoltageCorrValues, hardCodeddwellVoltageCorrValues); +} + +static void cannedtpsTspCorrValuesBins() { + static const float hardCodedtpsTspCorrValuesBins[4] = {3000.0, 5000.0, 7000.0, 9000.0}; + copyArray(config->tpsTspCorrValuesBins, hardCodedtpsTspCorrValuesBins); +} + +static void cannedtpsTspCorrValues() { + static const float hardCodedtpsTspCorrValues[4] = {1.0, 0.4, 0.2, 0.02}; + copyArray(config->tpsTspCorrValues, hardCodedtpsTspCorrValues); +} + +static void cannedprimeBins() { + static const float hardCodedprimeBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->primeBins, hardCodedprimeBins); +} + +static void cannedprimeValues() { + static const float hardCodedprimeValues[8] = {50.0, 50.0, 50.0, 50.0, 50.0, 50.0, 50.0, 50.0}; + copyArray(engineConfiguration->primeValues, hardCodedprimeValues); +} + +static void cannedmap_samplingAngleBins() { + static const float hardCodedmap_samplingAngleBins[8] = {800.0, 1686.0, 2571.0, 3457.0, 4343.0, 5229.0, 6114.0, 7000.0}; + copyArray(engineConfiguration->map.map_samplingAngleBins, hardCodedmap_samplingAngleBins); +} + +static void cannedmap_samplingAngle() { + static const float hardCodedmap_samplingAngle[8] = {400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0}; + copyArray(engineConfiguration->map.map_samplingAngle, hardCodedmap_samplingAngle); +} + +static void cannedmap_samplingWindowBins() { + static const float hardCodedmap_samplingWindowBins[8] = {800.0, 1686.0, 2571.0, 3457.0, 4343.0, 5229.0, 6114.0, 7000.0}; + copyArray(engineConfiguration->map.map_samplingWindowBins, hardCodedmap_samplingWindowBins); +} + +static void cannedmap_samplingWindow() { + static const float hardCodedmap_samplingWindow[8] = {150.0, 150.0, 150.0, 50.0, 50.0, 50.0, 50.0, 50.0}; + copyArray(engineConfiguration->map.map_samplingWindow, hardCodedmap_samplingWindow); +} + +static void cannedvrThreshold1_rpmBins() { + static const float hardCodedvrThreshold1_rpmBins[6] = {600.0, 1900.0, 3200.0, 4400.0, 5700.0, 7000.0}; + copyArray(engineConfiguration->vrThreshold2.vrThreshold1_rpmBins, hardCodedvrThreshold1_rpmBins); +} + +static void cannedvrThreshold2_rpmBins() { + static const float hardCodedvrThreshold2_rpmBins[6] = {600.0, 1900.0, 3200.0, 4400.0, 5700.0, 7000.0}; + copyArray(engineConfiguration->vrThreshold2.vrThreshold2_rpmBins, hardCodedvrThreshold2_rpmBins); +} + +static void cannedmafDecodingBins() { + static const float hardCodedmafDecodingBins[32] = {0.0, 0.78125, 1.3867188, 2.9101562, 4.2578125, 4.9804688, 2016.0, 2017.0, 2018.0, 2019.0, 2020.0, 2021.0, 2022.0, 2023.0, 2024.0, 2025.0, 2026.0, 2027.0, 2028.0, 2029.0, 2030.0, 2031.0, 2032.0, 2033.0, 2034.0, 2035.0, 2036.0, 2037.0, 2038.0, 2039.0, 2040.0, 2041.0}; + copyArray(config->mafDecodingBins, hardCodedmafDecodingBins); +} + +static void cannedcltFuelCorr() { + static const float hardCodedcltFuelCorr[16] = {1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0}; + copyArray(config->cltFuelCorr, hardCodedcltFuelCorr); +} + +static void cannedcrankingFuelCoef() { + static const float hardCodedcrankingFuelCoef[8] = {1.2, 1.2, 1.2, 1.2, 1.1333333, 1.0666667, 1.0, 1.0}; + copyArray(config->crankingFuelCoef, hardCodedcrankingFuelCoef); +} + +static void cannedcltRevLimitRpmBins() { + static const float hardCodedcltRevLimitRpmBins[4] = {0.0, 0.0, 0.0, 0.0}; + copyArray(config->cltRevLimitRpmBins, hardCodedcltRevLimitRpmBins); +} + +static void cannedcrankingCycleCoef() { + static const float hardCodedcrankingCycleCoef[8] = {2.5, 1.8, 1.5, 1.0, 1.0, 1.0, 1.0, 1.0}; + copyArray(config->crankingCycleCoef, hardCodedcrankingCycleCoef); +} + +static void cannedcltIdleCorr() { + static const float hardCodedcltIdleCorr[16] = {1.2, 1.2, 1.2, 2.0, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 1.2, 1.2, 1.0, 1.0, 1.2}; + copyArray(config->cltIdleCorr, hardCodedcltIdleCorr); +} + +static void cannedcltCrankingCorr() { + static const float hardCodedcltCrankingCorr[8] = {1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2}; + copyArray(config->cltCrankingCorr, hardCodedcltCrankingCorr); +} + +static void cannedcltIdleRpm() { + static const float hardCodedcltIdleRpm[16] = {2200.0, 2200.0, 2200.0, 2200.0, 2200.0, 2200.0, 2200.0, 2200.0, 2200.0, 2200.0, 2200.0, 2200.0, 2200.0, 2200.0, 2200.0, 2200.0}; + copyArray(config->cltIdleRpm, hardCodedcltIdleRpm); +} + +static void cannedidleAdvanceBins() { + static const float hardCodedidleAdvanceBins[8] = {1000.0, 1200.0, 1450.0, 1650.0, 1850.0, 2050.0, 2300.0, 2500.0}; + copyArray(config->idleAdvanceBins, hardCodedidleAdvanceBins); +} + +static void cannedidleAdvance() { + static const float hardCodedidleAdvance[8] = {0.0, 0.2857, 0.5714, 0.8571, 1.1429, 1.4286, 1.7143, 2.0}; + copyArray(config->idleAdvance, hardCodedidleAdvance); +} + +static void cannedfuelLevelBins() { + static const float hardCodedfuelLevelBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(config->fuelLevelBins, hardCodedfuelLevelBins); +} + +static void cannedignBlends1_blendBins() { + static const float hardCodedignBlends1_blendBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends1_blendBins, hardCodedignBlends1_blendBins); +} + +static void cannedignBlends1_blendValues() { + static const float hardCodedignBlends1_blendValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends1_blendValues, hardCodedignBlends1_blendValues); +} + +static void cannedignBlends2_blendBins() { + static const float hardCodedignBlends2_blendBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends2_blendBins, hardCodedignBlends2_blendBins); +} + +static void cannedignBlends2_blendValues() { + static const float hardCodedignBlends2_blendValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends2_blendValues, hardCodedignBlends2_blendValues); +} + +static void cannedignBlends3_blendBins() { + static const float hardCodedignBlends3_blendBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends3_blendBins, hardCodedignBlends3_blendBins); +} + +static void cannedignBlends3_blendValues() { + static const float hardCodedignBlends3_blendValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends3_blendValues, hardCodedignBlends3_blendValues); +} + +static void cannedignBlends4_blendBins() { + static const float hardCodedignBlends4_blendBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends4_blendBins, hardCodedignBlends4_blendBins); +} + +static void cannedignBlends4_blendValues() { + static const float hardCodedignBlends4_blendValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends4_blendValues, hardCodedignBlends4_blendValues); +} + +static void cannedveBlends1_blendBins() { + static const float hardCodedveBlends1_blendBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends1_blendBins, hardCodedveBlends1_blendBins); +} + +static void cannedveBlends1_blendValues() { + static const float hardCodedveBlends1_blendValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends1_blendValues, hardCodedveBlends1_blendValues); +} + +static void cannedveBlends2_blendBins() { + static const float hardCodedveBlends2_blendBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends2_blendBins, hardCodedveBlends2_blendBins); +} + +static void cannedveBlends2_blendValues() { + static const float hardCodedveBlends2_blendValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends2_blendValues, hardCodedveBlends2_blendValues); +} + +static void cannedveBlends3_blendBins() { + static const float hardCodedveBlends3_blendBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends3_blendBins, hardCodedveBlends3_blendBins); +} + +static void cannedveBlends3_blendValues() { + static const float hardCodedveBlends3_blendValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends3_blendValues, hardCodedveBlends3_blendValues); +} + +static void cannedveBlends4_blendBins() { + static const float hardCodedveBlends4_blendBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends4_blendBins, hardCodedveBlends4_blendBins); +} + +static void cannedveBlends4_blendValues() { + static const float hardCodedveBlends4_blendValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends4_blendValues, hardCodedveBlends4_blendValues); +} + static void cannedtpsTpsAccelTable() { static const float hardCodedtpsTpsAccelTable[8][8] = { {0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, @@ -13,6 +218,11 @@ static void cannedtpsTpsAccelTable() { copyTable(config->tpsTpsAccelTable, hardCodedtpsTpsAccelTable); } +static void cannedboostRpmBins() { + static const float hardCodedboostRpmBins[8] = {0.0, 1100.0, 2300.0, 3400.0, 4600.0, 5700.0, 6900.0, 8000.0}; + copyArray(config->boostRpmBins, hardCodedboostRpmBins); +} + static void cannedboostTableOpenLoop() { static const float hardCodedboostTableOpenLoop[8][8] = { {0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, @@ -27,6 +237,11 @@ static void cannedboostTableOpenLoop() { copyTable(config->boostTableOpenLoop, hardCodedboostTableOpenLoop); } +static void cannedscriptTable4RpmBins() { + static const float hardCodedscriptTable4RpmBins[10] = {650.0, 767.0, 1300.0, 2000.0, 2700.0, 3400.0, 4100.0, 4800.0, 5678.0, 7000.0}; + copyArray(config->scriptTable4RpmBins, hardCodedscriptTable4RpmBins); +} + static void cannedscriptTable4() { static const float hardCodedscriptTable4[8][10] = { {0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, @@ -41,6 +256,16 @@ static void cannedscriptTable4() { copyTable(config->scriptTable4, hardCodedscriptTable4); } +static void cannedignitionRpmBins() { + static const float hardCodedignitionRpmBins[16] = {1200.0, 1500.0, 2000.0, 3000.0, 4000.0, 4500.0, 5000.0, 5500.0, 6000.0, 6500.0, 7000.0, 7500.0, 8000.0, 8500.0, 9000.0, 10000.0}; + copyArray(config->ignitionRpmBins, hardCodedignitionRpmBins); +} + +static void cannedignitionLoadBins() { + static const float hardCodedignitionLoadBins[16] = {0.0, 2.0, 4.0, 6.0, 8.0, 10.0, 20.0, 25.0, 30.0, 40.0, 50.0, 60.0, 70.0, 80.0, 90.0, 100.0}; + copyArray(config->ignitionLoadBins, hardCodedignitionLoadBins); +} + static void cannedignitionTable() { static const float hardCodedignitionTable[16][16] = { {10.000, 5.000, -5.000, 0.000, 2.100, 2.900, -20.000, -20.000, -20.000, -20.000, -20.000, -20.000, 0.200, 20.600, 41.000, 41.000, }, @@ -63,6 +288,96 @@ static void cannedignitionTable() { copyTable(config->ignitionTable, hardCodedignitionTable); } +static void cannedignBlends1_rpmBins() { + static const float hardCodedignBlends1_rpmBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends1_rpmBins, hardCodedignBlends1_rpmBins); +} + +static void cannedignBlends1_loadBins() { + static const float hardCodedignBlends1_loadBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends1_loadBins, hardCodedignBlends1_loadBins); +} + +static void cannedignBlends2_rpmBins() { + static const float hardCodedignBlends2_rpmBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends2_rpmBins, hardCodedignBlends2_rpmBins); +} + +static void cannedignBlends2_loadBins() { + static const float hardCodedignBlends2_loadBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends2_loadBins, hardCodedignBlends2_loadBins); +} + +static void cannedignBlends3_rpmBins() { + static const float hardCodedignBlends3_rpmBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends3_rpmBins, hardCodedignBlends3_rpmBins); +} + +static void cannedignBlends3_loadBins() { + static const float hardCodedignBlends3_loadBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends3_loadBins, hardCodedignBlends3_loadBins); +} + +static void cannedignBlends4_rpmBins() { + static const float hardCodedignBlends4_rpmBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends4_rpmBins, hardCodedignBlends4_rpmBins); +} + +static void cannedignBlends4_loadBins() { + static const float hardCodedignBlends4_loadBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends4_loadBins, hardCodedignBlends4_loadBins); +} + +static void cannedveBlends1_rpmBins() { + static const float hardCodedveBlends1_rpmBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends1_rpmBins, hardCodedveBlends1_rpmBins); +} + +static void cannedveBlends1_loadBins() { + static const float hardCodedveBlends1_loadBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends1_loadBins, hardCodedveBlends1_loadBins); +} + +static void cannedveBlends2_rpmBins() { + static const float hardCodedveBlends2_rpmBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends2_rpmBins, hardCodedveBlends2_rpmBins); +} + +static void cannedveBlends2_loadBins() { + static const float hardCodedveBlends2_loadBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends2_loadBins, hardCodedveBlends2_loadBins); +} + +static void cannedveBlends3_rpmBins() { + static const float hardCodedveBlends3_rpmBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends3_rpmBins, hardCodedveBlends3_rpmBins); +} + +static void cannedveBlends3_loadBins() { + static const float hardCodedveBlends3_loadBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends3_loadBins, hardCodedveBlends3_loadBins); +} + +static void cannedveBlends4_rpmBins() { + static const float hardCodedveBlends4_rpmBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends4_rpmBins, hardCodedveBlends4_rpmBins); +} + +static void cannedveBlends4_loadBins() { + static const float hardCodedveBlends4_loadBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends4_loadBins, hardCodedveBlends4_loadBins); +} + +static void cannedveRpmBins() { + static const float hardCodedveRpmBins[16] = {1200.0, 1500.0, 2000.0, 3000.0, 4000.0, 4500.0, 5000.0, 5500.0, 6000.0, 6500.0, 7000.0, 7500.0, 8000.0, 8500.0, 9000.0, 10000.0}; + copyArray(config->veRpmBins, hardCodedveRpmBins); +} + +static void cannedveLoadBins() { + static const float hardCodedveLoadBins[16] = {0.0, 2.0, 4.0, 6.0, 8.0, 10.0, 20.0, 25.0, 30.0, 40.0, 50.0, 60.0, 70.0, 80.0, 90.0, 100.0}; + copyArray(config->veLoadBins, hardCodedveLoadBins); +} + static void cannedveTable() { static const float hardCodedveTable[16][16] = { {20.000, 20.000, 20.000, 20.000, 25.000, 25.000, 10.000, 10.000, 10.000, 10.000, 10.000, 10.000, 10.000, 15.000, 15.000, 15.000, }, @@ -85,6 +400,36 @@ static void cannedveTable() { copyTable(config->veTable, hardCodedveTable); } +static void cannedfuelTrimRpmBins() { + static const float hardCodedfuelTrimRpmBins[4] = {0.0, 0.0, 0.0, 0.0}; + copyArray(config->fuelTrimRpmBins, hardCodedfuelTrimRpmBins); +} + +static void cannedfuelTrimLoadBins() { + static const float hardCodedfuelTrimLoadBins[4] = {0.0, 0.0, 0.0, 0.0}; + copyArray(config->fuelTrimLoadBins, hardCodedfuelTrimLoadBins); +} + +static void cannedignTrimRpmBins() { + static const float hardCodedignTrimRpmBins[4] = {0.0, 0.0, 0.0, 0.0}; + copyArray(config->ignTrimRpmBins, hardCodedignTrimRpmBins); +} + +static void cannedignTrimLoadBins() { + static const float hardCodedignTrimLoadBins[4] = {0.0, 0.0, 0.0, 0.0}; + copyArray(config->ignTrimLoadBins, hardCodedignTrimLoadBins); +} + +static void cannedmapEstimateRpmBins() { + static const float hardCodedmapEstimateRpmBins[16] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(config->mapEstimateRpmBins, hardCodedmapEstimateRpmBins); +} + +static void cannedmapEstimateTpsBins() { + static const float hardCodedmapEstimateTpsBins[16] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(config->mapEstimateTpsBins, hardCodedmapEstimateTpsBins); +} + static void cannedmapEstimateTable() { static const float hardCodedmapEstimateTable[16][16] = { {0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, @@ -107,6 +452,11 @@ static void cannedmapEstimateTable() { copyTable(config->mapEstimateTable, hardCodedmapEstimateTable); } +static void cannedpedalToTpsRpmBins() { + static const float hardCodedpedalToTpsRpmBins[8] = {0.0, 1100.0, 2300.0, 3400.0, 4600.0, 5700.0, 6900.0, 8000.0}; + copyArray(config->pedalToTpsRpmBins, hardCodedpedalToTpsRpmBins); +} + static void cannedlambdaTable() { static const float hardCodedlambdaTable[16][16] = { {14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, }, @@ -129,6 +479,20 @@ static void cannedlambdaTable() { copyTable(config->lambdaTable, hardCodedlambdaTable); } +static void cannedgppwm4_table() { + static const float hardCodedgppwm4_table[8][8] = { +{50.000, 50.000, 50.000, 50.000, 50.000, 50.000, 50.000, 50.000, }, +{50.000, 50.000, 50.000, 50.000, 50.000, 50.000, 50.000, 50.000, }, +{50.000, 50.000, 50.000, 50.000, 50.000, 50.000, 50.000, 50.000, }, +{50.000, 50.000, 50.000, 50.000, 50.000, 50.000, 50.000, 50.000, }, +{50.000, 50.000, 50.000, 50.000, 50.000, 50.000, 50.000, 50.000, }, +{50.000, 50.000, 50.000, 50.000, 50.000, 50.000, 50.000, 50.000, }, +{50.000, 50.000, 50.000, 50.000, 50.000, 50.000, 50.000, 50.000, }, +{50.000, 50.000, 50.000, 50.000, 50.000, 50.000, 50.000, 50.000, }, +}; + copyTable(engineConfiguration->gppwm4.gppwm4_table, hardCodedgppwm4_table); +} + static void cannedtcuSolenoidTable() { static const float hardCodedtcuSolenoidTable[6][10] = { {0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, @@ -141,6 +505,16 @@ static void cannedtcuSolenoidTable() { copyTable(config->tcuSolenoidTable, hardCodedtcuSolenoidTable); } +static void cannedhpfpTargetRpmBins() { + static const float hardCodedhpfpTargetRpmBins[10] = {0.0, 900.0, 1800.0, 2650.0, 3550.0, 4450.0, 5350.0, 6200.0, 7100.0, 8000.0}; + copyArray(config->hpfpTargetRpmBins, hardCodedhpfpTargetRpmBins); +} + +static void cannedhpfpCompensationRpmBins() { + static const float hardCodedhpfpCompensationRpmBins[10] = {0.0, 900.0, 1800.0, 2650.0, 3550.0, 4450.0, 5350.0, 6200.0, 7100.0, 8000.0}; + copyArray(config->hpfpCompensationRpmBins, hardCodedhpfpCompensationRpmBins); +} + static void cannedpostCrankingFactor() { static const float hardCodedpostCrankingFactor[6][6] = { {1.200, 1.000, 1.000, 1.000, 1.000, 1.000, }, diff --git a/generated/canned-tunes/M52-comparing-against-global-defaults.md b/generated/canned-tunes/M52-comparing-against-global-defaults.md index 4cbedc6..9122d45 100644 --- a/generated/canned-tunes/M52-comparing-against-global-defaults.md +++ b/generated/canned-tunes/M52-comparing-against-global-defaults.md @@ -195,13 +195,86 @@ engineConfiguration->hpfpPidI = 0; + cannedsparkDwellRpmBins(); + cannedsparkDwellValues(); + canneddwellVoltageCorrVoltBins(); + canneddwellVoltageCorrValues(); + cannedtpsTspCorrValuesBins(); + cannedtpsTspCorrValues(); + cannedprimeBins(); + cannedprimeValues(); + cannedmap_samplingAngleBins(); + cannedmap_samplingAngle(); + cannedmap_samplingWindowBins(); + cannedmap_samplingWindow(); + cannedvrThreshold1_rpmBins(); + cannedvrThreshold2_rpmBins(); + cannedmafDecodingBins(); + cannedcltFuelCorr(); + cannedcrankingFuelCoef(); + cannedcltRevLimitRpmBins(); + cannedcrankingCycleCoef(); + cannedcltIdleCorr(); + cannedcltCrankingCorr(); + cannedcltIdleRpm(); + cannedidleAdvanceBins(); + cannedidleAdvance(); + cannedfuelLevelBins(); + cannedignBlends1_blendBins(); + cannedignBlends1_blendValues(); + cannedignBlends2_blendBins(); + cannedignBlends2_blendValues(); + cannedignBlends3_blendBins(); + cannedignBlends3_blendValues(); + cannedignBlends4_blendBins(); + cannedignBlends4_blendValues(); + cannedveBlends1_blendBins(); + cannedveBlends1_blendValues(); + cannedveBlends2_blendBins(); + cannedveBlends2_blendValues(); + cannedveBlends3_blendBins(); + cannedveBlends3_blendValues(); + cannedveBlends4_blendBins(); + cannedveBlends4_blendValues(); cannedtpsTpsAccelTable(); + cannedboostRpmBins(); cannedboostTableOpenLoop(); + cannedscriptTable4RpmBins(); cannedscriptTable4(); + cannedignitionRpmBins(); + cannedignitionLoadBins(); cannedignitionTable(); + cannedignBlends1_rpmBins(); + cannedignBlends1_loadBins(); + cannedignBlends2_rpmBins(); + cannedignBlends2_loadBins(); + cannedignBlends3_rpmBins(); + cannedignBlends3_loadBins(); + cannedignBlends4_rpmBins(); + cannedignBlends4_loadBins(); + cannedveBlends1_rpmBins(); + cannedveBlends1_loadBins(); + cannedveBlends2_rpmBins(); + cannedveBlends2_loadBins(); + cannedveBlends3_rpmBins(); + cannedveBlends3_loadBins(); + cannedveBlends4_rpmBins(); + cannedveBlends4_loadBins(); + cannedveRpmBins(); + cannedveLoadBins(); cannedveTable(); + cannedfuelTrimRpmBins(); + cannedfuelTrimLoadBins(); + cannedignTrimRpmBins(); + cannedignTrimLoadBins(); + cannedmapEstimateRpmBins(); + cannedmapEstimateTpsBins(); cannedmapEstimateTable(); + cannedpedalToTpsRpmBins(); cannedlambdaTable(); + cannedgppwm4_table(); cannedtcuSolenoidTable(); + cannedhpfpTargetRpmBins(); + cannedhpfpCompensationRpmBins(); cannedpostCrankingFactor(); ``` diff --git a/generated/canned-tunes/M52-comparing-against-global-defaults_methods.md b/generated/canned-tunes/M52-comparing-against-global-defaults_methods.md index de79881..31562ca 100644 --- a/generated/canned-tunes/M52-comparing-against-global-defaults_methods.md +++ b/generated/canned-tunes/M52-comparing-against-global-defaults_methods.md @@ -1,4 +1,209 @@ ``` +static void cannedsparkDwellRpmBins() { + static const float hardCodedsparkDwellRpmBins[8] = {0.0, 500.0, 2000.0, 3000.0, 4000.0, 5000.0, 6000.0, 7000.0}; + copyArray(config->sparkDwellRpmBins, hardCodedsparkDwellRpmBins); +} + +static void cannedsparkDwellValues() { + static const float hardCodedsparkDwellValues[8] = {5.4, 3.1, 3.05, 3.0, 2.95, 2.9, 2.85, 2.8}; + copyArray(config->sparkDwellValues, hardCodedsparkDwellValues); +} + +static void canneddwellVoltageCorrVoltBins() { + static const float hardCodeddwellVoltageCorrVoltBins[8] = {8.0, 10.0, 11.0, 12.0, 13.0, 14.0, 15.0, 16.0}; + copyArray(config->dwellVoltageCorrVoltBins, hardCodeddwellVoltageCorrVoltBins); +} + +static void canneddwellVoltageCorrValues() { + static const float hardCodeddwellVoltageCorrValues[8] = {1.4, 1.32, 1.24, 1.12, 1.08, 1.02, 0.92, 0.84}; + copyArray(config->dwellVoltageCorrValues, hardCodeddwellVoltageCorrValues); +} + +static void cannedtpsTspCorrValuesBins() { + static const float hardCodedtpsTspCorrValuesBins[4] = {3000.0, 5000.0, 7000.0, 9000.0}; + copyArray(config->tpsTspCorrValuesBins, hardCodedtpsTspCorrValuesBins); +} + +static void cannedtpsTspCorrValues() { + static const float hardCodedtpsTspCorrValues[4] = {1.0, 0.4, 0.2, 0.02}; + copyArray(config->tpsTspCorrValues, hardCodedtpsTspCorrValues); +} + +static void cannedprimeBins() { + static const float hardCodedprimeBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->primeBins, hardCodedprimeBins); +} + +static void cannedprimeValues() { + static const float hardCodedprimeValues[8] = {50.0, 50.0, 50.0, 50.0, 50.0, 50.0, 50.0, 50.0}; + copyArray(engineConfiguration->primeValues, hardCodedprimeValues); +} + +static void cannedmap_samplingAngleBins() { + static const float hardCodedmap_samplingAngleBins[8] = {800.0, 1686.0, 2571.0, 3457.0, 4343.0, 5229.0, 6114.0, 7000.0}; + copyArray(engineConfiguration->map.map_samplingAngleBins, hardCodedmap_samplingAngleBins); +} + +static void cannedmap_samplingAngle() { + static const float hardCodedmap_samplingAngle[8] = {400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0, 400.0}; + copyArray(engineConfiguration->map.map_samplingAngle, hardCodedmap_samplingAngle); +} + +static void cannedmap_samplingWindowBins() { + static const float hardCodedmap_samplingWindowBins[8] = {800.0, 1686.0, 2571.0, 3457.0, 4343.0, 5229.0, 6114.0, 7000.0}; + copyArray(engineConfiguration->map.map_samplingWindowBins, hardCodedmap_samplingWindowBins); +} + +static void cannedmap_samplingWindow() { + static const float hardCodedmap_samplingWindow[8] = {150.0, 150.0, 150.0, 50.0, 50.0, 50.0, 50.0, 50.0}; + copyArray(engineConfiguration->map.map_samplingWindow, hardCodedmap_samplingWindow); +} + +static void cannedvrThreshold1_rpmBins() { + static const float hardCodedvrThreshold1_rpmBins[6] = {600.0, 1900.0, 3200.0, 4400.0, 5700.0, 7000.0}; + copyArray(engineConfiguration->vrThreshold2.vrThreshold1_rpmBins, hardCodedvrThreshold1_rpmBins); +} + +static void cannedvrThreshold2_rpmBins() { + static const float hardCodedvrThreshold2_rpmBins[6] = {600.0, 1900.0, 3200.0, 4400.0, 5700.0, 7000.0}; + copyArray(engineConfiguration->vrThreshold2.vrThreshold2_rpmBins, hardCodedvrThreshold2_rpmBins); +} + +static void cannedmafDecodingBins() { + static const float hardCodedmafDecodingBins[32] = {0.0, 0.78125, 1.3867188, 2.9101562, 4.2578125, 4.9804688, 2016.0, 2017.0, 2018.0, 2019.0, 2020.0, 2021.0, 2022.0, 2023.0, 2024.0, 2025.0, 2026.0, 2027.0, 2028.0, 2029.0, 2030.0, 2031.0, 2032.0, 2033.0, 2034.0, 2035.0, 2036.0, 2037.0, 2038.0, 2039.0, 2040.0, 2041.0}; + copyArray(config->mafDecodingBins, hardCodedmafDecodingBins); +} + +static void cannedcltFuelCorr() { + static const float hardCodedcltFuelCorr[16] = {1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0}; + copyArray(config->cltFuelCorr, hardCodedcltFuelCorr); +} + +static void cannedcrankingFuelCoef() { + static const float hardCodedcrankingFuelCoef[8] = {1.2, 1.2, 1.2, 1.2, 1.1333333, 1.0666667, 1.0, 1.0}; + copyArray(config->crankingFuelCoef, hardCodedcrankingFuelCoef); +} + +static void cannedcltRevLimitRpmBins() { + static const float hardCodedcltRevLimitRpmBins[4] = {0.0, 0.0, 0.0, 0.0}; + copyArray(config->cltRevLimitRpmBins, hardCodedcltRevLimitRpmBins); +} + +static void cannedcrankingCycleCoef() { + static const float hardCodedcrankingCycleCoef[8] = {2.5, 1.8, 1.5, 1.0, 1.0, 1.0, 1.0, 1.0}; + copyArray(config->crankingCycleCoef, hardCodedcrankingCycleCoef); +} + +static void cannedcltIdleCorr() { + static const float hardCodedcltIdleCorr[16] = {1.2, 1.2, 1.2, 2.0, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 1.2, 1.2, 1.0, 1.0, 1.2}; + copyArray(config->cltIdleCorr, hardCodedcltIdleCorr); +} + +static void cannedcltCrankingCorr() { + static const float hardCodedcltCrankingCorr[8] = {1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2}; + copyArray(config->cltCrankingCorr, hardCodedcltCrankingCorr); +} + +static void cannedcltIdleRpm() { + static const float hardCodedcltIdleRpm[16] = {2200.0, 2200.0, 2200.0, 2200.0, 2200.0, 2200.0, 2200.0, 2200.0, 2200.0, 2200.0, 2200.0, 2200.0, 2200.0, 2200.0, 2200.0, 2200.0}; + copyArray(config->cltIdleRpm, hardCodedcltIdleRpm); +} + +static void cannedidleAdvanceBins() { + static const float hardCodedidleAdvanceBins[8] = {1000.0, 1200.0, 1450.0, 1650.0, 1850.0, 2050.0, 2300.0, 2500.0}; + copyArray(config->idleAdvanceBins, hardCodedidleAdvanceBins); +} + +static void cannedidleAdvance() { + static const float hardCodedidleAdvance[8] = {0.0, 0.2857, 0.5714, 0.8571, 1.1429, 1.4286, 1.7143, 2.0}; + copyArray(config->idleAdvance, hardCodedidleAdvance); +} + +static void cannedfuelLevelBins() { + static const float hardCodedfuelLevelBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(config->fuelLevelBins, hardCodedfuelLevelBins); +} + +static void cannedignBlends1_blendBins() { + static const float hardCodedignBlends1_blendBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends1_blendBins, hardCodedignBlends1_blendBins); +} + +static void cannedignBlends1_blendValues() { + static const float hardCodedignBlends1_blendValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends1_blendValues, hardCodedignBlends1_blendValues); +} + +static void cannedignBlends2_blendBins() { + static const float hardCodedignBlends2_blendBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends2_blendBins, hardCodedignBlends2_blendBins); +} + +static void cannedignBlends2_blendValues() { + static const float hardCodedignBlends2_blendValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends2_blendValues, hardCodedignBlends2_blendValues); +} + +static void cannedignBlends3_blendBins() { + static const float hardCodedignBlends3_blendBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends3_blendBins, hardCodedignBlends3_blendBins); +} + +static void cannedignBlends3_blendValues() { + static const float hardCodedignBlends3_blendValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends3_blendValues, hardCodedignBlends3_blendValues); +} + +static void cannedignBlends4_blendBins() { + static const float hardCodedignBlends4_blendBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends4_blendBins, hardCodedignBlends4_blendBins); +} + +static void cannedignBlends4_blendValues() { + static const float hardCodedignBlends4_blendValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends4_blendValues, hardCodedignBlends4_blendValues); +} + +static void cannedveBlends1_blendBins() { + static const float hardCodedveBlends1_blendBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends1_blendBins, hardCodedveBlends1_blendBins); +} + +static void cannedveBlends1_blendValues() { + static const float hardCodedveBlends1_blendValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends1_blendValues, hardCodedveBlends1_blendValues); +} + +static void cannedveBlends2_blendBins() { + static const float hardCodedveBlends2_blendBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends2_blendBins, hardCodedveBlends2_blendBins); +} + +static void cannedveBlends2_blendValues() { + static const float hardCodedveBlends2_blendValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends2_blendValues, hardCodedveBlends2_blendValues); +} + +static void cannedveBlends3_blendBins() { + static const float hardCodedveBlends3_blendBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends3_blendBins, hardCodedveBlends3_blendBins); +} + +static void cannedveBlends3_blendValues() { + static const float hardCodedveBlends3_blendValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends3_blendValues, hardCodedveBlends3_blendValues); +} + +static void cannedveBlends4_blendBins() { + static const float hardCodedveBlends4_blendBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends4_blendBins, hardCodedveBlends4_blendBins); +} + +static void cannedveBlends4_blendValues() { + static const float hardCodedveBlends4_blendValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends4_blendValues, hardCodedveBlends4_blendValues); +} + static void cannedtpsTpsAccelTable() { static const float hardCodedtpsTpsAccelTable[8][8] = { {0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, @@ -13,6 +218,11 @@ static void cannedtpsTpsAccelTable() { copyTable(config->tpsTpsAccelTable, hardCodedtpsTpsAccelTable); } +static void cannedboostRpmBins() { + static const float hardCodedboostRpmBins[8] = {0.0, 1100.0, 2300.0, 3400.0, 4600.0, 5700.0, 6900.0, 8000.0}; + copyArray(config->boostRpmBins, hardCodedboostRpmBins); +} + static void cannedboostTableOpenLoop() { static const float hardCodedboostTableOpenLoop[8][8] = { {0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, @@ -27,6 +237,11 @@ static void cannedboostTableOpenLoop() { copyTable(config->boostTableOpenLoop, hardCodedboostTableOpenLoop); } +static void cannedscriptTable4RpmBins() { + static const float hardCodedscriptTable4RpmBins[10] = {650.0, 767.0, 1300.0, 2000.0, 2700.0, 3400.0, 4100.0, 4800.0, 5678.0, 7000.0}; + copyArray(config->scriptTable4RpmBins, hardCodedscriptTable4RpmBins); +} + static void cannedscriptTable4() { static const float hardCodedscriptTable4[8][10] = { {0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, @@ -41,6 +256,16 @@ static void cannedscriptTable4() { copyTable(config->scriptTable4, hardCodedscriptTable4); } +static void cannedignitionRpmBins() { + static const float hardCodedignitionRpmBins[16] = {1200.0, 1500.0, 2000.0, 3000.0, 4000.0, 4500.0, 5000.0, 5500.0, 6000.0, 6500.0, 7000.0, 7500.0, 8000.0, 8500.0, 9000.0, 10000.0}; + copyArray(config->ignitionRpmBins, hardCodedignitionRpmBins); +} + +static void cannedignitionLoadBins() { + static const float hardCodedignitionLoadBins[16] = {0.0, 2.0, 4.0, 6.0, 8.0, 10.0, 20.0, 25.0, 30.0, 40.0, 50.0, 60.0, 70.0, 80.0, 90.0, 100.0}; + copyArray(config->ignitionLoadBins, hardCodedignitionLoadBins); +} + static void cannedignitionTable() { static const float hardCodedignitionTable[16][16] = { {10.000, 5.000, -5.000, 0.000, 2.100, 2.900, -20.000, -20.000, -20.000, -20.000, -20.000, -20.000, 0.200, 20.600, 41.000, 41.000, }, @@ -63,6 +288,96 @@ static void cannedignitionTable() { copyTable(config->ignitionTable, hardCodedignitionTable); } +static void cannedignBlends1_rpmBins() { + static const float hardCodedignBlends1_rpmBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends1_rpmBins, hardCodedignBlends1_rpmBins); +} + +static void cannedignBlends1_loadBins() { + static const float hardCodedignBlends1_loadBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends1_loadBins, hardCodedignBlends1_loadBins); +} + +static void cannedignBlends2_rpmBins() { + static const float hardCodedignBlends2_rpmBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends2_rpmBins, hardCodedignBlends2_rpmBins); +} + +static void cannedignBlends2_loadBins() { + static const float hardCodedignBlends2_loadBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends2_loadBins, hardCodedignBlends2_loadBins); +} + +static void cannedignBlends3_rpmBins() { + static const float hardCodedignBlends3_rpmBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends3_rpmBins, hardCodedignBlends3_rpmBins); +} + +static void cannedignBlends3_loadBins() { + static const float hardCodedignBlends3_loadBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends3_loadBins, hardCodedignBlends3_loadBins); +} + +static void cannedignBlends4_rpmBins() { + static const float hardCodedignBlends4_rpmBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends4_rpmBins, hardCodedignBlends4_rpmBins); +} + +static void cannedignBlends4_loadBins() { + static const float hardCodedignBlends4_loadBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends4_loadBins, hardCodedignBlends4_loadBins); +} + +static void cannedveBlends1_rpmBins() { + static const float hardCodedveBlends1_rpmBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends1_rpmBins, hardCodedveBlends1_rpmBins); +} + +static void cannedveBlends1_loadBins() { + static const float hardCodedveBlends1_loadBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends1_loadBins, hardCodedveBlends1_loadBins); +} + +static void cannedveBlends2_rpmBins() { + static const float hardCodedveBlends2_rpmBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends2_rpmBins, hardCodedveBlends2_rpmBins); +} + +static void cannedveBlends2_loadBins() { + static const float hardCodedveBlends2_loadBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends2_loadBins, hardCodedveBlends2_loadBins); +} + +static void cannedveBlends3_rpmBins() { + static const float hardCodedveBlends3_rpmBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends3_rpmBins, hardCodedveBlends3_rpmBins); +} + +static void cannedveBlends3_loadBins() { + static const float hardCodedveBlends3_loadBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends3_loadBins, hardCodedveBlends3_loadBins); +} + +static void cannedveBlends4_rpmBins() { + static const float hardCodedveBlends4_rpmBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends4_rpmBins, hardCodedveBlends4_rpmBins); +} + +static void cannedveBlends4_loadBins() { + static const float hardCodedveBlends4_loadBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends4_loadBins, hardCodedveBlends4_loadBins); +} + +static void cannedveRpmBins() { + static const float hardCodedveRpmBins[16] = {1200.0, 1500.0, 2000.0, 3000.0, 4000.0, 4500.0, 5000.0, 5500.0, 6000.0, 6500.0, 7000.0, 7500.0, 8000.0, 8500.0, 9000.0, 10000.0}; + copyArray(config->veRpmBins, hardCodedveRpmBins); +} + +static void cannedveLoadBins() { + static const float hardCodedveLoadBins[16] = {0.0, 2.0, 4.0, 6.0, 8.0, 10.0, 20.0, 25.0, 30.0, 40.0, 50.0, 60.0, 70.0, 80.0, 90.0, 100.0}; + copyArray(config->veLoadBins, hardCodedveLoadBins); +} + static void cannedveTable() { static const float hardCodedveTable[16][16] = { {20.000, 20.000, 20.000, 20.000, 25.000, 25.000, 10.000, 10.000, 10.000, 10.000, 10.000, 10.000, 10.000, 15.000, 15.000, 15.000, }, @@ -85,6 +400,36 @@ static void cannedveTable() { copyTable(config->veTable, hardCodedveTable); } +static void cannedfuelTrimRpmBins() { + static const float hardCodedfuelTrimRpmBins[4] = {0.0, 0.0, 0.0, 0.0}; + copyArray(config->fuelTrimRpmBins, hardCodedfuelTrimRpmBins); +} + +static void cannedfuelTrimLoadBins() { + static const float hardCodedfuelTrimLoadBins[4] = {0.0, 0.0, 0.0, 0.0}; + copyArray(config->fuelTrimLoadBins, hardCodedfuelTrimLoadBins); +} + +static void cannedignTrimRpmBins() { + static const float hardCodedignTrimRpmBins[4] = {0.0, 0.0, 0.0, 0.0}; + copyArray(config->ignTrimRpmBins, hardCodedignTrimRpmBins); +} + +static void cannedignTrimLoadBins() { + static const float hardCodedignTrimLoadBins[4] = {0.0, 0.0, 0.0, 0.0}; + copyArray(config->ignTrimLoadBins, hardCodedignTrimLoadBins); +} + +static void cannedmapEstimateRpmBins() { + static const float hardCodedmapEstimateRpmBins[16] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(config->mapEstimateRpmBins, hardCodedmapEstimateRpmBins); +} + +static void cannedmapEstimateTpsBins() { + static const float hardCodedmapEstimateTpsBins[16] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(config->mapEstimateTpsBins, hardCodedmapEstimateTpsBins); +} + static void cannedmapEstimateTable() { static const float hardCodedmapEstimateTable[16][16] = { {0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, @@ -107,6 +452,11 @@ static void cannedmapEstimateTable() { copyTable(config->mapEstimateTable, hardCodedmapEstimateTable); } +static void cannedpedalToTpsRpmBins() { + static const float hardCodedpedalToTpsRpmBins[8] = {0.0, 1100.0, 2300.0, 3400.0, 4600.0, 5700.0, 6900.0, 8000.0}; + copyArray(config->pedalToTpsRpmBins, hardCodedpedalToTpsRpmBins); +} + static void cannedlambdaTable() { static const float hardCodedlambdaTable[16][16] = { {14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, }, @@ -129,6 +479,20 @@ static void cannedlambdaTable() { copyTable(config->lambdaTable, hardCodedlambdaTable); } +static void cannedgppwm4_table() { + static const float hardCodedgppwm4_table[8][8] = { +{50.000, 50.000, 50.000, 50.000, 50.000, 50.000, 50.000, 50.000, }, +{50.000, 50.000, 50.000, 50.000, 50.000, 50.000, 50.000, 50.000, }, +{50.000, 50.000, 50.000, 50.000, 50.000, 50.000, 50.000, 50.000, }, +{50.000, 50.000, 50.000, 50.000, 50.000, 50.000, 50.000, 50.000, }, +{50.000, 50.000, 50.000, 50.000, 50.000, 50.000, 50.000, 50.000, }, +{50.000, 50.000, 50.000, 50.000, 50.000, 50.000, 50.000, 50.000, }, +{50.000, 50.000, 50.000, 50.000, 50.000, 50.000, 50.000, 50.000, }, +{50.000, 50.000, 50.000, 50.000, 50.000, 50.000, 50.000, 50.000, }, +}; + copyTable(engineConfiguration->gppwm4.gppwm4_table, hardCodedgppwm4_table); +} + static void cannedtcuSolenoidTable() { static const float hardCodedtcuSolenoidTable[6][10] = { {0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, @@ -141,6 +505,16 @@ static void cannedtcuSolenoidTable() { copyTable(config->tcuSolenoidTable, hardCodedtcuSolenoidTable); } +static void cannedhpfpTargetRpmBins() { + static const float hardCodedhpfpTargetRpmBins[10] = {0.0, 900.0, 1800.0, 2650.0, 3550.0, 4450.0, 5350.0, 6200.0, 7100.0, 8000.0}; + copyArray(config->hpfpTargetRpmBins, hardCodedhpfpTargetRpmBins); +} + +static void cannedhpfpCompensationRpmBins() { + static const float hardCodedhpfpCompensationRpmBins[10] = {0.0, 900.0, 1800.0, 2650.0, 3550.0, 4450.0, 5350.0, 6200.0, 7100.0, 8000.0}; + copyArray(config->hpfpCompensationRpmBins, hardCodedhpfpCompensationRpmBins); +} + static void cannedpostCrankingFactor() { static const float hardCodedpostCrankingFactor[6][6] = { {1.200, 1.000, 1.000, 1.000, 1.000, 1.000, }, diff --git a/generated/canned-tunes/MazdaMiataNB2-comparing-against-current-MazdaMiataNB2-default.md b/generated/canned-tunes/MazdaMiataNB2-comparing-against-current-MazdaMiataNB2-default.md index e90d9fe..4c18aea 100644 --- a/generated/canned-tunes/MazdaMiataNB2-comparing-against-current-MazdaMiataNB2-default.md +++ b/generated/canned-tunes/MazdaMiataNB2-comparing-against-current-MazdaMiataNB2-default.md @@ -269,18 +269,77 @@ engineConfiguration->hpfpPidI = 0; + nb2cannedknockNoiseRpmBins(); + nb2cannedknockBaseNoise(); + nb2cannedscriptCurve5Bins(); + nb2cannedscriptCurve6Bins(); + nb2cannedsparkDwellRpmBins(); + nb2cannedsparkDwellValues(); + nb2canneddwellVoltageCorrVoltBins(); + nb2canneddwellVoltageCorrValues(); + nb2cannedprimeBins(); + nb2cannedprimeValues(); + nb2cannedmap_samplingAngleBins(); + nb2cannedmap_samplingWindowBins(); + nb2cannedinjector_battLagCorrBins(); + nb2cannedinjector_battLagCorr(); + nb2cannedvrThreshold1_rpmBins(); + nb2cannedvrThreshold1_values(); + nb2cannedvrThreshold2_rpmBins(); + nb2cannedvrThreshold2_values(); + nb2cannedmafDecodingBins(); + nb2cannedcltFuelCorr(); + nb2cannedcrankingFuelCoef(); + nb2cannedcrankingFuelCoefE100(); + nb2cannedcltRevLimitRpmBins(); + nb2cannedcrankingCycleCoef(); + nb2cannedcltIdleCorrBins(); + nb2cannedcltIdleCorr(); + nb2cannedcltCrankingCorr(); + nb2cannedcltIdleRpmBins(); + nb2cannedcltIdleRpm(); + nb2cannedidleAdvanceBins(); + nb2cannedidleAdvance(); + nb2cannedfuelLevelBins(); + nb2cannedhpfpLobeProfileQuantityBins(); + nb2cannedhpfpLobeProfileAngle(); + nb2cannedhpfpDeadtimeVoltsBins(); nb2cannedtpsTpsAccelTable(); + nb2cannedboostRpmBins(); + nb2cannedboostTpsBins(); nb2cannedboostTableOpenLoop(); nb2cannedboostTableClosedLoop(); + nb2cannedvvtTable1RpmBins(); nb2cannedvvtTable1(); + nb2cannedscriptTable4RpmBins(); nb2cannedscriptTable4(); + nb2cannedignitionRpmBins(); + nb2cannedignitionLoadBins(); nb2cannedignitionTable(); + nb2cannedignitionIatCorrLoadBins(); nb2cannedignitionIatCorrTable(); + nb2cannedveRpmBins(); + nb2cannedveLoadBins(); nb2cannedveTable(); + nb2cannedidleVeRpmBins(); + nb2cannedidleVeLoadBins(); nb2cannedidleVeTable(); + nb2cannedfuelTrimRpmBins(); + nb2cannedfuelTrimLoadBins(); + nb2cannedignTrimRpmBins(); + nb2cannedignTrimLoadBins(); + nb2cannedmapEstimateRpmBins(); + nb2cannedmapEstimateTpsBins(); nb2cannedmapEstimateTable(); nb2cannedinjectionPhase(); + nb2cannedpedalToTpsRpmBins(); + nb2cannedlambdaRpmBins(); + nb2cannedlambdaLoadBins(); nb2cannedlambdaTable(); nb2cannedtcuSolenoidTable(); + nb2cannedhpfpTargetRpmBins(); + nb2cannedhpfpTargetLoadBins(); + nb2cannedhpfpCompensationRpmBins(); + nb2cannedhpfpCompensationLoadBins(); nb2cannedpostCrankingFactor(); ``` diff --git a/generated/canned-tunes/MazdaMiataNB2-comparing-against-current-MazdaMiataNB2-default_methods.md b/generated/canned-tunes/MazdaMiataNB2-comparing-against-current-MazdaMiataNB2-default_methods.md index 1a633f0..35c84f8 100644 --- a/generated/canned-tunes/MazdaMiataNB2-comparing-against-current-MazdaMiataNB2-default_methods.md +++ b/generated/canned-tunes/MazdaMiataNB2-comparing-against-current-MazdaMiataNB2-default_methods.md @@ -1,4 +1,179 @@ ``` +static void nb2cannedknockNoiseRpmBins() { + static const float hardCodedknockNoiseRpmBins[16] = {650.0, 700.0, 800.0, 1150.0, 1600.0, 2000.0, 2400.0, 2850.0, 3250.0, 3700.0, 4100.0, 4500.0, 4950.0, 5400.0, 6200.0, 7000.0}; + copyArray(config->knockNoiseRpmBins, hardCodedknockNoiseRpmBins); +} + +static void nb2cannedknockBaseNoise() { + static const float hardCodedknockBaseNoise[16] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(config->knockBaseNoise, hardCodedknockBaseNoise); +} + +static void nb2cannedscriptCurve5Bins() { + static const float hardCodedscriptCurve5Bins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(config->scriptCurve5Bins, hardCodedscriptCurve5Bins); +} + +static void nb2cannedscriptCurve6Bins() { + static const float hardCodedscriptCurve6Bins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(config->scriptCurve6Bins, hardCodedscriptCurve6Bins); +} + +static void nb2cannedsparkDwellRpmBins() { + static const float hardCodedsparkDwellRpmBins[8] = {500.0, 1200.0, 2000.0, 3000.0, 4000.0, 5000.0, 6000.0, 7200.0}; + copyArray(config->sparkDwellRpmBins, hardCodedsparkDwellRpmBins); +} + +static void nb2cannedsparkDwellValues() { + static const float hardCodedsparkDwellValues[8] = {2.5, 2.4, 2.3, 2.2, 2.1, 2.1, 2.0, 1.9}; + copyArray(config->sparkDwellValues, hardCodedsparkDwellValues); +} + +static void nb2canneddwellVoltageCorrVoltBins() { + static const float hardCodeddwellVoltageCorrVoltBins[8] = {8.0, 9.0, 10.0, 11.0, 12.0, 14.0, 16.0, 18.0}; + copyArray(config->dwellVoltageCorrVoltBins, hardCodeddwellVoltageCorrVoltBins); +} + +static void nb2canneddwellVoltageCorrValues() { + static const float hardCodeddwellVoltageCorrValues[8] = {2.28, 2.0, 1.7, 1.54, 1.36, 1.0, 0.86, 0.8}; + copyArray(config->dwellVoltageCorrValues, hardCodeddwellVoltageCorrValues); +} + +static void nb2cannedprimeBins() { + static const float hardCodedprimeBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->primeBins, hardCodedprimeBins); +} + +static void nb2cannedprimeValues() { + static const float hardCodedprimeValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->primeValues, hardCodedprimeValues); +} + +static void nb2cannedmap_samplingAngleBins() { + static const float hardCodedmap_samplingAngleBins[8] = {800.0, 1686.0, 2571.0, 3457.0, 4343.0, 5229.0, 6114.0, 7200.0}; + copyArray(engineConfiguration->map.map_samplingAngleBins, hardCodedmap_samplingAngleBins); +} + +static void nb2cannedmap_samplingWindowBins() { + static const float hardCodedmap_samplingWindowBins[8] = {800.0, 1686.0, 2571.0, 3457.0, 4343.0, 5229.0, 6114.0, 7200.0}; + copyArray(engineConfiguration->map.map_samplingWindowBins, hardCodedmap_samplingWindowBins); +} + +static void nb2cannedinjector_battLagCorrBins() { + static const float hardCodedinjector_battLagCorrBins[8] = {6.0, 8.0, 10.0, 11.0, 12.0, 13.0, 14.0, 16.0}; + copyArray(engineConfiguration->injectorSecondary.injector_battLagCorrBins, hardCodedinjector_battLagCorrBins); +} + +static void nb2cannedinjector_battLagCorr() { + static const float hardCodedinjector_battLagCorr[8] = {3.0, 2.5, 2.0, 1.699997, 1.5, 1.3499985, 1.25, 0.8499985}; + copyArray(engineConfiguration->injectorSecondary.injector_battLagCorr, hardCodedinjector_battLagCorr); +} + +static void nb2cannedvrThreshold1_rpmBins() { + static const float hardCodedvrThreshold1_rpmBins[6] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->vrThreshold2.vrThreshold1_rpmBins, hardCodedvrThreshold1_rpmBins); +} + +static void nb2cannedvrThreshold1_values() { + static const float hardCodedvrThreshold1_values[6] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->vrThreshold2.vrThreshold1_values, hardCodedvrThreshold1_values); +} + +static void nb2cannedvrThreshold2_rpmBins() { + static const float hardCodedvrThreshold2_rpmBins[6] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->vrThreshold2.vrThreshold2_rpmBins, hardCodedvrThreshold2_rpmBins); +} + +static void nb2cannedvrThreshold2_values() { + static const float hardCodedvrThreshold2_values[6] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->vrThreshold2.vrThreshold2_values, hardCodedvrThreshold2_values); +} + +static void nb2cannedmafDecodingBins() { + static const float hardCodedmafDecodingBins[32] = {0.5, 0.86999893, 1.0699997, 1.5299988, 1.8499985, 2.1099854, 2.4599915, 3.0, 3.5100098, 4.5, 4.5999756, 4.6099854, 4.619995, 4.630005, 4.6400146, 4.6500244, 4.659973, 4.669983, 4.6799927, 4.6900024, 4.700012, 4.710022, 4.7199707, 4.7299805, 4.73999, 4.75, 4.76001, 4.7700195, 4.7800293, 4.789978, 4.799988, 4.8099976}; + copyArray(config->mafDecodingBins, hardCodedmafDecodingBins); +} + +static void nb2cannedcltFuelCorr() { + static const float hardCodedcltFuelCorr[16] = {1.5, 1.5, 1.4199982, 1.3600006, 1.2799988, 1.199997, 1.1800003, 1.1500015, 1.1, 1.1, 1.1, 1.1, 1.1, 1.1, 1.1, 1.1}; + copyArray(config->cltFuelCorr, hardCodedcltFuelCorr); +} + +static void nb2cannedcrankingFuelCoef() { + static const float hardCodedcrankingFuelCoef[8] = {2.7999878, 2.2000122, 1.800003, 1.550003, 1.199997, 1.1, 1.1, 1.1}; + copyArray(config->crankingFuelCoef, hardCodedcrankingFuelCoef); +} + +static void nb2cannedcrankingFuelCoefE100() { + static const float hardCodedcrankingFuelCoefE100[8] = {0.02, 0.02, 0.01, 0.01, 0.01, 0.01, 0.01, 0.01}; + copyArray(config->crankingFuelCoefE100, hardCodedcrankingFuelCoefE100); +} + +static void nb2cannedcltRevLimitRpmBins() { + static const float hardCodedcltRevLimitRpmBins[4] = {0.0, 0.0, 0.0, 0.0}; + copyArray(config->cltRevLimitRpmBins, hardCodedcltRevLimitRpmBins); +} + +static void nb2cannedcrankingCycleCoef() { + static const float hardCodedcrankingCycleCoef[8] = {2.0, 1.300003, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0}; + copyArray(config->crankingCycleCoef, hardCodedcrankingCycleCoef); +} + +static void nb2cannedcltIdleCorrBins() { + static const float hardCodedcltIdleCorrBins[16] = {-40.0, -30.0, -20.0, -10.0, 0.0, 9.439941, 19.120117, 30.810059, 42.509766, 54.529785, 64.21973, 71.90039, 80.0, 90.0, 100.0, 110.0}; + copyArray(config->cltIdleCorrBins, hardCodedcltIdleCorrBins); +} + +static void nb2cannedcltIdleCorr() { + static const float hardCodedcltIdleCorr[16] = {1.300003, 1.25, 1.2200012, 1.1900024, 1.1399994, 1.1, 1.08, 1.08, 1.08, 1.08, 1.08, 1.08, 1.08, 1.08, 1.08, 1.08}; + copyArray(config->cltIdleCorr, hardCodedcltIdleCorr); +} + +static void nb2cannedcltCrankingCorr() { + static const float hardCodedcltCrankingCorr[8] = {1.4000015, 1.35, 1.28, 1.25, 1.2, 1.15, 1.1, 1.1}; + copyArray(config->cltCrankingCorr, hardCodedcltCrankingCorr); +} + +static void nb2cannedcltIdleRpmBins() { + static const float hardCodedcltIdleRpmBins[16] = {-40.0, -30.0, -20.0, 0.0, 10.0, 20.0, 30.0, 40.0, 50.0, 60.0, 70.0, 80.0, 90.0, 100.0, 110.0, 130.0}; + copyArray(config->cltIdleRpmBins, hardCodedcltIdleRpmBins); +} + +static void nb2cannedcltIdleRpm() { + static const float hardCodedcltIdleRpm[16] = {1400.0, 1400.0, 1400.0, 1400.0, 1400.0, 1350.0, 1350.0, 1250.0, 1150.0, 1000.0, 950.0, 950.0, 950.0, 950.0, 950.0, 950.0}; + copyArray(config->cltIdleRpm, hardCodedcltIdleRpm); +} + +static void nb2cannedidleAdvanceBins() { + static const float hardCodedidleAdvanceBins[8] = {500.0, 700.0, 800.0, 900.0, 1000.0, 1100.0, 1200.0, 1300.0}; + copyArray(config->idleAdvanceBins, hardCodedidleAdvanceBins); +} + +static void nb2cannedidleAdvance() { + static const float hardCodedidleAdvance[8] = {12.0, 12.0, 11.0, 10.0, 10.0, 10.0, 10.0, 10.0}; + copyArray(config->idleAdvance, hardCodedidleAdvance); +} + +static void nb2cannedfuelLevelBins() { + static const float hardCodedfuelLevelBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(config->fuelLevelBins, hardCodedfuelLevelBins); +} + +static void nb2cannedhpfpLobeProfileQuantityBins() { + static const float hardCodedhpfpLobeProfileQuantityBins[16] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(config->hpfpLobeProfileQuantityBins, hardCodedhpfpLobeProfileQuantityBins); +} + +static void nb2cannedhpfpLobeProfileAngle() { + static const float hardCodedhpfpLobeProfileAngle[16] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(config->hpfpLobeProfileAngle, hardCodedhpfpLobeProfileAngle); +} + +static void nb2cannedhpfpDeadtimeVoltsBins() { + static const float hardCodedhpfpDeadtimeVoltsBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(config->hpfpDeadtimeVoltsBins, hardCodedhpfpDeadtimeVoltsBins); +} + static void nb2cannedtpsTpsAccelTable() { static const float hardCodedtpsTpsAccelTable[8][8] = { {0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, @@ -13,6 +188,16 @@ static void nb2cannedtpsTpsAccelTable() { copyTable(config->tpsTpsAccelTable, hardCodedtpsTpsAccelTable); } +static void nb2cannedboostRpmBins() { + static const float hardCodedboostRpmBins[8] = {0.0, 1150.0, 2300.0, 3450.0, 4550.0, 5700.0, 6850.0, 8000.0}; + copyArray(config->boostRpmBins, hardCodedboostRpmBins); +} + +static void nb2cannedboostTpsBins() { + static const float hardCodedboostTpsBins[8] = {0.0, 14.0, 28.0, 42.0, 58.0, 72.0, 86.0, 100.0}; + copyArray(config->boostTpsBins, hardCodedboostTpsBins); +} + static void nb2cannedboostTableOpenLoop() { static const float hardCodedboostTableOpenLoop[8][8] = { {0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, @@ -41,6 +226,11 @@ static void nb2cannedboostTableClosedLoop() { copyTable(config->boostTableClosedLoop, hardCodedboostTableClosedLoop); } +static void nb2cannedvvtTable1RpmBins() { + static const float hardCodedvvtTable1RpmBins[8] = {950.0, 1800.0, 2500.0, 3300.0, 4200.0, 5000.0, 6000.0, 7200.0}; + copyArray(config->vvtTable1RpmBins, hardCodedvvtTable1RpmBins); +} + static void nb2cannedvvtTable1() { static const float hardCodedvvtTable1[8][8] = { {0.000, 0.000, 10.000, 10.000, 10.000, 10.000, 0.000, 0.000, }, @@ -55,6 +245,11 @@ static void nb2cannedvvtTable1() { copyTable(config->vvtTable1, hardCodedvvtTable1); } +static void nb2cannedscriptTable4RpmBins() { + static const float hardCodedscriptTable4RpmBins[10] = {650.0, 800.0, 1700.0, 2600.0, 3500.0, 4400.0, 5300.0, 7000.0, 0.0, 0.0}; + copyArray(config->scriptTable4RpmBins, hardCodedscriptTable4RpmBins); +} + static void nb2cannedscriptTable4() { static const float hardCodedscriptTable4[8][10] = { {0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, @@ -69,6 +264,16 @@ static void nb2cannedscriptTable4() { copyTable(config->scriptTable4, hardCodedscriptTable4); } +static void nb2cannedignitionRpmBins() { + static const float hardCodedignitionRpmBins[16] = {700.0, 900.0, 1100.0, 1500.0, 1800.0, 2300.0, 2800.0, 3200.0, 3700.0, 4200.0, 4700.0, 5000.0, 5250.0, 5800.0, 6200.0, 7200.0}; + copyArray(config->ignitionRpmBins, hardCodedignitionRpmBins); +} + +static void nb2cannedignitionLoadBins() { + static const float hardCodedignitionLoadBins[16] = {25.0, 35.0, 45.0, 55.0, 65.0, 75.0, 85.0, 95.0, 100.0, 110.0, 130.0, 150.0, 170.0, 190.0, 205.0, 220.0}; + copyArray(config->ignitionLoadBins, hardCodedignitionLoadBins); +} + static void nb2cannedignitionTable() { static const float hardCodedignitionTable[16][16] = { {16.000, 16.000, 16.000, 16.000, 16.000, 16.000, 15.000, 6.100, -3.000, -3.000, -3.000, -3.000, -2.000, -2.000, -2.000, -2.000, }, @@ -91,6 +296,11 @@ static void nb2cannedignitionTable() { copyTable(config->ignitionTable, hardCodedignitionTable); } +static void nb2cannedignitionIatCorrLoadBins() { + static const float hardCodedignitionIatCorrLoadBins[8] = {-40.0, -30.0, -20.0, -10.0, 0.0, 10.0, 20.0, 30.0}; + copyArray(config->ignitionIatCorrLoadBins, hardCodedignitionIatCorrLoadBins); +} + static void nb2cannedignitionIatCorrTable() { static const float hardCodedignitionIatCorrTable[8][8] = { {0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, @@ -105,6 +315,16 @@ static void nb2cannedignitionIatCorrTable() { copyTable(config->ignitionIatCorrTable, hardCodedignitionIatCorrTable); } +static void nb2cannedveRpmBins() { + static const float hardCodedveRpmBins[16] = {700.0, 900.0, 1100.0, 1500.0, 1800.0, 2300.0, 2800.0, 3200.0, 3700.0, 4200.0, 4700.0, 5250.0, 5700.0, 6200.0, 6700.0, 7200.0}; + copyArray(config->veRpmBins, hardCodedveRpmBins); +} + +static void nb2cannedveLoadBins() { + static const float hardCodedveLoadBins[16] = {20.0, 25.0, 32.0, 36.0, 40.0, 45.0, 50.0, 55.0, 65.0, 75.0, 85.0, 90.0, 95.0, 100.0, 105.0, 110.0}; + copyArray(config->veLoadBins, hardCodedveLoadBins); +} + static void nb2cannedveTable() { static const float hardCodedveTable[16][16] = { {13.500, 22.000, 22.000, 19.700, 19.000, 19.000, 19.000, 21.000, 24.000, 24.000, 24.000, 23.500, 22.500, 22.800, 22.800, 22.200, }, @@ -127,6 +347,16 @@ static void nb2cannedveTable() { copyTable(config->veTable, hardCodedveTable); } +static void nb2cannedidleVeRpmBins() { + static const float hardCodedidleVeRpmBins[4] = {800.0, 900.0, 1100.0, 1200.0}; + copyArray(config->idleVeRpmBins, hardCodedidleVeRpmBins); +} + +static void nb2cannedidleVeLoadBins() { + static const float hardCodedidleVeLoadBins[4] = {30.0, 35.0, 40.0, 45.0}; + copyArray(config->idleVeLoadBins, hardCodedidleVeLoadBins); +} + static void nb2cannedidleVeTable() { static const float hardCodedidleVeTable[4][4] = { {41.000, 41.000, 41.000, 43.000, }, @@ -137,6 +367,36 @@ static void nb2cannedidleVeTable() { copyTable(config->idleVeTable, hardCodedidleVeTable); } +static void nb2cannedfuelTrimRpmBins() { + static const float hardCodedfuelTrimRpmBins[4] = {0.0, 0.0, 0.0, 0.0}; + copyArray(config->fuelTrimRpmBins, hardCodedfuelTrimRpmBins); +} + +static void nb2cannedfuelTrimLoadBins() { + static const float hardCodedfuelTrimLoadBins[4] = {0.0, 0.0, 0.0, 0.0}; + copyArray(config->fuelTrimLoadBins, hardCodedfuelTrimLoadBins); +} + +static void nb2cannedignTrimRpmBins() { + static const float hardCodedignTrimRpmBins[4] = {0.0, 0.0, 0.0, 0.0}; + copyArray(config->ignTrimRpmBins, hardCodedignTrimRpmBins); +} + +static void nb2cannedignTrimLoadBins() { + static const float hardCodedignTrimLoadBins[4] = {0.0, 0.0, 0.0, 0.0}; + copyArray(config->ignTrimLoadBins, hardCodedignTrimLoadBins); +} + +static void nb2cannedmapEstimateRpmBins() { + static const float hardCodedmapEstimateRpmBins[16] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(config->mapEstimateRpmBins, hardCodedmapEstimateRpmBins); +} + +static void nb2cannedmapEstimateTpsBins() { + static const float hardCodedmapEstimateTpsBins[16] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(config->mapEstimateTpsBins, hardCodedmapEstimateTpsBins); +} + static void nb2cannedmapEstimateTable() { static const float hardCodedmapEstimateTable[16][16] = { {0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, @@ -181,6 +441,21 @@ static void nb2cannedinjectionPhase() { copyTable(config->injectionPhase, hardCodedinjectionPhase); } +static void nb2cannedpedalToTpsRpmBins() { + static const float hardCodedpedalToTpsRpmBins[8] = {0.0, 1150.0, 2300.0, 3450.0, 4550.0, 5700.0, 6850.0, 8000.0}; + copyArray(config->pedalToTpsRpmBins, hardCodedpedalToTpsRpmBins); +} + +static void nb2cannedlambdaRpmBins() { + static const float hardCodedlambdaRpmBins[16] = {700.0, 900.0, 1100.0, 1500.0, 1700.0, 2300.0, 2800.0, 3200.0, 3700.0, 4200.0, 4700.0, 5250.0, 5700.0, 6200.0, 6700.0, 7200.0}; + copyArray(config->lambdaRpmBins, hardCodedlambdaRpmBins); +} + +static void nb2cannedlambdaLoadBins() { + static const float hardCodedlambdaLoadBins[16] = {20.0, 35.0, 50.0, 60.0, 70.0, 80.0, 90.0, 100.0, 110.0, 120.0, 130.0, 150.0, 175.0, 200.0, 225.0, 250.0}; + copyArray(config->lambdaLoadBins, hardCodedlambdaLoadBins); +} + static void nb2cannedlambdaTable() { static const float hardCodedlambdaTable[16][16] = { {14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 15.400, 15.400, 15.400, 15.400, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, }, @@ -215,6 +490,26 @@ static void nb2cannedtcuSolenoidTable() { copyTable(config->tcuSolenoidTable, hardCodedtcuSolenoidTable); } +static void nb2cannedhpfpTargetRpmBins() { + static const float hardCodedhpfpTargetRpmBins[10] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(config->hpfpTargetRpmBins, hardCodedhpfpTargetRpmBins); +} + +static void nb2cannedhpfpTargetLoadBins() { + static const float hardCodedhpfpTargetLoadBins[10] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(config->hpfpTargetLoadBins, hardCodedhpfpTargetLoadBins); +} + +static void nb2cannedhpfpCompensationRpmBins() { + static const float hardCodedhpfpCompensationRpmBins[10] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(config->hpfpCompensationRpmBins, hardCodedhpfpCompensationRpmBins); +} + +static void nb2cannedhpfpCompensationLoadBins() { + static const float hardCodedhpfpCompensationLoadBins[10] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(config->hpfpCompensationLoadBins, hardCodedhpfpCompensationLoadBins); +} + static void nb2cannedpostCrankingFactor() { static const float hardCodedpostCrankingFactor[6][6] = { {0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, diff --git a/generated/canned-tunes/MazdaMiataNB2-comparing-against-global-defaults.md b/generated/canned-tunes/MazdaMiataNB2-comparing-against-global-defaults.md index 338065c..b2aa4e3 100644 --- a/generated/canned-tunes/MazdaMiataNB2-comparing-against-global-defaults.md +++ b/generated/canned-tunes/MazdaMiataNB2-comparing-against-global-defaults.md @@ -327,18 +327,80 @@ engineConfiguration->hpfpPidI = 0; + nb2cannedknockNoiseRpmBins(); + nb2cannedknockBaseNoise(); + nb2cannedscriptCurve5Bins(); + nb2cannedscriptCurve6Bins(); + nb2cannedsparkDwellRpmBins(); + nb2cannedsparkDwellValues(); + nb2canneddwellVoltageCorrVoltBins(); + nb2canneddwellVoltageCorrValues(); + nb2cannedprimeBins(); + nb2cannedprimeValues(); + nb2cannedmap_samplingAngleBins(); + nb2cannedmap_samplingWindowBins(); + nb2cannedinjector_battLagCorrBins(); + nb2cannedinjector_battLagCorr(); + nb2cannedvrThreshold1_rpmBins(); + nb2cannedvrThreshold1_values(); + nb2cannedvrThreshold2_rpmBins(); + nb2cannedvrThreshold2_values(); + nb2cannedmafDecodingBins(); + nb2cannedmafDecoding(); + nb2cannedcltFuelCorr(); + nb2cannedcrankingFuelCoef(); + nb2cannedcrankingFuelCoefE100(); + nb2cannedcltRevLimitRpmBins(); + nb2cannedcrankingCycleCoef(); + nb2cannedcltIdleCorrBins(); + nb2cannedcltIdleCorr(); + nb2cannediacCoasting(); + nb2cannedcltCrankingCorr(); + nb2cannedcltIdleRpmBins(); + nb2cannedcltIdleRpm(); + nb2cannedidleAdvanceBins(); + nb2cannedidleAdvance(); + nb2cannedfuelLevelBins(); + nb2cannedhpfpLobeProfileQuantityBins(); + nb2cannedhpfpLobeProfileAngle(); + nb2cannedhpfpDeadtimeVoltsBins(); nb2cannedtpsTpsAccelTable(); + nb2cannedboostRpmBins(); + nb2cannedboostTpsBins(); nb2cannedboostTableOpenLoop(); nb2cannedboostTableClosedLoop(); + nb2cannedvvtTable1RpmBins(); + nb2cannedvvtTable1LoadBins(); nb2cannedvvtTable1(); + nb2cannedscriptTable4RpmBins(); nb2cannedscriptTable4(); + nb2cannedignitionRpmBins(); + nb2cannedignitionLoadBins(); nb2cannedignitionTable(); + nb2cannedignitionIatCorrLoadBins(); nb2cannedignitionIatCorrTable(); + nb2cannedveRpmBins(); + nb2cannedveLoadBins(); nb2cannedveTable(); + nb2cannedidleVeRpmBins(); + nb2cannedidleVeLoadBins(); nb2cannedidleVeTable(); + nb2cannedfuelTrimRpmBins(); + nb2cannedfuelTrimLoadBins(); + nb2cannedignTrimRpmBins(); + nb2cannedignTrimLoadBins(); + nb2cannedmapEstimateRpmBins(); + nb2cannedmapEstimateTpsBins(); nb2cannedmapEstimateTable(); nb2cannedinjectionPhase(); + nb2cannedpedalToTpsRpmBins(); + nb2cannedlambdaRpmBins(); + nb2cannedlambdaLoadBins(); nb2cannedlambdaTable(); nb2cannedtcuSolenoidTable(); + nb2cannedhpfpTargetRpmBins(); + nb2cannedhpfpTargetLoadBins(); + nb2cannedhpfpCompensationRpmBins(); + nb2cannedhpfpCompensationLoadBins(); nb2cannedpostCrankingFactor(); ``` diff --git a/generated/canned-tunes/MazdaMiataNB2-comparing-against-global-defaults_methods.md b/generated/canned-tunes/MazdaMiataNB2-comparing-against-global-defaults_methods.md index 1a633f0..13e04c5 100644 --- a/generated/canned-tunes/MazdaMiataNB2-comparing-against-global-defaults_methods.md +++ b/generated/canned-tunes/MazdaMiataNB2-comparing-against-global-defaults_methods.md @@ -1,4 +1,189 @@ ``` +static void nb2cannedknockNoiseRpmBins() { + static const float hardCodedknockNoiseRpmBins[16] = {650.0, 700.0, 800.0, 1150.0, 1600.0, 2000.0, 2400.0, 2850.0, 3250.0, 3700.0, 4100.0, 4500.0, 4950.0, 5400.0, 6200.0, 7000.0}; + copyArray(config->knockNoiseRpmBins, hardCodedknockNoiseRpmBins); +} + +static void nb2cannedknockBaseNoise() { + static const float hardCodedknockBaseNoise[16] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(config->knockBaseNoise, hardCodedknockBaseNoise); +} + +static void nb2cannedscriptCurve5Bins() { + static const float hardCodedscriptCurve5Bins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(config->scriptCurve5Bins, hardCodedscriptCurve5Bins); +} + +static void nb2cannedscriptCurve6Bins() { + static const float hardCodedscriptCurve6Bins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(config->scriptCurve6Bins, hardCodedscriptCurve6Bins); +} + +static void nb2cannedsparkDwellRpmBins() { + static const float hardCodedsparkDwellRpmBins[8] = {500.0, 1200.0, 2000.0, 3000.0, 4000.0, 5000.0, 6000.0, 7200.0}; + copyArray(config->sparkDwellRpmBins, hardCodedsparkDwellRpmBins); +} + +static void nb2cannedsparkDwellValues() { + static const float hardCodedsparkDwellValues[8] = {2.5, 2.4, 2.3, 2.2, 2.1, 2.1, 2.0, 1.9}; + copyArray(config->sparkDwellValues, hardCodedsparkDwellValues); +} + +static void nb2canneddwellVoltageCorrVoltBins() { + static const float hardCodeddwellVoltageCorrVoltBins[8] = {8.0, 9.0, 10.0, 11.0, 12.0, 14.0, 16.0, 18.0}; + copyArray(config->dwellVoltageCorrVoltBins, hardCodeddwellVoltageCorrVoltBins); +} + +static void nb2canneddwellVoltageCorrValues() { + static const float hardCodeddwellVoltageCorrValues[8] = {2.28, 2.0, 1.7, 1.54, 1.36, 1.0, 0.86, 0.8}; + copyArray(config->dwellVoltageCorrValues, hardCodeddwellVoltageCorrValues); +} + +static void nb2cannedprimeBins() { + static const float hardCodedprimeBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->primeBins, hardCodedprimeBins); +} + +static void nb2cannedprimeValues() { + static const float hardCodedprimeValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->primeValues, hardCodedprimeValues); +} + +static void nb2cannedmap_samplingAngleBins() { + static const float hardCodedmap_samplingAngleBins[8] = {800.0, 1686.0, 2571.0, 3457.0, 4343.0, 5229.0, 6114.0, 7200.0}; + copyArray(engineConfiguration->map.map_samplingAngleBins, hardCodedmap_samplingAngleBins); +} + +static void nb2cannedmap_samplingWindowBins() { + static const float hardCodedmap_samplingWindowBins[8] = {800.0, 1686.0, 2571.0, 3457.0, 4343.0, 5229.0, 6114.0, 7200.0}; + copyArray(engineConfiguration->map.map_samplingWindowBins, hardCodedmap_samplingWindowBins); +} + +static void nb2cannedinjector_battLagCorrBins() { + static const float hardCodedinjector_battLagCorrBins[8] = {6.0, 8.0, 10.0, 11.0, 12.0, 13.0, 14.0, 16.0}; + copyArray(engineConfiguration->injectorSecondary.injector_battLagCorrBins, hardCodedinjector_battLagCorrBins); +} + +static void nb2cannedinjector_battLagCorr() { + static const float hardCodedinjector_battLagCorr[8] = {3.0, 2.5, 2.0, 1.699997, 1.5, 1.3499985, 1.25, 0.8499985}; + copyArray(engineConfiguration->injectorSecondary.injector_battLagCorr, hardCodedinjector_battLagCorr); +} + +static void nb2cannedvrThreshold1_rpmBins() { + static const float hardCodedvrThreshold1_rpmBins[6] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->vrThreshold2.vrThreshold1_rpmBins, hardCodedvrThreshold1_rpmBins); +} + +static void nb2cannedvrThreshold1_values() { + static const float hardCodedvrThreshold1_values[6] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->vrThreshold2.vrThreshold1_values, hardCodedvrThreshold1_values); +} + +static void nb2cannedvrThreshold2_rpmBins() { + static const float hardCodedvrThreshold2_rpmBins[6] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->vrThreshold2.vrThreshold2_rpmBins, hardCodedvrThreshold2_rpmBins); +} + +static void nb2cannedvrThreshold2_values() { + static const float hardCodedvrThreshold2_values[6] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->vrThreshold2.vrThreshold2_values, hardCodedvrThreshold2_values); +} + +static void nb2cannedmafDecodingBins() { + static const float hardCodedmafDecodingBins[32] = {0.5, 0.86999893, 1.0699997, 1.5299988, 1.8499985, 2.1099854, 2.4599915, 3.0, 3.5100098, 4.5, 4.5999756, 4.6099854, 4.619995, 4.630005, 4.6400146, 4.6500244, 4.659973, 4.669983, 4.6799927, 4.6900024, 4.700012, 4.710022, 4.7199707, 4.7299805, 4.73999, 4.75, 4.76001, 4.7700195, 4.7800293, 4.789978, 4.799988, 4.8099976}; + copyArray(config->mafDecodingBins, hardCodedmafDecodingBins); +} + +static void nb2cannedmafDecoding() { + static const float hardCodedmafDecoding[32] = {0.0, 0.0, 1.0, 3.0, 8.0, 19.0, 45.0, 100.0, 175.0, 350.0, 350.0, 350.0, 350.0, 350.0, 350.0, 350.0, 350.0, 350.0, 350.0, 350.0, 350.0, 350.0, 350.0, 350.0, 350.0, 350.0, 350.0, 350.0, 350.0, 350.0, 350.0, 350.0}; + copyArray(config->mafDecoding, hardCodedmafDecoding); +} + +static void nb2cannedcltFuelCorr() { + static const float hardCodedcltFuelCorr[16] = {1.5, 1.5, 1.4199982, 1.3600006, 1.2799988, 1.199997, 1.1800003, 1.1500015, 1.1, 1.1, 1.1, 1.1, 1.1, 1.1, 1.1, 1.1}; + copyArray(config->cltFuelCorr, hardCodedcltFuelCorr); +} + +static void nb2cannedcrankingFuelCoef() { + static const float hardCodedcrankingFuelCoef[8] = {2.7999878, 2.2000122, 1.800003, 1.550003, 1.199997, 1.1, 1.1, 1.1}; + copyArray(config->crankingFuelCoef, hardCodedcrankingFuelCoef); +} + +static void nb2cannedcrankingFuelCoefE100() { + static const float hardCodedcrankingFuelCoefE100[8] = {0.02, 0.02, 0.01, 0.01, 0.01, 0.01, 0.01, 0.01}; + copyArray(config->crankingFuelCoefE100, hardCodedcrankingFuelCoefE100); +} + +static void nb2cannedcltRevLimitRpmBins() { + static const float hardCodedcltRevLimitRpmBins[4] = {0.0, 0.0, 0.0, 0.0}; + copyArray(config->cltRevLimitRpmBins, hardCodedcltRevLimitRpmBins); +} + +static void nb2cannedcrankingCycleCoef() { + static const float hardCodedcrankingCycleCoef[8] = {2.0, 1.300003, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0}; + copyArray(config->crankingCycleCoef, hardCodedcrankingCycleCoef); +} + +static void nb2cannedcltIdleCorrBins() { + static const float hardCodedcltIdleCorrBins[16] = {-40.0, -30.0, -20.0, -10.0, 0.0, 9.439941, 19.120117, 30.810059, 42.509766, 54.529785, 64.21973, 71.90039, 80.0, 90.0, 100.0, 110.0}; + copyArray(config->cltIdleCorrBins, hardCodedcltIdleCorrBins); +} + +static void nb2cannedcltIdleCorr() { + static const float hardCodedcltIdleCorr[16] = {1.300003, 1.25, 1.2200012, 1.1900024, 1.1399994, 1.1, 1.08, 1.08, 1.08, 1.08, 1.08, 1.08, 1.08, 1.08, 1.08, 1.08}; + copyArray(config->cltIdleCorr, hardCodedcltIdleCorr); +} + +static void nb2cannediacCoasting() { + static const float hardCodediacCoasting[16] = {40.0, 40.0, 40.0, 40.0, 40.0, 40.0, 40.0, 40.0, 40.0, 40.0, 40.0, 40.0, 40.0, 40.0, 40.0, 40.0}; + copyArray(config->iacCoasting, hardCodediacCoasting); +} + +static void nb2cannedcltCrankingCorr() { + static const float hardCodedcltCrankingCorr[8] = {1.4000015, 1.35, 1.28, 1.25, 1.2, 1.15, 1.1, 1.1}; + copyArray(config->cltCrankingCorr, hardCodedcltCrankingCorr); +} + +static void nb2cannedcltIdleRpmBins() { + static const float hardCodedcltIdleRpmBins[16] = {-40.0, -30.0, -20.0, 0.0, 10.0, 20.0, 30.0, 40.0, 50.0, 60.0, 70.0, 80.0, 90.0, 100.0, 110.0, 130.0}; + copyArray(config->cltIdleRpmBins, hardCodedcltIdleRpmBins); +} + +static void nb2cannedcltIdleRpm() { + static const float hardCodedcltIdleRpm[16] = {1400.0, 1400.0, 1400.0, 1400.0, 1400.0, 1350.0, 1350.0, 1250.0, 1150.0, 1000.0, 950.0, 950.0, 950.0, 950.0, 950.0, 950.0}; + copyArray(config->cltIdleRpm, hardCodedcltIdleRpm); +} + +static void nb2cannedidleAdvanceBins() { + static const float hardCodedidleAdvanceBins[8] = {500.0, 700.0, 800.0, 900.0, 1000.0, 1100.0, 1200.0, 1300.0}; + copyArray(config->idleAdvanceBins, hardCodedidleAdvanceBins); +} + +static void nb2cannedidleAdvance() { + static const float hardCodedidleAdvance[8] = {12.0, 12.0, 11.0, 10.0, 10.0, 10.0, 10.0, 10.0}; + copyArray(config->idleAdvance, hardCodedidleAdvance); +} + +static void nb2cannedfuelLevelBins() { + static const float hardCodedfuelLevelBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(config->fuelLevelBins, hardCodedfuelLevelBins); +} + +static void nb2cannedhpfpLobeProfileQuantityBins() { + static const float hardCodedhpfpLobeProfileQuantityBins[16] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(config->hpfpLobeProfileQuantityBins, hardCodedhpfpLobeProfileQuantityBins); +} + +static void nb2cannedhpfpLobeProfileAngle() { + static const float hardCodedhpfpLobeProfileAngle[16] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(config->hpfpLobeProfileAngle, hardCodedhpfpLobeProfileAngle); +} + +static void nb2cannedhpfpDeadtimeVoltsBins() { + static const float hardCodedhpfpDeadtimeVoltsBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(config->hpfpDeadtimeVoltsBins, hardCodedhpfpDeadtimeVoltsBins); +} + static void nb2cannedtpsTpsAccelTable() { static const float hardCodedtpsTpsAccelTable[8][8] = { {0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, @@ -13,6 +198,16 @@ static void nb2cannedtpsTpsAccelTable() { copyTable(config->tpsTpsAccelTable, hardCodedtpsTpsAccelTable); } +static void nb2cannedboostRpmBins() { + static const float hardCodedboostRpmBins[8] = {0.0, 1150.0, 2300.0, 3450.0, 4550.0, 5700.0, 6850.0, 8000.0}; + copyArray(config->boostRpmBins, hardCodedboostRpmBins); +} + +static void nb2cannedboostTpsBins() { + static const float hardCodedboostTpsBins[8] = {0.0, 14.0, 28.0, 42.0, 58.0, 72.0, 86.0, 100.0}; + copyArray(config->boostTpsBins, hardCodedboostTpsBins); +} + static void nb2cannedboostTableOpenLoop() { static const float hardCodedboostTableOpenLoop[8][8] = { {0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, @@ -41,6 +236,16 @@ static void nb2cannedboostTableClosedLoop() { copyTable(config->boostTableClosedLoop, hardCodedboostTableClosedLoop); } +static void nb2cannedvvtTable1RpmBins() { + static const float hardCodedvvtTable1RpmBins[8] = {950.0, 1800.0, 2500.0, 3300.0, 4200.0, 5000.0, 6000.0, 7200.0}; + copyArray(config->vvtTable1RpmBins, hardCodedvvtTable1RpmBins); +} + +static void nb2cannedvvtTable1LoadBins() { + static const float hardCodedvvtTable1LoadBins[8] = {30.0, 40.0, 50.0, 60.0, 70.0, 75.0, 82.0, 85.0}; + copyArray(config->vvtTable1LoadBins, hardCodedvvtTable1LoadBins); +} + static void nb2cannedvvtTable1() { static const float hardCodedvvtTable1[8][8] = { {0.000, 0.000, 10.000, 10.000, 10.000, 10.000, 0.000, 0.000, }, @@ -55,6 +260,11 @@ static void nb2cannedvvtTable1() { copyTable(config->vvtTable1, hardCodedvvtTable1); } +static void nb2cannedscriptTable4RpmBins() { + static const float hardCodedscriptTable4RpmBins[10] = {650.0, 800.0, 1700.0, 2600.0, 3500.0, 4400.0, 5300.0, 7000.0, 0.0, 0.0}; + copyArray(config->scriptTable4RpmBins, hardCodedscriptTable4RpmBins); +} + static void nb2cannedscriptTable4() { static const float hardCodedscriptTable4[8][10] = { {0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, @@ -69,6 +279,16 @@ static void nb2cannedscriptTable4() { copyTable(config->scriptTable4, hardCodedscriptTable4); } +static void nb2cannedignitionRpmBins() { + static const float hardCodedignitionRpmBins[16] = {700.0, 900.0, 1100.0, 1500.0, 1800.0, 2300.0, 2800.0, 3200.0, 3700.0, 4200.0, 4700.0, 5000.0, 5250.0, 5800.0, 6200.0, 7200.0}; + copyArray(config->ignitionRpmBins, hardCodedignitionRpmBins); +} + +static void nb2cannedignitionLoadBins() { + static const float hardCodedignitionLoadBins[16] = {25.0, 35.0, 45.0, 55.0, 65.0, 75.0, 85.0, 95.0, 100.0, 110.0, 130.0, 150.0, 170.0, 190.0, 205.0, 220.0}; + copyArray(config->ignitionLoadBins, hardCodedignitionLoadBins); +} + static void nb2cannedignitionTable() { static const float hardCodedignitionTable[16][16] = { {16.000, 16.000, 16.000, 16.000, 16.000, 16.000, 15.000, 6.100, -3.000, -3.000, -3.000, -3.000, -2.000, -2.000, -2.000, -2.000, }, @@ -91,6 +311,11 @@ static void nb2cannedignitionTable() { copyTable(config->ignitionTable, hardCodedignitionTable); } +static void nb2cannedignitionIatCorrLoadBins() { + static const float hardCodedignitionIatCorrLoadBins[8] = {-40.0, -30.0, -20.0, -10.0, 0.0, 10.0, 20.0, 30.0}; + copyArray(config->ignitionIatCorrLoadBins, hardCodedignitionIatCorrLoadBins); +} + static void nb2cannedignitionIatCorrTable() { static const float hardCodedignitionIatCorrTable[8][8] = { {0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, @@ -105,6 +330,16 @@ static void nb2cannedignitionIatCorrTable() { copyTable(config->ignitionIatCorrTable, hardCodedignitionIatCorrTable); } +static void nb2cannedveRpmBins() { + static const float hardCodedveRpmBins[16] = {700.0, 900.0, 1100.0, 1500.0, 1800.0, 2300.0, 2800.0, 3200.0, 3700.0, 4200.0, 4700.0, 5250.0, 5700.0, 6200.0, 6700.0, 7200.0}; + copyArray(config->veRpmBins, hardCodedveRpmBins); +} + +static void nb2cannedveLoadBins() { + static const float hardCodedveLoadBins[16] = {20.0, 25.0, 32.0, 36.0, 40.0, 45.0, 50.0, 55.0, 65.0, 75.0, 85.0, 90.0, 95.0, 100.0, 105.0, 110.0}; + copyArray(config->veLoadBins, hardCodedveLoadBins); +} + static void nb2cannedveTable() { static const float hardCodedveTable[16][16] = { {13.500, 22.000, 22.000, 19.700, 19.000, 19.000, 19.000, 21.000, 24.000, 24.000, 24.000, 23.500, 22.500, 22.800, 22.800, 22.200, }, @@ -127,6 +362,16 @@ static void nb2cannedveTable() { copyTable(config->veTable, hardCodedveTable); } +static void nb2cannedidleVeRpmBins() { + static const float hardCodedidleVeRpmBins[4] = {800.0, 900.0, 1100.0, 1200.0}; + copyArray(config->idleVeRpmBins, hardCodedidleVeRpmBins); +} + +static void nb2cannedidleVeLoadBins() { + static const float hardCodedidleVeLoadBins[4] = {30.0, 35.0, 40.0, 45.0}; + copyArray(config->idleVeLoadBins, hardCodedidleVeLoadBins); +} + static void nb2cannedidleVeTable() { static const float hardCodedidleVeTable[4][4] = { {41.000, 41.000, 41.000, 43.000, }, @@ -137,6 +382,36 @@ static void nb2cannedidleVeTable() { copyTable(config->idleVeTable, hardCodedidleVeTable); } +static void nb2cannedfuelTrimRpmBins() { + static const float hardCodedfuelTrimRpmBins[4] = {0.0, 0.0, 0.0, 0.0}; + copyArray(config->fuelTrimRpmBins, hardCodedfuelTrimRpmBins); +} + +static void nb2cannedfuelTrimLoadBins() { + static const float hardCodedfuelTrimLoadBins[4] = {0.0, 0.0, 0.0, 0.0}; + copyArray(config->fuelTrimLoadBins, hardCodedfuelTrimLoadBins); +} + +static void nb2cannedignTrimRpmBins() { + static const float hardCodedignTrimRpmBins[4] = {0.0, 0.0, 0.0, 0.0}; + copyArray(config->ignTrimRpmBins, hardCodedignTrimRpmBins); +} + +static void nb2cannedignTrimLoadBins() { + static const float hardCodedignTrimLoadBins[4] = {0.0, 0.0, 0.0, 0.0}; + copyArray(config->ignTrimLoadBins, hardCodedignTrimLoadBins); +} + +static void nb2cannedmapEstimateRpmBins() { + static const float hardCodedmapEstimateRpmBins[16] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(config->mapEstimateRpmBins, hardCodedmapEstimateRpmBins); +} + +static void nb2cannedmapEstimateTpsBins() { + static const float hardCodedmapEstimateTpsBins[16] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(config->mapEstimateTpsBins, hardCodedmapEstimateTpsBins); +} + static void nb2cannedmapEstimateTable() { static const float hardCodedmapEstimateTable[16][16] = { {0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, @@ -181,6 +456,21 @@ static void nb2cannedinjectionPhase() { copyTable(config->injectionPhase, hardCodedinjectionPhase); } +static void nb2cannedpedalToTpsRpmBins() { + static const float hardCodedpedalToTpsRpmBins[8] = {0.0, 1150.0, 2300.0, 3450.0, 4550.0, 5700.0, 6850.0, 8000.0}; + copyArray(config->pedalToTpsRpmBins, hardCodedpedalToTpsRpmBins); +} + +static void nb2cannedlambdaRpmBins() { + static const float hardCodedlambdaRpmBins[16] = {700.0, 900.0, 1100.0, 1500.0, 1700.0, 2300.0, 2800.0, 3200.0, 3700.0, 4200.0, 4700.0, 5250.0, 5700.0, 6200.0, 6700.0, 7200.0}; + copyArray(config->lambdaRpmBins, hardCodedlambdaRpmBins); +} + +static void nb2cannedlambdaLoadBins() { + static const float hardCodedlambdaLoadBins[16] = {20.0, 35.0, 50.0, 60.0, 70.0, 80.0, 90.0, 100.0, 110.0, 120.0, 130.0, 150.0, 175.0, 200.0, 225.0, 250.0}; + copyArray(config->lambdaLoadBins, hardCodedlambdaLoadBins); +} + static void nb2cannedlambdaTable() { static const float hardCodedlambdaTable[16][16] = { {14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 15.400, 15.400, 15.400, 15.400, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, }, @@ -215,6 +505,26 @@ static void nb2cannedtcuSolenoidTable() { copyTable(config->tcuSolenoidTable, hardCodedtcuSolenoidTable); } +static void nb2cannedhpfpTargetRpmBins() { + static const float hardCodedhpfpTargetRpmBins[10] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(config->hpfpTargetRpmBins, hardCodedhpfpTargetRpmBins); +} + +static void nb2cannedhpfpTargetLoadBins() { + static const float hardCodedhpfpTargetLoadBins[10] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(config->hpfpTargetLoadBins, hardCodedhpfpTargetLoadBins); +} + +static void nb2cannedhpfpCompensationRpmBins() { + static const float hardCodedhpfpCompensationRpmBins[10] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(config->hpfpCompensationRpmBins, hardCodedhpfpCompensationRpmBins); +} + +static void nb2cannedhpfpCompensationLoadBins() { + static const float hardCodedhpfpCompensationLoadBins[10] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(config->hpfpCompensationLoadBins, hardCodedhpfpCompensationLoadBins); +} + static void nb2cannedpostCrankingFactor() { static const float hardCodedpostCrankingFactor[6][6] = { {0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, diff --git a/generated/canned-tunes/PB-comparing-against-current-PB-default.md b/generated/canned-tunes/PB-comparing-against-current-PB-default.md index 1e96c6e..ee7bc53 100644 --- a/generated/canned-tunes/PB-comparing-against-current-PB-default.md +++ b/generated/canned-tunes/PB-comparing-against-current-PB-default.md @@ -121,11 +121,32 @@ engineConfiguration->hpfpPeakPos = -30; + pbcannedknockBaseNoise(); + pbcannedmafDecodingBins(); + pbcannedcltTimingBins(); + pbcannedcltTimingExtra(); + pbcannedcltIdleCorrBins(); + pbcannedcltIdleCorr(); + pbcannedcltIdleRpm(); + pbcannedidleAdvanceBins(); + pbcannedidleAdvance(); pbcannedvvtTable2(); pbcannedscriptTable4(); + pbcannedignitionRpmBins(); pbcannedignitionTable(); + pbcannedignBlends1_rpmBins(); + pbcannedignBlends2_rpmBins(); + pbcannedignBlends3_rpmBins(); + pbcannedignBlends4_rpmBins(); + pbcannedveBlends1_rpmBins(); + pbcannedveBlends2_rpmBins(); + pbcannedveBlends3_rpmBins(); + pbcannedveBlends4_rpmBins(); pbcannedveTable(); + pbcannedmaxKnockRetardRpmBins(); + pbcannedmaxKnockRetardLoadBins(); pbcannedmaxKnockRetardTable(); pbcannedlambdaTable(); pbcannedtcuSolenoidTable(); + pbcannedhpfpTargetLoadBins(); ``` diff --git a/generated/canned-tunes/PB-comparing-against-current-PB-default_methods.md b/generated/canned-tunes/PB-comparing-against-current-PB-default_methods.md index 00afc10..0d6ff3b 100644 --- a/generated/canned-tunes/PB-comparing-against-current-PB-default_methods.md +++ b/generated/canned-tunes/PB-comparing-against-current-PB-default_methods.md @@ -1,4 +1,49 @@ ``` +static void pbcannedknockBaseNoise() { + static const float hardCodedknockBaseNoise[16] = {-28.0, -28.0, -24.0, -20.0, -20.0, -20.0, -20.0, -20.0, -20.0, -17.0, -17.0, -17.0, -17.0, -17.0, -17.0, -17.0}; + copyArray(config->knockBaseNoise, hardCodedknockBaseNoise); +} + +static void pbcannedmafDecodingBins() { + static const float hardCodedmafDecodingBins[32] = {0.0, 0.78125, 1.3867188, 2.9101562, 4.2578125, 4.9804688, 2016.0, 2017.0, 2018.0, 2019.0, 2020.0, 2021.0, 2022.0, 2023.0, 2024.0, 2025.0, 2026.0, 2027.0, 2028.0, 2029.0, 2030.0, 2031.0, 2032.0, 2033.0, 2034.0, 2035.0, 2036.0, 2037.0, 2038.0, 2039.0, 2040.0, 2041.0}; + copyArray(config->mafDecodingBins, hardCodedmafDecodingBins); +} + +static void pbcannedcltTimingBins() { + static const float hardCodedcltTimingBins[8] = {-40.0, -17.0, 6.0, 30.0, 40.0, 50.0, 97.0, 120.0}; + copyArray(config->cltTimingBins, hardCodedcltTimingBins); +} + +static void pbcannedcltTimingExtra() { + static const float hardCodedcltTimingExtra[8] = {0.0, 0.0, -30.0, -30.0, -30.0, 0.0, 0.0, 0.0}; + copyArray(config->cltTimingExtra, hardCodedcltTimingExtra); +} + +static void pbcannedcltIdleCorrBins() { + static const float hardCodedcltIdleCorrBins[16] = {-40.0, -30.0, -20.0, -10.0, 0.0, 10.0, 20.0, 30.0, 40.0, 50.0, 60.0, 70.0, 80.0, 90.0, 110.0, 120.0}; + copyArray(config->cltIdleCorrBins, hardCodedcltIdleCorrBins); +} + +static void pbcannedcltIdleCorr() { + static const float hardCodedcltIdleCorr[16] = {1.5, 1.5, 1.3333334, 1.3333334, 1.3333334, 1.3333334, 1.3333334, 1.3333334, 1.2, 1.0, 1.0, 1.0, 0.8, 0.8, 0.8, 1.0}; + copyArray(config->cltIdleCorr, hardCodedcltIdleCorr); +} + +static void pbcannedcltIdleRpm() { + static const float hardCodedcltIdleRpm[16] = {1360.0, 1360.0, 1300.0, 1200.0, 1160.0, 1100.0, 1060.0, 1000.0, 1000.0, 960.0, 960.0, 740.0, 740.0, 740.0, 860.0, 1100.0}; + copyArray(config->cltIdleRpm, hardCodedcltIdleRpm); +} + +static void pbcannedidleAdvanceBins() { + static const float hardCodedidleAdvanceBins[8] = {500.0, 650.0, 800.0, 950.0, 1050.0, 1200.0, 1350.0, 1500.0}; + copyArray(config->idleAdvanceBins, hardCodedidleAdvanceBins); +} + +static void pbcannedidleAdvance() { + static const float hardCodedidleAdvance[8] = {12.0, 12.571428, 13.142858, 13.714286, 14.285714, 14.857142, 15.428572, 16.0}; + copyArray(config->idleAdvance, hardCodedidleAdvance); +} + static void pbcannedvvtTable2() { static const float hardCodedvvtTable2[8][8] = { {45.000, 45.000, 45.000, 45.000, 45.000, 45.000, 45.000, 45.000, }, @@ -27,6 +72,11 @@ static void pbcannedscriptTable4() { copyTable(config->scriptTable4, hardCodedscriptTable4); } +static void pbcannedignitionRpmBins() { + static const float hardCodedignitionRpmBins[16] = {650.0, 800.0, 1100.0, 1400.0, 2000.0, 2500.0, 3000.0, 3500.0, 4000.0, 4500.0, 5000.0, 5500.0, 6000.0, 6500.0, 7000.0, 7500.0}; + copyArray(config->ignitionRpmBins, hardCodedignitionRpmBins); +} + static void pbcannedignitionTable() { static const float hardCodedignitionTable[16][16] = { {12.200, 14.200, 0.000, 0.000, 36.400, 39.700, -10.000, -10.000, -10.000, -10.000, -10.000, -10.000, -10.000, -10.000, -10.000, -10.000, }, @@ -49,6 +99,46 @@ static void pbcannedignitionTable() { copyTable(config->ignitionTable, hardCodedignitionTable); } +static void pbcannedignBlends1_rpmBins() { + static const float hardCodedignBlends1_rpmBins[8] = {0.0, 1000.0, 2000.0, 3000.0, 4000.0, 5000.0, 6000.0, 7000.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends1_rpmBins, hardCodedignBlends1_rpmBins); +} + +static void pbcannedignBlends2_rpmBins() { + static const float hardCodedignBlends2_rpmBins[8] = {0.0, 1000.0, 2000.0, 3000.0, 4000.0, 5000.0, 6000.0, 7000.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends2_rpmBins, hardCodedignBlends2_rpmBins); +} + +static void pbcannedignBlends3_rpmBins() { + static const float hardCodedignBlends3_rpmBins[8] = {0.0, 1000.0, 2000.0, 3000.0, 4000.0, 5000.0, 6000.0, 7000.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends3_rpmBins, hardCodedignBlends3_rpmBins); +} + +static void pbcannedignBlends4_rpmBins() { + static const float hardCodedignBlends4_rpmBins[8] = {0.0, 1000.0, 2000.0, 3000.0, 4000.0, 5000.0, 6000.0, 7000.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends4_rpmBins, hardCodedignBlends4_rpmBins); +} + +static void pbcannedveBlends1_rpmBins() { + static const float hardCodedveBlends1_rpmBins[8] = {0.0, 1000.0, 2000.0, 3000.0, 4000.0, 5000.0, 6000.0, 7000.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends1_rpmBins, hardCodedveBlends1_rpmBins); +} + +static void pbcannedveBlends2_rpmBins() { + static const float hardCodedveBlends2_rpmBins[8] = {0.0, 1000.0, 2000.0, 3000.0, 4000.0, 5000.0, 6000.0, 7000.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends2_rpmBins, hardCodedveBlends2_rpmBins); +} + +static void pbcannedveBlends3_rpmBins() { + static const float hardCodedveBlends3_rpmBins[8] = {0.0, 1000.0, 2000.0, 3000.0, 4000.0, 5000.0, 6000.0, 7000.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends3_rpmBins, hardCodedveBlends3_rpmBins); +} + +static void pbcannedveBlends4_rpmBins() { + static const float hardCodedveBlends4_rpmBins[8] = {0.0, 1000.0, 2000.0, 3000.0, 4000.0, 5000.0, 6000.0, 7000.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends4_rpmBins, hardCodedveBlends4_rpmBins); +} + static void pbcannedveTable() { static const float hardCodedveTable[16][16] = { {50.300, 50.300, 50.400, 50.500, 50.600, 50.600, 50.300, 29.900, 29.800, 29.900, 30.400, 31.400, 33.000, 35.100, 37.700, 40.900, }, @@ -71,6 +161,16 @@ static void pbcannedveTable() { copyTable(config->veTable, hardCodedveTable); } +static void pbcannedmaxKnockRetardRpmBins() { + static const float hardCodedmaxKnockRetardRpmBins[6] = {1000.0, 2000.0, 3000.0, 4000.0, 5000.0, 7000.0}; + copyArray(config->maxKnockRetardRpmBins, hardCodedmaxKnockRetardRpmBins); +} + +static void pbcannedmaxKnockRetardLoadBins() { + static const float hardCodedmaxKnockRetardLoadBins[6] = {20.0, 40.0, 50.0, 60.0, 80.0, 100.0}; + copyArray(config->maxKnockRetardLoadBins, hardCodedmaxKnockRetardLoadBins); +} + static void pbcannedmaxKnockRetardTable() { static const float hardCodedmaxKnockRetardTable[6][6] = { {5.000, 5.000, 5.000, 5.000, 5.000, 5.000, }, @@ -117,4 +217,9 @@ static void pbcannedtcuSolenoidTable() { copyTable(config->tcuSolenoidTable, hardCodedtcuSolenoidTable); } +static void pbcannedhpfpTargetLoadBins() { + static const float hardCodedhpfpTargetLoadBins[10] = {20.0, 40.0, 50.0, 60.0, 80.0, 100.0, 120.0, 140.0, 160.0, 180.0}; + copyArray(config->hpfpTargetLoadBins, hardCodedhpfpTargetLoadBins); +} + ``` diff --git a/generated/canned-tunes/PB-comparing-against-global-defaults.md b/generated/canned-tunes/PB-comparing-against-global-defaults.md index b5a365d..0eeb750 100644 --- a/generated/canned-tunes/PB-comparing-against-global-defaults.md +++ b/generated/canned-tunes/PB-comparing-against-global-defaults.md @@ -185,13 +185,35 @@ engineConfiguration->mc33_hpfp_i_hold = 4; + pbcannedknockBaseNoise(); + pbcannedinjector_battLagCorr(); + pbcannedmafDecodingBins(); + pbcannedcltTimingBins(); + pbcannedcltTimingExtra(); + pbcannedcltIdleCorrBins(); + pbcannedcltIdleCorr(); + pbcannedcltIdleRpm(); + pbcannedidleAdvanceBins(); + pbcannedidleAdvance(); pbcannedvvtTable1(); pbcannedvvtTable2(); pbcannedscriptTable4(); + pbcannedignitionRpmBins(); pbcannedignitionTable(); + pbcannedignBlends1_rpmBins(); + pbcannedignBlends2_rpmBins(); + pbcannedignBlends3_rpmBins(); + pbcannedignBlends4_rpmBins(); + pbcannedveBlends1_rpmBins(); + pbcannedveBlends2_rpmBins(); + pbcannedveBlends3_rpmBins(); + pbcannedveBlends4_rpmBins(); pbcannedveTable(); pbcannedinjectionPhase(); + pbcannedmaxKnockRetardRpmBins(); + pbcannedmaxKnockRetardLoadBins(); pbcannedmaxKnockRetardTable(); pbcannedlambdaTable(); pbcannedtcuSolenoidTable(); + pbcannedhpfpTargetLoadBins(); ``` diff --git a/generated/canned-tunes/PB-comparing-against-global-defaults_methods.md b/generated/canned-tunes/PB-comparing-against-global-defaults_methods.md index 566d358..38d1c4d 100644 --- a/generated/canned-tunes/PB-comparing-against-global-defaults_methods.md +++ b/generated/canned-tunes/PB-comparing-against-global-defaults_methods.md @@ -1,4 +1,54 @@ ``` +static void pbcannedknockBaseNoise() { + static const float hardCodedknockBaseNoise[16] = {-28.0, -28.0, -24.0, -20.0, -20.0, -20.0, -20.0, -20.0, -20.0, -17.0, -17.0, -17.0, -17.0, -17.0, -17.0, -17.0}; + copyArray(config->knockBaseNoise, hardCodedknockBaseNoise); +} + +static void pbcannedinjector_battLagCorr() { + static const float hardCodedinjector_battLagCorr[8] = {0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2}; + copyArray(engineConfiguration->injectorSecondary.injector_battLagCorr, hardCodedinjector_battLagCorr); +} + +static void pbcannedmafDecodingBins() { + static const float hardCodedmafDecodingBins[32] = {0.0, 0.78125, 1.3867188, 2.9101562, 4.2578125, 4.9804688, 2016.0, 2017.0, 2018.0, 2019.0, 2020.0, 2021.0, 2022.0, 2023.0, 2024.0, 2025.0, 2026.0, 2027.0, 2028.0, 2029.0, 2030.0, 2031.0, 2032.0, 2033.0, 2034.0, 2035.0, 2036.0, 2037.0, 2038.0, 2039.0, 2040.0, 2041.0}; + copyArray(config->mafDecodingBins, hardCodedmafDecodingBins); +} + +static void pbcannedcltTimingBins() { + static const float hardCodedcltTimingBins[8] = {-40.0, -17.0, 6.0, 30.0, 40.0, 50.0, 97.0, 120.0}; + copyArray(config->cltTimingBins, hardCodedcltTimingBins); +} + +static void pbcannedcltTimingExtra() { + static const float hardCodedcltTimingExtra[8] = {0.0, 0.0, -30.0, -30.0, -30.0, 0.0, 0.0, 0.0}; + copyArray(config->cltTimingExtra, hardCodedcltTimingExtra); +} + +static void pbcannedcltIdleCorrBins() { + static const float hardCodedcltIdleCorrBins[16] = {-40.0, -30.0, -20.0, -10.0, 0.0, 10.0, 20.0, 30.0, 40.0, 50.0, 60.0, 70.0, 80.0, 90.0, 110.0, 120.0}; + copyArray(config->cltIdleCorrBins, hardCodedcltIdleCorrBins); +} + +static void pbcannedcltIdleCorr() { + static const float hardCodedcltIdleCorr[16] = {1.5, 1.5, 1.3333334, 1.3333334, 1.3333334, 1.3333334, 1.3333334, 1.3333334, 1.2, 1.0, 1.0, 1.0, 0.8, 0.8, 0.8, 1.0}; + copyArray(config->cltIdleCorr, hardCodedcltIdleCorr); +} + +static void pbcannedcltIdleRpm() { + static const float hardCodedcltIdleRpm[16] = {1360.0, 1360.0, 1300.0, 1200.0, 1160.0, 1100.0, 1060.0, 1000.0, 1000.0, 960.0, 960.0, 740.0, 740.0, 740.0, 860.0, 1100.0}; + copyArray(config->cltIdleRpm, hardCodedcltIdleRpm); +} + +static void pbcannedidleAdvanceBins() { + static const float hardCodedidleAdvanceBins[8] = {500.0, 650.0, 800.0, 950.0, 1050.0, 1200.0, 1350.0, 1500.0}; + copyArray(config->idleAdvanceBins, hardCodedidleAdvanceBins); +} + +static void pbcannedidleAdvance() { + static const float hardCodedidleAdvance[8] = {12.0, 12.571428, 13.142858, 13.714286, 14.285714, 14.857142, 15.428572, 16.0}; + copyArray(config->idleAdvance, hardCodedidleAdvance); +} + static void pbcannedvvtTable1() { static const float hardCodedvvtTable1[8][8] = { {0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, @@ -41,6 +91,11 @@ static void pbcannedscriptTable4() { copyTable(config->scriptTable4, hardCodedscriptTable4); } +static void pbcannedignitionRpmBins() { + static const float hardCodedignitionRpmBins[16] = {650.0, 800.0, 1100.0, 1400.0, 2000.0, 2500.0, 3000.0, 3500.0, 4000.0, 4500.0, 5000.0, 5500.0, 6000.0, 6500.0, 7000.0, 7500.0}; + copyArray(config->ignitionRpmBins, hardCodedignitionRpmBins); +} + static void pbcannedignitionTable() { static const float hardCodedignitionTable[16][16] = { {12.200, 14.200, 0.000, 0.000, 36.400, 39.700, -10.000, -10.000, -10.000, -10.000, -10.000, -10.000, -10.000, -10.000, -10.000, -10.000, }, @@ -63,6 +118,46 @@ static void pbcannedignitionTable() { copyTable(config->ignitionTable, hardCodedignitionTable); } +static void pbcannedignBlends1_rpmBins() { + static const float hardCodedignBlends1_rpmBins[8] = {0.0, 1000.0, 2000.0, 3000.0, 4000.0, 5000.0, 6000.0, 7000.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends1_rpmBins, hardCodedignBlends1_rpmBins); +} + +static void pbcannedignBlends2_rpmBins() { + static const float hardCodedignBlends2_rpmBins[8] = {0.0, 1000.0, 2000.0, 3000.0, 4000.0, 5000.0, 6000.0, 7000.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends2_rpmBins, hardCodedignBlends2_rpmBins); +} + +static void pbcannedignBlends3_rpmBins() { + static const float hardCodedignBlends3_rpmBins[8] = {0.0, 1000.0, 2000.0, 3000.0, 4000.0, 5000.0, 6000.0, 7000.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends3_rpmBins, hardCodedignBlends3_rpmBins); +} + +static void pbcannedignBlends4_rpmBins() { + static const float hardCodedignBlends4_rpmBins[8] = {0.0, 1000.0, 2000.0, 3000.0, 4000.0, 5000.0, 6000.0, 7000.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends4_rpmBins, hardCodedignBlends4_rpmBins); +} + +static void pbcannedveBlends1_rpmBins() { + static const float hardCodedveBlends1_rpmBins[8] = {0.0, 1000.0, 2000.0, 3000.0, 4000.0, 5000.0, 6000.0, 7000.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends1_rpmBins, hardCodedveBlends1_rpmBins); +} + +static void pbcannedveBlends2_rpmBins() { + static const float hardCodedveBlends2_rpmBins[8] = {0.0, 1000.0, 2000.0, 3000.0, 4000.0, 5000.0, 6000.0, 7000.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends2_rpmBins, hardCodedveBlends2_rpmBins); +} + +static void pbcannedveBlends3_rpmBins() { + static const float hardCodedveBlends3_rpmBins[8] = {0.0, 1000.0, 2000.0, 3000.0, 4000.0, 5000.0, 6000.0, 7000.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends3_rpmBins, hardCodedveBlends3_rpmBins); +} + +static void pbcannedveBlends4_rpmBins() { + static const float hardCodedveBlends4_rpmBins[8] = {0.0, 1000.0, 2000.0, 3000.0, 4000.0, 5000.0, 6000.0, 7000.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends4_rpmBins, hardCodedveBlends4_rpmBins); +} + static void pbcannedveTable() { static const float hardCodedveTable[16][16] = { {50.300, 50.300, 50.400, 50.500, 50.600, 50.600, 50.300, 29.900, 29.800, 29.900, 30.400, 31.400, 33.000, 35.100, 37.700, 40.900, }, @@ -107,6 +202,16 @@ static void pbcannedinjectionPhase() { copyTable(config->injectionPhase, hardCodedinjectionPhase); } +static void pbcannedmaxKnockRetardRpmBins() { + static const float hardCodedmaxKnockRetardRpmBins[6] = {1000.0, 2000.0, 3000.0, 4000.0, 5000.0, 7000.0}; + copyArray(config->maxKnockRetardRpmBins, hardCodedmaxKnockRetardRpmBins); +} + +static void pbcannedmaxKnockRetardLoadBins() { + static const float hardCodedmaxKnockRetardLoadBins[6] = {20.0, 40.0, 50.0, 60.0, 80.0, 100.0}; + copyArray(config->maxKnockRetardLoadBins, hardCodedmaxKnockRetardLoadBins); +} + static void pbcannedmaxKnockRetardTable() { static const float hardCodedmaxKnockRetardTable[6][6] = { {5.000, 5.000, 5.000, 5.000, 5.000, 5.000, }, @@ -153,4 +258,9 @@ static void pbcannedtcuSolenoidTable() { copyTable(config->tcuSolenoidTable, hardCodedtcuSolenoidTable); } +static void pbcannedhpfpTargetLoadBins() { + static const float hardCodedhpfpTargetLoadBins[10] = {20.0, 40.0, 50.0, 60.0, 80.0, 100.0, 120.0, 140.0, 160.0, 180.0}; + copyArray(config->hpfpTargetLoadBins, hardCodedhpfpTargetLoadBins); +} + ``` diff --git a/generated/canned-tunes/VQ-comparing-against-current-VQ-default.md b/generated/canned-tunes/VQ-comparing-against-current-VQ-default.md index 2fd7ce2..0047a07 100644 --- a/generated/canned-tunes/VQ-comparing-against-current-VQ-default.md +++ b/generated/canned-tunes/VQ-comparing-against-current-VQ-default.md @@ -253,17 +253,90 @@ engineConfiguration->hpfpPidI = 0; + cannedprimeBins(); + cannedprimeValues(); + cannedmap_samplingAngleBins(); + cannedmap_samplingAngle(); + cannedmap_samplingWindowBins(); + cannedmap_samplingWindow(); + cannedinjector_battLagCorrBins(); + cannedinjector_battLagCorr(); + cannedvrThreshold1_rpmBins(); + cannedvrThreshold2_rpmBins(); + cannedmafDecodingBins(); + cannedmafDecoding(); + cannedcltFuelCorr(); + cannedcrankingFuelCoef(); + cannedcltRevLimitRpmBins(); + cannedcrankingCycleCoef(); + cannedcltIdleCorr(); + cannedcltCrankingCorr(); + cannedcltIdleRpm(); + cannedidleAdvanceBins(); + cannedidleAdvance(); + cannedfuelLevelBins(); + cannedignBlends1_blendBins(); + cannedignBlends1_blendValues(); + cannedignBlends2_blendValues(); + cannedignBlends3_blendBins(); + cannedignBlends3_blendValues(); + cannedignBlends4_blendBins(); + cannedignBlends4_blendValues(); + cannedveBlends1_blendBins(); + cannedveBlends1_blendValues(); + cannedveBlends2_blendBins(); + cannedveBlends2_blendValues(); + cannedveBlends3_blendBins(); + cannedveBlends3_blendValues(); + cannedveBlends4_blendBins(); + cannedveBlends4_blendValues(); cannedtpsTpsAccelTable(); + cannedboostRpmBins(); cannedboostTableOpenLoop(); + cannedvvtTable1RpmBins(); cannedvvtTable1(); + cannedscriptTable4RpmBins(); cannedscriptTable4(); + cannedignitionRpmBins(); + cannedignitionLoadBins(); cannedignitionTable(); + cannedignBlends1_rpmBins(); + cannedignBlends1_loadBins(); + cannedignBlends1_table(); + cannedignBlends2_rpmBins(); + cannedignBlends2_loadBins(); + cannedignBlends2_table(); + cannedignBlends3_rpmBins(); + cannedignBlends3_loadBins(); + cannedignBlends4_rpmBins(); + cannedignBlends4_loadBins(); + cannedveBlends1_rpmBins(); + cannedveBlends1_loadBins(); + cannedveBlends2_rpmBins(); + cannedveBlends2_loadBins(); + cannedveBlends3_rpmBins(); + cannedveBlends3_loadBins(); + cannedveBlends4_rpmBins(); + cannedveBlends4_loadBins(); + cannedignitionIatCorrLoadBins(); cannedignitionIatCorrTable(); + cannedveRpmBins(); + cannedveLoadBins(); cannedveTable(); + cannedfuelTrimRpmBins(); + cannedfuelTrimLoadBins(); + cannedignTrimRpmBins(); + cannedignTrimLoadBins(); + cannedmapEstimateRpmBins(); + cannedmapEstimateTpsBins(); cannedmapEstimateTable(); cannedinjectionPhase(); + cannedpedalToTpsRpmBins(); + cannedpedalToTpsPedalBins(); cannedpedalToTpsTable(); cannedlambdaTable(); cannedtcuSolenoidTable(); + cannedhpfpTargetRpmBins(); + cannedhpfpCompensationRpmBins(); cannedpostCrankingFactor(); ``` diff --git a/generated/canned-tunes/VQ-comparing-against-current-VQ-default_methods.md b/generated/canned-tunes/VQ-comparing-against-current-VQ-default_methods.md index b764c60..f011f30 100644 --- a/generated/canned-tunes/VQ-comparing-against-current-VQ-default_methods.md +++ b/generated/canned-tunes/VQ-comparing-against-current-VQ-default_methods.md @@ -1,4 +1,189 @@ ``` +static void cannedprimeBins() { + static const float hardCodedprimeBins[8] = {0.0, 14.0, 29.0, 43.0, 57.0, 71.0, 86.0, 100.0}; + copyArray(engineConfiguration->primeBins, hardCodedprimeBins); +} + +static void cannedprimeValues() { + static const float hardCodedprimeValues[8] = {10.0, 10.0, 10.0, 10.0, 10.0, 5.0, 5.0, 5.0}; + copyArray(engineConfiguration->primeValues, hardCodedprimeValues); +} + +static void cannedmap_samplingAngleBins() { + static const float hardCodedmap_samplingAngleBins[8] = {800.0, 1686.0, 2571.0, 3457.0, 4343.0, 5229.0, 6114.0, 7000.0}; + copyArray(engineConfiguration->map.map_samplingAngleBins, hardCodedmap_samplingAngleBins); +} + +static void cannedmap_samplingAngle() { + static const float hardCodedmap_samplingAngle[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->map.map_samplingAngle, hardCodedmap_samplingAngle); +} + +static void cannedmap_samplingWindowBins() { + static const float hardCodedmap_samplingWindowBins[8] = {800.0, 1686.0, 2571.0, 3457.0, 4343.0, 5229.0, 6114.0, 7000.0}; + copyArray(engineConfiguration->map.map_samplingWindowBins, hardCodedmap_samplingWindowBins); +} + +static void cannedmap_samplingWindow() { + static const float hardCodedmap_samplingWindow[8] = {100.0, 100.0, 100.0, 400.0, 500.0, 500.0, 500.0, 500.0}; + copyArray(engineConfiguration->map.map_samplingWindow, hardCodedmap_samplingWindow); +} + +static void cannedinjector_battLagCorrBins() { + static const float hardCodedinjector_battLagCorrBins[8] = {6.0, 10.0, 11.0, 12.0, 13.0, 14.0, 15.0, 16.0}; + copyArray(engineConfiguration->injectorSecondary.injector_battLagCorrBins, hardCodedinjector_battLagCorrBins); +} + +static void cannedinjector_battLagCorr() { + static const float hardCodedinjector_battLagCorr[8] = {3.171, 1.28, 1.09, 0.94, 0.81, 0.7, 0.5, 0.3}; + copyArray(engineConfiguration->injectorSecondary.injector_battLagCorr, hardCodedinjector_battLagCorr); +} + +static void cannedvrThreshold1_rpmBins() { + static const float hardCodedvrThreshold1_rpmBins[6] = {600.0, 1900.0, 3200.0, 4400.0, 5700.0, 7000.0}; + copyArray(engineConfiguration->vrThreshold2.vrThreshold1_rpmBins, hardCodedvrThreshold1_rpmBins); +} + +static void cannedvrThreshold2_rpmBins() { + static const float hardCodedvrThreshold2_rpmBins[6] = {600.0, 1900.0, 3200.0, 4400.0, 5700.0, 7000.0}; + copyArray(engineConfiguration->vrThreshold2.vrThreshold2_rpmBins, hardCodedvrThreshold2_rpmBins); +} + +static void cannedmafDecodingBins() { + static const float hardCodedmafDecodingBins[32] = {0.0, 18.225807, 26.451612, 34.677418, 42.903225, 51.129032, 59.35484, 67.58064, 75.80645, 84.03226, 92.258064, 100.48387, 108.70968, 116.935486, 125.16129, 133.3871, 141.6129, 149.83871, 158.06451, 166.29033, 174.51613, 182.74193, 190.96774, 199.19354, 207.41936, 215.64516, 223.87097, 232.09677, 240.32259, 248.54839, 256.7742, 265.0}; + copyArray(config->mafDecodingBins, hardCodedmafDecodingBins); +} + +static void cannedmafDecoding() { + static const float hardCodedmafDecoding[32] = {-34.5, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0}; + copyArray(config->mafDecoding, hardCodedmafDecoding); +} + +static void cannedcltFuelCorr() { + static const float hardCodedcltFuelCorr[16] = {1.5, 1.5, 1.42, 1.36, 1.28, 1.19, 1.12, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0}; + copyArray(config->cltFuelCorr, hardCodedcltFuelCorr); +} + +static void cannedcrankingFuelCoef() { + static const float hardCodedcrankingFuelCoef[8] = {2.8, 2.2, 1.8, 1.8, 1.6, 1.5, 1.0, 1.0}; + copyArray(config->crankingFuelCoef, hardCodedcrankingFuelCoef); +} + +static void cannedcltRevLimitRpmBins() { + static const float hardCodedcltRevLimitRpmBins[4] = {0.0, 0.0, 0.0, 0.0}; + copyArray(config->cltRevLimitRpmBins, hardCodedcltRevLimitRpmBins); +} + +static void cannedcrankingCycleCoef() { + static const float hardCodedcrankingCycleCoef[8] = {1.5, 1.25, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0}; + copyArray(config->crankingCycleCoef, hardCodedcrankingCycleCoef); +} + +static void cannedcltIdleCorr() { + static const float hardCodedcltIdleCorr[16] = {2.0, 2.0, 2.0, 2.0, 1.6, 1.6, 1.6, 1.2, 1.2, 0.8, 0.5, 0.45, 0.45, 0.45, 0.45, 0.76}; + copyArray(config->cltIdleCorr, hardCodedcltIdleCorr); +} + +static void cannedcltCrankingCorr() { + static const float hardCodedcltCrankingCorr[8] = {1.2, 1.2, 1.0, 0.85, 0.8, 0.35, 0.35, 0.35}; + copyArray(config->cltCrankingCorr, hardCodedcltCrankingCorr); +} + +static void cannedcltIdleRpm() { + static const float hardCodedcltIdleRpm[16] = {1360.0, 1360.0, 1300.0, 1200.0, 1160.0, 1100.0, 1060.0, 1000.0, 1000.0, 860.0, 860.0, 800.0, 800.0, 800.0, 1000.0, 1100.0}; + copyArray(config->cltIdleRpm, hardCodedcltIdleRpm); +} + +static void cannedidleAdvanceBins() { + static const float hardCodedidleAdvanceBins[8] = {500.0, 650.0, 750.0, 900.0, 1000.0, 1150.0, 1250.0, 1400.0}; + copyArray(config->idleAdvanceBins, hardCodedidleAdvanceBins); +} + +static void cannedidleAdvance() { + static const float hardCodedidleAdvance[8] = {8.0, 10.0, 12.0, 14.0, 15.0, 16.0, 18.0, 20.0}; + copyArray(config->idleAdvance, hardCodedidleAdvance); +} + +static void cannedfuelLevelBins() { + static const float hardCodedfuelLevelBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(config->fuelLevelBins, hardCodedfuelLevelBins); +} + +static void cannedignBlends1_blendBins() { + static const float hardCodedignBlends1_blendBins[8] = {0.0, 14.3, 28.6, 40.0, 60.0, 71.4, 85.7, 100.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends1_blendBins, hardCodedignBlends1_blendBins); +} + +static void cannedignBlends1_blendValues() { + static const float hardCodedignBlends1_blendValues[8] = {100.0, 100.0, 100.0, 100.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends1_blendValues, hardCodedignBlends1_blendValues); +} + +static void cannedignBlends2_blendValues() { + static const float hardCodedignBlends2_blendValues[8] = {100.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends2_blendValues, hardCodedignBlends2_blendValues); +} + +static void cannedignBlends3_blendBins() { + static const float hardCodedignBlends3_blendBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends3_blendBins, hardCodedignBlends3_blendBins); +} + +static void cannedignBlends3_blendValues() { + static const float hardCodedignBlends3_blendValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends3_blendValues, hardCodedignBlends3_blendValues); +} + +static void cannedignBlends4_blendBins() { + static const float hardCodedignBlends4_blendBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends4_blendBins, hardCodedignBlends4_blendBins); +} + +static void cannedignBlends4_blendValues() { + static const float hardCodedignBlends4_blendValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends4_blendValues, hardCodedignBlends4_blendValues); +} + +static void cannedveBlends1_blendBins() { + static const float hardCodedveBlends1_blendBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends1_blendBins, hardCodedveBlends1_blendBins); +} + +static void cannedveBlends1_blendValues() { + static const float hardCodedveBlends1_blendValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends1_blendValues, hardCodedveBlends1_blendValues); +} + +static void cannedveBlends2_blendBins() { + static const float hardCodedveBlends2_blendBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends2_blendBins, hardCodedveBlends2_blendBins); +} + +static void cannedveBlends2_blendValues() { + static const float hardCodedveBlends2_blendValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends2_blendValues, hardCodedveBlends2_blendValues); +} + +static void cannedveBlends3_blendBins() { + static const float hardCodedveBlends3_blendBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends3_blendBins, hardCodedveBlends3_blendBins); +} + +static void cannedveBlends3_blendValues() { + static const float hardCodedveBlends3_blendValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends3_blendValues, hardCodedveBlends3_blendValues); +} + +static void cannedveBlends4_blendBins() { + static const float hardCodedveBlends4_blendBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends4_blendBins, hardCodedveBlends4_blendBins); +} + +static void cannedveBlends4_blendValues() { + static const float hardCodedveBlends4_blendValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends4_blendValues, hardCodedveBlends4_blendValues); +} + static void cannedtpsTpsAccelTable() { static const float hardCodedtpsTpsAccelTable[8][8] = { {0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, @@ -13,6 +198,11 @@ static void cannedtpsTpsAccelTable() { copyTable(config->tpsTpsAccelTable, hardCodedtpsTpsAccelTable); } +static void cannedboostRpmBins() { + static const float hardCodedboostRpmBins[8] = {0.0, 1100.0, 2300.0, 3400.0, 4600.0, 5700.0, 6900.0, 8000.0}; + copyArray(config->boostRpmBins, hardCodedboostRpmBins); +} + static void cannedboostTableOpenLoop() { static const float hardCodedboostTableOpenLoop[8][8] = { {0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, @@ -27,6 +217,11 @@ static void cannedboostTableOpenLoop() { copyTable(config->boostTableOpenLoop, hardCodedboostTableOpenLoop); } +static void cannedvvtTable1RpmBins() { + static const float hardCodedvvtTable1RpmBins[8] = {1000.0, 1700.0, 2000.0, 4400.0, 4500.0, 5000.0, 6000.0, 7000.0}; + copyArray(config->vvtTable1RpmBins, hardCodedvvtTable1RpmBins); +} + static void cannedvvtTable1() { static const float hardCodedvvtTable1[8][8] = { {0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, @@ -41,6 +236,11 @@ static void cannedvvtTable1() { copyTable(config->vvtTable1, hardCodedvvtTable1); } +static void cannedscriptTable4RpmBins() { + static const float hardCodedscriptTable4RpmBins[10] = {650.0, 767.0, 1300.0, 2000.0, 2700.0, 3400.0, 4100.0, 4800.0, 5678.0, 7000.0}; + copyArray(config->scriptTable4RpmBins, hardCodedscriptTable4RpmBins); +} + static void cannedscriptTable4() { static const float hardCodedscriptTable4[8][10] = { {0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, @@ -55,6 +255,16 @@ static void cannedscriptTable4() { copyTable(config->scriptTable4, hardCodedscriptTable4); } +static void cannedignitionRpmBins() { + static const float hardCodedignitionRpmBins[16] = {650.0, 800.0, 1100.0, 1500.0, 2000.0, 2500.0, 3000.0, 3500.0, 4000.0, 4500.0, 5000.0, 5500.0, 6000.0, 6500.0, 7000.0, 8000.0}; + copyArray(config->ignitionRpmBins, hardCodedignitionRpmBins); +} + +static void cannedignitionLoadBins() { + static const float hardCodedignitionLoadBins[16] = {0.0, 2.0, 4.0, 6.0, 8.0, 11.0, 12.0, 20.0, 30.0, 40.0, 50.0, 60.0, 70.0, 80.0, 90.0, 100.0}; + copyArray(config->ignitionLoadBins, hardCodedignitionLoadBins); +} + static void cannedignitionTable() { static const float hardCodedignitionTable[16][16] = { {12.100, 10.000, 10.000, 10.000, 29.300, 16.600, 30.000, 40.000, 40.000, 40.000, 41.000, 42.000, 42.000, 42.000, 42.000, 42.000, }, @@ -77,6 +287,119 @@ static void cannedignitionTable() { copyTable(config->ignitionTable, hardCodedignitionTable); } +static void cannedignBlends1_rpmBins() { + static const float hardCodedignBlends1_rpmBins[8] = {0.0, 400.0, 500.0, 1000.0, 2000.0, 3000.0, 5000.0, 7000.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends1_rpmBins, hardCodedignBlends1_rpmBins); +} + +static void cannedignBlends1_loadBins() { + static const float hardCodedignBlends1_loadBins[8] = {10.0, 15.0, 20.0, 30.0, 60.0, 90.0, 100.0, 120.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends1_loadBins, hardCodedignBlends1_loadBins); +} + +static void cannedignBlends1_table() { + static const float hardCodedignBlends1_table[8][8] = { +{0.000, 0.000, -20.000, -20.000, -20.000, 0.000, 0.000, 0.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +}; + copyTable(engineConfiguration->boostClosedLoopBlends2.ignBlends1_table, hardCodedignBlends1_table); +} + +static void cannedignBlends2_rpmBins() { + static const float hardCodedignBlends2_rpmBins[8] = {0.0, 500.0, 2500.0, 3000.0, 5000.0, 6000.0, 7000.0, 8000.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends2_rpmBins, hardCodedignBlends2_rpmBins); +} + +static void cannedignBlends2_loadBins() { + static const float hardCodedignBlends2_loadBins[8] = {0.0, 5.0, 10.0, 20.0, 40.0, 60.0, 80.0, 100.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends2_loadBins, hardCodedignBlends2_loadBins); +} + +static void cannedignBlends2_table() { + static const float hardCodedignBlends2_table[8][8] = { +{0.000, 0.000, 0.000, -20.000, -20.000, 0.000, 0.000, 0.000, }, +{0.000, 0.000, 0.000, -20.000, -20.000, 0.000, 0.000, 0.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +}; + copyTable(engineConfiguration->boostClosedLoopBlends2.ignBlends2_table, hardCodedignBlends2_table); +} + +static void cannedignBlends3_rpmBins() { + static const float hardCodedignBlends3_rpmBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends3_rpmBins, hardCodedignBlends3_rpmBins); +} + +static void cannedignBlends3_loadBins() { + static const float hardCodedignBlends3_loadBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends3_loadBins, hardCodedignBlends3_loadBins); +} + +static void cannedignBlends4_rpmBins() { + static const float hardCodedignBlends4_rpmBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends4_rpmBins, hardCodedignBlends4_rpmBins); +} + +static void cannedignBlends4_loadBins() { + static const float hardCodedignBlends4_loadBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends4_loadBins, hardCodedignBlends4_loadBins); +} + +static void cannedveBlends1_rpmBins() { + static const float hardCodedveBlends1_rpmBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends1_rpmBins, hardCodedveBlends1_rpmBins); +} + +static void cannedveBlends1_loadBins() { + static const float hardCodedveBlends1_loadBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends1_loadBins, hardCodedveBlends1_loadBins); +} + +static void cannedveBlends2_rpmBins() { + static const float hardCodedveBlends2_rpmBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends2_rpmBins, hardCodedveBlends2_rpmBins); +} + +static void cannedveBlends2_loadBins() { + static const float hardCodedveBlends2_loadBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends2_loadBins, hardCodedveBlends2_loadBins); +} + +static void cannedveBlends3_rpmBins() { + static const float hardCodedveBlends3_rpmBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends3_rpmBins, hardCodedveBlends3_rpmBins); +} + +static void cannedveBlends3_loadBins() { + static const float hardCodedveBlends3_loadBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends3_loadBins, hardCodedveBlends3_loadBins); +} + +static void cannedveBlends4_rpmBins() { + static const float hardCodedveBlends4_rpmBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends4_rpmBins, hardCodedveBlends4_rpmBins); +} + +static void cannedveBlends4_loadBins() { + static const float hardCodedveBlends4_loadBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends4_loadBins, hardCodedveBlends4_loadBins); +} + +static void cannedignitionIatCorrLoadBins() { + static const float hardCodedignitionIatCorrLoadBins[8] = {5.0, 15.0, 25.0, 35.0, 45.0, 65.0, 90.0, 110.0}; + copyArray(config->ignitionIatCorrLoadBins, hardCodedignitionIatCorrLoadBins); +} + static void cannedignitionIatCorrTable() { static const float hardCodedignitionIatCorrTable[8][8] = { {0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, @@ -91,6 +414,16 @@ static void cannedignitionIatCorrTable() { copyTable(config->ignitionIatCorrTable, hardCodedignitionIatCorrTable); } +static void cannedveRpmBins() { + static const float hardCodedveRpmBins[16] = {600.0, 900.0, 1100.0, 1500.0, 1900.0, 2400.0, 3000.0, 3700.0, 4200.0, 4700.0, 5200.0, 5800.0, 6300.0, 6800.0, 7000.0, 7200.0}; + copyArray(config->veRpmBins, hardCodedveRpmBins); +} + +static void cannedveLoadBins() { + static const float hardCodedveLoadBins[16] = {0.0, 2.0, 4.0, 6.0, 8.0, 10.0, 15.0, 20.0, 30.0, 40.0, 50.0, 60.0, 70.0, 80.0, 90.0, 100.0}; + copyArray(config->veLoadBins, hardCodedveLoadBins); +} + static void cannedveTable() { static const float hardCodedveTable[16][16] = { {15.400, 15.400, 21.000, 15.500, 13.100, 10.000, 10.000, 10.000, 10.000, 10.000, 10.000, 10.000, 10.000, 10.000, 10.000, 10.000, }, @@ -113,6 +446,36 @@ static void cannedveTable() { copyTable(config->veTable, hardCodedveTable); } +static void cannedfuelTrimRpmBins() { + static const float hardCodedfuelTrimRpmBins[4] = {0.0, 0.0, 0.0, 0.0}; + copyArray(config->fuelTrimRpmBins, hardCodedfuelTrimRpmBins); +} + +static void cannedfuelTrimLoadBins() { + static const float hardCodedfuelTrimLoadBins[4] = {0.0, 0.0, 0.0, 0.0}; + copyArray(config->fuelTrimLoadBins, hardCodedfuelTrimLoadBins); +} + +static void cannedignTrimRpmBins() { + static const float hardCodedignTrimRpmBins[4] = {0.0, 0.0, 0.0, 0.0}; + copyArray(config->ignTrimRpmBins, hardCodedignTrimRpmBins); +} + +static void cannedignTrimLoadBins() { + static const float hardCodedignTrimLoadBins[4] = {0.0, 0.0, 0.0, 0.0}; + copyArray(config->ignTrimLoadBins, hardCodedignTrimLoadBins); +} + +static void cannedmapEstimateRpmBins() { + static const float hardCodedmapEstimateRpmBins[16] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(config->mapEstimateRpmBins, hardCodedmapEstimateRpmBins); +} + +static void cannedmapEstimateTpsBins() { + static const float hardCodedmapEstimateTpsBins[16] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(config->mapEstimateTpsBins, hardCodedmapEstimateTpsBins); +} + static void cannedmapEstimateTable() { static const float hardCodedmapEstimateTable[16][16] = { {0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, @@ -157,6 +520,16 @@ static void cannedinjectionPhase() { copyTable(config->injectionPhase, hardCodedinjectionPhase); } +static void cannedpedalToTpsRpmBins() { + static const float hardCodedpedalToTpsRpmBins[8] = {700.0, 900.0, 3000.0, 3200.0, 4000.0, 5700.0, 6900.0, 8000.0}; + copyArray(config->pedalToTpsRpmBins, hardCodedpedalToTpsRpmBins); +} + +static void cannedpedalToTpsPedalBins() { + static const float hardCodedpedalToTpsPedalBins[8] = {1.0, 5.0, 10.0, 20.0, 40.0, 50.0, 70.0, 90.0}; + copyArray(config->pedalToTpsPedalBins, hardCodedpedalToTpsPedalBins); +} + static void cannedpedalToTpsTable() { static const float hardCodedpedalToTpsTable[8][8] = { {0.000, 0.000, 0.000, 0.000, 6.000, 6.000, 3.000, 1.000, }, @@ -205,6 +578,16 @@ static void cannedtcuSolenoidTable() { copyTable(config->tcuSolenoidTable, hardCodedtcuSolenoidTable); } +static void cannedhpfpTargetRpmBins() { + static const float hardCodedhpfpTargetRpmBins[10] = {0.0, 900.0, 1800.0, 2650.0, 3550.0, 4450.0, 5350.0, 6200.0, 7100.0, 8000.0}; + copyArray(config->hpfpTargetRpmBins, hardCodedhpfpTargetRpmBins); +} + +static void cannedhpfpCompensationRpmBins() { + static const float hardCodedhpfpCompensationRpmBins[10] = {0.0, 900.0, 1800.0, 2650.0, 3550.0, 4450.0, 5350.0, 6200.0, 7100.0, 8000.0}; + copyArray(config->hpfpCompensationRpmBins, hardCodedhpfpCompensationRpmBins); +} + static void cannedpostCrankingFactor() { static const float hardCodedpostCrankingFactor[6][6] = { {1.200, 1.000, 1.000, 1.000, 1.000, 1.000, }, diff --git a/generated/canned-tunes/VQ-comparing-against-global-defaults.md b/generated/canned-tunes/VQ-comparing-against-global-defaults.md index 8962e33..def1f59 100644 --- a/generated/canned-tunes/VQ-comparing-against-global-defaults.md +++ b/generated/canned-tunes/VQ-comparing-against-global-defaults.md @@ -261,17 +261,90 @@ engineConfiguration->hpfpPidI = 0; + cannedprimeBins(); + cannedprimeValues(); + cannedmap_samplingAngleBins(); + cannedmap_samplingAngle(); + cannedmap_samplingWindowBins(); + cannedmap_samplingWindow(); + cannedinjector_battLagCorrBins(); + cannedinjector_battLagCorr(); + cannedvrThreshold1_rpmBins(); + cannedvrThreshold2_rpmBins(); + cannedmafDecodingBins(); + cannedmafDecoding(); + cannedcltFuelCorr(); + cannedcrankingFuelCoef(); + cannedcltRevLimitRpmBins(); + cannedcrankingCycleCoef(); + cannedcltIdleCorr(); + cannedcltCrankingCorr(); + cannedcltIdleRpm(); + cannedidleAdvanceBins(); + cannedidleAdvance(); + cannedfuelLevelBins(); + cannedignBlends1_blendBins(); + cannedignBlends1_blendValues(); + cannedignBlends2_blendValues(); + cannedignBlends3_blendBins(); + cannedignBlends3_blendValues(); + cannedignBlends4_blendBins(); + cannedignBlends4_blendValues(); + cannedveBlends1_blendBins(); + cannedveBlends1_blendValues(); + cannedveBlends2_blendBins(); + cannedveBlends2_blendValues(); + cannedveBlends3_blendBins(); + cannedveBlends3_blendValues(); + cannedveBlends4_blendBins(); + cannedveBlends4_blendValues(); cannedtpsTpsAccelTable(); + cannedboostRpmBins(); cannedboostTableOpenLoop(); + cannedvvtTable1RpmBins(); cannedvvtTable1(); + cannedscriptTable4RpmBins(); cannedscriptTable4(); + cannedignitionRpmBins(); + cannedignitionLoadBins(); cannedignitionTable(); + cannedignBlends1_rpmBins(); + cannedignBlends1_loadBins(); + cannedignBlends1_table(); + cannedignBlends2_rpmBins(); + cannedignBlends2_loadBins(); + cannedignBlends2_table(); + cannedignBlends3_rpmBins(); + cannedignBlends3_loadBins(); + cannedignBlends4_rpmBins(); + cannedignBlends4_loadBins(); + cannedveBlends1_rpmBins(); + cannedveBlends1_loadBins(); + cannedveBlends2_rpmBins(); + cannedveBlends2_loadBins(); + cannedveBlends3_rpmBins(); + cannedveBlends3_loadBins(); + cannedveBlends4_rpmBins(); + cannedveBlends4_loadBins(); + cannedignitionIatCorrLoadBins(); cannedignitionIatCorrTable(); + cannedveRpmBins(); + cannedveLoadBins(); cannedveTable(); + cannedfuelTrimRpmBins(); + cannedfuelTrimLoadBins(); + cannedignTrimRpmBins(); + cannedignTrimLoadBins(); + cannedmapEstimateRpmBins(); + cannedmapEstimateTpsBins(); cannedmapEstimateTable(); cannedinjectionPhase(); + cannedpedalToTpsRpmBins(); + cannedpedalToTpsPedalBins(); cannedpedalToTpsTable(); cannedlambdaTable(); cannedtcuSolenoidTable(); + cannedhpfpTargetRpmBins(); + cannedhpfpCompensationRpmBins(); cannedpostCrankingFactor(); ``` diff --git a/generated/canned-tunes/VQ-comparing-against-global-defaults_methods.md b/generated/canned-tunes/VQ-comparing-against-global-defaults_methods.md index b764c60..f011f30 100644 --- a/generated/canned-tunes/VQ-comparing-against-global-defaults_methods.md +++ b/generated/canned-tunes/VQ-comparing-against-global-defaults_methods.md @@ -1,4 +1,189 @@ ``` +static void cannedprimeBins() { + static const float hardCodedprimeBins[8] = {0.0, 14.0, 29.0, 43.0, 57.0, 71.0, 86.0, 100.0}; + copyArray(engineConfiguration->primeBins, hardCodedprimeBins); +} + +static void cannedprimeValues() { + static const float hardCodedprimeValues[8] = {10.0, 10.0, 10.0, 10.0, 10.0, 5.0, 5.0, 5.0}; + copyArray(engineConfiguration->primeValues, hardCodedprimeValues); +} + +static void cannedmap_samplingAngleBins() { + static const float hardCodedmap_samplingAngleBins[8] = {800.0, 1686.0, 2571.0, 3457.0, 4343.0, 5229.0, 6114.0, 7000.0}; + copyArray(engineConfiguration->map.map_samplingAngleBins, hardCodedmap_samplingAngleBins); +} + +static void cannedmap_samplingAngle() { + static const float hardCodedmap_samplingAngle[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->map.map_samplingAngle, hardCodedmap_samplingAngle); +} + +static void cannedmap_samplingWindowBins() { + static const float hardCodedmap_samplingWindowBins[8] = {800.0, 1686.0, 2571.0, 3457.0, 4343.0, 5229.0, 6114.0, 7000.0}; + copyArray(engineConfiguration->map.map_samplingWindowBins, hardCodedmap_samplingWindowBins); +} + +static void cannedmap_samplingWindow() { + static const float hardCodedmap_samplingWindow[8] = {100.0, 100.0, 100.0, 400.0, 500.0, 500.0, 500.0, 500.0}; + copyArray(engineConfiguration->map.map_samplingWindow, hardCodedmap_samplingWindow); +} + +static void cannedinjector_battLagCorrBins() { + static const float hardCodedinjector_battLagCorrBins[8] = {6.0, 10.0, 11.0, 12.0, 13.0, 14.0, 15.0, 16.0}; + copyArray(engineConfiguration->injectorSecondary.injector_battLagCorrBins, hardCodedinjector_battLagCorrBins); +} + +static void cannedinjector_battLagCorr() { + static const float hardCodedinjector_battLagCorr[8] = {3.171, 1.28, 1.09, 0.94, 0.81, 0.7, 0.5, 0.3}; + copyArray(engineConfiguration->injectorSecondary.injector_battLagCorr, hardCodedinjector_battLagCorr); +} + +static void cannedvrThreshold1_rpmBins() { + static const float hardCodedvrThreshold1_rpmBins[6] = {600.0, 1900.0, 3200.0, 4400.0, 5700.0, 7000.0}; + copyArray(engineConfiguration->vrThreshold2.vrThreshold1_rpmBins, hardCodedvrThreshold1_rpmBins); +} + +static void cannedvrThreshold2_rpmBins() { + static const float hardCodedvrThreshold2_rpmBins[6] = {600.0, 1900.0, 3200.0, 4400.0, 5700.0, 7000.0}; + copyArray(engineConfiguration->vrThreshold2.vrThreshold2_rpmBins, hardCodedvrThreshold2_rpmBins); +} + +static void cannedmafDecodingBins() { + static const float hardCodedmafDecodingBins[32] = {0.0, 18.225807, 26.451612, 34.677418, 42.903225, 51.129032, 59.35484, 67.58064, 75.80645, 84.03226, 92.258064, 100.48387, 108.70968, 116.935486, 125.16129, 133.3871, 141.6129, 149.83871, 158.06451, 166.29033, 174.51613, 182.74193, 190.96774, 199.19354, 207.41936, 215.64516, 223.87097, 232.09677, 240.32259, 248.54839, 256.7742, 265.0}; + copyArray(config->mafDecodingBins, hardCodedmafDecodingBins); +} + +static void cannedmafDecoding() { + static const float hardCodedmafDecoding[32] = {-34.5, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0}; + copyArray(config->mafDecoding, hardCodedmafDecoding); +} + +static void cannedcltFuelCorr() { + static const float hardCodedcltFuelCorr[16] = {1.5, 1.5, 1.42, 1.36, 1.28, 1.19, 1.12, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0}; + copyArray(config->cltFuelCorr, hardCodedcltFuelCorr); +} + +static void cannedcrankingFuelCoef() { + static const float hardCodedcrankingFuelCoef[8] = {2.8, 2.2, 1.8, 1.8, 1.6, 1.5, 1.0, 1.0}; + copyArray(config->crankingFuelCoef, hardCodedcrankingFuelCoef); +} + +static void cannedcltRevLimitRpmBins() { + static const float hardCodedcltRevLimitRpmBins[4] = {0.0, 0.0, 0.0, 0.0}; + copyArray(config->cltRevLimitRpmBins, hardCodedcltRevLimitRpmBins); +} + +static void cannedcrankingCycleCoef() { + static const float hardCodedcrankingCycleCoef[8] = {1.5, 1.25, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0}; + copyArray(config->crankingCycleCoef, hardCodedcrankingCycleCoef); +} + +static void cannedcltIdleCorr() { + static const float hardCodedcltIdleCorr[16] = {2.0, 2.0, 2.0, 2.0, 1.6, 1.6, 1.6, 1.2, 1.2, 0.8, 0.5, 0.45, 0.45, 0.45, 0.45, 0.76}; + copyArray(config->cltIdleCorr, hardCodedcltIdleCorr); +} + +static void cannedcltCrankingCorr() { + static const float hardCodedcltCrankingCorr[8] = {1.2, 1.2, 1.0, 0.85, 0.8, 0.35, 0.35, 0.35}; + copyArray(config->cltCrankingCorr, hardCodedcltCrankingCorr); +} + +static void cannedcltIdleRpm() { + static const float hardCodedcltIdleRpm[16] = {1360.0, 1360.0, 1300.0, 1200.0, 1160.0, 1100.0, 1060.0, 1000.0, 1000.0, 860.0, 860.0, 800.0, 800.0, 800.0, 1000.0, 1100.0}; + copyArray(config->cltIdleRpm, hardCodedcltIdleRpm); +} + +static void cannedidleAdvanceBins() { + static const float hardCodedidleAdvanceBins[8] = {500.0, 650.0, 750.0, 900.0, 1000.0, 1150.0, 1250.0, 1400.0}; + copyArray(config->idleAdvanceBins, hardCodedidleAdvanceBins); +} + +static void cannedidleAdvance() { + static const float hardCodedidleAdvance[8] = {8.0, 10.0, 12.0, 14.0, 15.0, 16.0, 18.0, 20.0}; + copyArray(config->idleAdvance, hardCodedidleAdvance); +} + +static void cannedfuelLevelBins() { + static const float hardCodedfuelLevelBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(config->fuelLevelBins, hardCodedfuelLevelBins); +} + +static void cannedignBlends1_blendBins() { + static const float hardCodedignBlends1_blendBins[8] = {0.0, 14.3, 28.6, 40.0, 60.0, 71.4, 85.7, 100.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends1_blendBins, hardCodedignBlends1_blendBins); +} + +static void cannedignBlends1_blendValues() { + static const float hardCodedignBlends1_blendValues[8] = {100.0, 100.0, 100.0, 100.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends1_blendValues, hardCodedignBlends1_blendValues); +} + +static void cannedignBlends2_blendValues() { + static const float hardCodedignBlends2_blendValues[8] = {100.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends2_blendValues, hardCodedignBlends2_blendValues); +} + +static void cannedignBlends3_blendBins() { + static const float hardCodedignBlends3_blendBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends3_blendBins, hardCodedignBlends3_blendBins); +} + +static void cannedignBlends3_blendValues() { + static const float hardCodedignBlends3_blendValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends3_blendValues, hardCodedignBlends3_blendValues); +} + +static void cannedignBlends4_blendBins() { + static const float hardCodedignBlends4_blendBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends4_blendBins, hardCodedignBlends4_blendBins); +} + +static void cannedignBlends4_blendValues() { + static const float hardCodedignBlends4_blendValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends4_blendValues, hardCodedignBlends4_blendValues); +} + +static void cannedveBlends1_blendBins() { + static const float hardCodedveBlends1_blendBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends1_blendBins, hardCodedveBlends1_blendBins); +} + +static void cannedveBlends1_blendValues() { + static const float hardCodedveBlends1_blendValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends1_blendValues, hardCodedveBlends1_blendValues); +} + +static void cannedveBlends2_blendBins() { + static const float hardCodedveBlends2_blendBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends2_blendBins, hardCodedveBlends2_blendBins); +} + +static void cannedveBlends2_blendValues() { + static const float hardCodedveBlends2_blendValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends2_blendValues, hardCodedveBlends2_blendValues); +} + +static void cannedveBlends3_blendBins() { + static const float hardCodedveBlends3_blendBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends3_blendBins, hardCodedveBlends3_blendBins); +} + +static void cannedveBlends3_blendValues() { + static const float hardCodedveBlends3_blendValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends3_blendValues, hardCodedveBlends3_blendValues); +} + +static void cannedveBlends4_blendBins() { + static const float hardCodedveBlends4_blendBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends4_blendBins, hardCodedveBlends4_blendBins); +} + +static void cannedveBlends4_blendValues() { + static const float hardCodedveBlends4_blendValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends4_blendValues, hardCodedveBlends4_blendValues); +} + static void cannedtpsTpsAccelTable() { static const float hardCodedtpsTpsAccelTable[8][8] = { {0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, @@ -13,6 +198,11 @@ static void cannedtpsTpsAccelTable() { copyTable(config->tpsTpsAccelTable, hardCodedtpsTpsAccelTable); } +static void cannedboostRpmBins() { + static const float hardCodedboostRpmBins[8] = {0.0, 1100.0, 2300.0, 3400.0, 4600.0, 5700.0, 6900.0, 8000.0}; + copyArray(config->boostRpmBins, hardCodedboostRpmBins); +} + static void cannedboostTableOpenLoop() { static const float hardCodedboostTableOpenLoop[8][8] = { {0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, @@ -27,6 +217,11 @@ static void cannedboostTableOpenLoop() { copyTable(config->boostTableOpenLoop, hardCodedboostTableOpenLoop); } +static void cannedvvtTable1RpmBins() { + static const float hardCodedvvtTable1RpmBins[8] = {1000.0, 1700.0, 2000.0, 4400.0, 4500.0, 5000.0, 6000.0, 7000.0}; + copyArray(config->vvtTable1RpmBins, hardCodedvvtTable1RpmBins); +} + static void cannedvvtTable1() { static const float hardCodedvvtTable1[8][8] = { {0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, @@ -41,6 +236,11 @@ static void cannedvvtTable1() { copyTable(config->vvtTable1, hardCodedvvtTable1); } +static void cannedscriptTable4RpmBins() { + static const float hardCodedscriptTable4RpmBins[10] = {650.0, 767.0, 1300.0, 2000.0, 2700.0, 3400.0, 4100.0, 4800.0, 5678.0, 7000.0}; + copyArray(config->scriptTable4RpmBins, hardCodedscriptTable4RpmBins); +} + static void cannedscriptTable4() { static const float hardCodedscriptTable4[8][10] = { {0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, @@ -55,6 +255,16 @@ static void cannedscriptTable4() { copyTable(config->scriptTable4, hardCodedscriptTable4); } +static void cannedignitionRpmBins() { + static const float hardCodedignitionRpmBins[16] = {650.0, 800.0, 1100.0, 1500.0, 2000.0, 2500.0, 3000.0, 3500.0, 4000.0, 4500.0, 5000.0, 5500.0, 6000.0, 6500.0, 7000.0, 8000.0}; + copyArray(config->ignitionRpmBins, hardCodedignitionRpmBins); +} + +static void cannedignitionLoadBins() { + static const float hardCodedignitionLoadBins[16] = {0.0, 2.0, 4.0, 6.0, 8.0, 11.0, 12.0, 20.0, 30.0, 40.0, 50.0, 60.0, 70.0, 80.0, 90.0, 100.0}; + copyArray(config->ignitionLoadBins, hardCodedignitionLoadBins); +} + static void cannedignitionTable() { static const float hardCodedignitionTable[16][16] = { {12.100, 10.000, 10.000, 10.000, 29.300, 16.600, 30.000, 40.000, 40.000, 40.000, 41.000, 42.000, 42.000, 42.000, 42.000, 42.000, }, @@ -77,6 +287,119 @@ static void cannedignitionTable() { copyTable(config->ignitionTable, hardCodedignitionTable); } +static void cannedignBlends1_rpmBins() { + static const float hardCodedignBlends1_rpmBins[8] = {0.0, 400.0, 500.0, 1000.0, 2000.0, 3000.0, 5000.0, 7000.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends1_rpmBins, hardCodedignBlends1_rpmBins); +} + +static void cannedignBlends1_loadBins() { + static const float hardCodedignBlends1_loadBins[8] = {10.0, 15.0, 20.0, 30.0, 60.0, 90.0, 100.0, 120.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends1_loadBins, hardCodedignBlends1_loadBins); +} + +static void cannedignBlends1_table() { + static const float hardCodedignBlends1_table[8][8] = { +{0.000, 0.000, -20.000, -20.000, -20.000, 0.000, 0.000, 0.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +}; + copyTable(engineConfiguration->boostClosedLoopBlends2.ignBlends1_table, hardCodedignBlends1_table); +} + +static void cannedignBlends2_rpmBins() { + static const float hardCodedignBlends2_rpmBins[8] = {0.0, 500.0, 2500.0, 3000.0, 5000.0, 6000.0, 7000.0, 8000.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends2_rpmBins, hardCodedignBlends2_rpmBins); +} + +static void cannedignBlends2_loadBins() { + static const float hardCodedignBlends2_loadBins[8] = {0.0, 5.0, 10.0, 20.0, 40.0, 60.0, 80.0, 100.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends2_loadBins, hardCodedignBlends2_loadBins); +} + +static void cannedignBlends2_table() { + static const float hardCodedignBlends2_table[8][8] = { +{0.000, 0.000, 0.000, -20.000, -20.000, 0.000, 0.000, 0.000, }, +{0.000, 0.000, 0.000, -20.000, -20.000, 0.000, 0.000, 0.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +}; + copyTable(engineConfiguration->boostClosedLoopBlends2.ignBlends2_table, hardCodedignBlends2_table); +} + +static void cannedignBlends3_rpmBins() { + static const float hardCodedignBlends3_rpmBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends3_rpmBins, hardCodedignBlends3_rpmBins); +} + +static void cannedignBlends3_loadBins() { + static const float hardCodedignBlends3_loadBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends3_loadBins, hardCodedignBlends3_loadBins); +} + +static void cannedignBlends4_rpmBins() { + static const float hardCodedignBlends4_rpmBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends4_rpmBins, hardCodedignBlends4_rpmBins); +} + +static void cannedignBlends4_loadBins() { + static const float hardCodedignBlends4_loadBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends4_loadBins, hardCodedignBlends4_loadBins); +} + +static void cannedveBlends1_rpmBins() { + static const float hardCodedveBlends1_rpmBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends1_rpmBins, hardCodedveBlends1_rpmBins); +} + +static void cannedveBlends1_loadBins() { + static const float hardCodedveBlends1_loadBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends1_loadBins, hardCodedveBlends1_loadBins); +} + +static void cannedveBlends2_rpmBins() { + static const float hardCodedveBlends2_rpmBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends2_rpmBins, hardCodedveBlends2_rpmBins); +} + +static void cannedveBlends2_loadBins() { + static const float hardCodedveBlends2_loadBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends2_loadBins, hardCodedveBlends2_loadBins); +} + +static void cannedveBlends3_rpmBins() { + static const float hardCodedveBlends3_rpmBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends3_rpmBins, hardCodedveBlends3_rpmBins); +} + +static void cannedveBlends3_loadBins() { + static const float hardCodedveBlends3_loadBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends3_loadBins, hardCodedveBlends3_loadBins); +} + +static void cannedveBlends4_rpmBins() { + static const float hardCodedveBlends4_rpmBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends4_rpmBins, hardCodedveBlends4_rpmBins); +} + +static void cannedveBlends4_loadBins() { + static const float hardCodedveBlends4_loadBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends4_loadBins, hardCodedveBlends4_loadBins); +} + +static void cannedignitionIatCorrLoadBins() { + static const float hardCodedignitionIatCorrLoadBins[8] = {5.0, 15.0, 25.0, 35.0, 45.0, 65.0, 90.0, 110.0}; + copyArray(config->ignitionIatCorrLoadBins, hardCodedignitionIatCorrLoadBins); +} + static void cannedignitionIatCorrTable() { static const float hardCodedignitionIatCorrTable[8][8] = { {0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, @@ -91,6 +414,16 @@ static void cannedignitionIatCorrTable() { copyTable(config->ignitionIatCorrTable, hardCodedignitionIatCorrTable); } +static void cannedveRpmBins() { + static const float hardCodedveRpmBins[16] = {600.0, 900.0, 1100.0, 1500.0, 1900.0, 2400.0, 3000.0, 3700.0, 4200.0, 4700.0, 5200.0, 5800.0, 6300.0, 6800.0, 7000.0, 7200.0}; + copyArray(config->veRpmBins, hardCodedveRpmBins); +} + +static void cannedveLoadBins() { + static const float hardCodedveLoadBins[16] = {0.0, 2.0, 4.0, 6.0, 8.0, 10.0, 15.0, 20.0, 30.0, 40.0, 50.0, 60.0, 70.0, 80.0, 90.0, 100.0}; + copyArray(config->veLoadBins, hardCodedveLoadBins); +} + static void cannedveTable() { static const float hardCodedveTable[16][16] = { {15.400, 15.400, 21.000, 15.500, 13.100, 10.000, 10.000, 10.000, 10.000, 10.000, 10.000, 10.000, 10.000, 10.000, 10.000, 10.000, }, @@ -113,6 +446,36 @@ static void cannedveTable() { copyTable(config->veTable, hardCodedveTable); } +static void cannedfuelTrimRpmBins() { + static const float hardCodedfuelTrimRpmBins[4] = {0.0, 0.0, 0.0, 0.0}; + copyArray(config->fuelTrimRpmBins, hardCodedfuelTrimRpmBins); +} + +static void cannedfuelTrimLoadBins() { + static const float hardCodedfuelTrimLoadBins[4] = {0.0, 0.0, 0.0, 0.0}; + copyArray(config->fuelTrimLoadBins, hardCodedfuelTrimLoadBins); +} + +static void cannedignTrimRpmBins() { + static const float hardCodedignTrimRpmBins[4] = {0.0, 0.0, 0.0, 0.0}; + copyArray(config->ignTrimRpmBins, hardCodedignTrimRpmBins); +} + +static void cannedignTrimLoadBins() { + static const float hardCodedignTrimLoadBins[4] = {0.0, 0.0, 0.0, 0.0}; + copyArray(config->ignTrimLoadBins, hardCodedignTrimLoadBins); +} + +static void cannedmapEstimateRpmBins() { + static const float hardCodedmapEstimateRpmBins[16] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(config->mapEstimateRpmBins, hardCodedmapEstimateRpmBins); +} + +static void cannedmapEstimateTpsBins() { + static const float hardCodedmapEstimateTpsBins[16] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(config->mapEstimateTpsBins, hardCodedmapEstimateTpsBins); +} + static void cannedmapEstimateTable() { static const float hardCodedmapEstimateTable[16][16] = { {0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, @@ -157,6 +520,16 @@ static void cannedinjectionPhase() { copyTable(config->injectionPhase, hardCodedinjectionPhase); } +static void cannedpedalToTpsRpmBins() { + static const float hardCodedpedalToTpsRpmBins[8] = {700.0, 900.0, 3000.0, 3200.0, 4000.0, 5700.0, 6900.0, 8000.0}; + copyArray(config->pedalToTpsRpmBins, hardCodedpedalToTpsRpmBins); +} + +static void cannedpedalToTpsPedalBins() { + static const float hardCodedpedalToTpsPedalBins[8] = {1.0, 5.0, 10.0, 20.0, 40.0, 50.0, 70.0, 90.0}; + copyArray(config->pedalToTpsPedalBins, hardCodedpedalToTpsPedalBins); +} + static void cannedpedalToTpsTable() { static const float hardCodedpedalToTpsTable[8][8] = { {0.000, 0.000, 0.000, 0.000, 6.000, 6.000, 3.000, 1.000, }, @@ -205,6 +578,16 @@ static void cannedtcuSolenoidTable() { copyTable(config->tcuSolenoidTable, hardCodedtcuSolenoidTable); } +static void cannedhpfpTargetRpmBins() { + static const float hardCodedhpfpTargetRpmBins[10] = {0.0, 900.0, 1800.0, 2650.0, 3550.0, 4450.0, 5350.0, 6200.0, 7100.0, 8000.0}; + copyArray(config->hpfpTargetRpmBins, hardCodedhpfpTargetRpmBins); +} + +static void cannedhpfpCompensationRpmBins() { + static const float hardCodedhpfpCompensationRpmBins[10] = {0.0, 900.0, 1800.0, 2650.0, 3550.0, 4450.0, 5350.0, 6200.0, 7100.0, 8000.0}; + copyArray(config->hpfpCompensationRpmBins, hardCodedhpfpCompensationRpmBins); +} + static void cannedpostCrankingFactor() { static const float hardCodedpostCrankingFactor[6][6] = { {1.200, 1.000, 1.000, 1.000, 1.000, 1.000, }, diff --git a/generated/canned-tunes/m111-alex-comparing-against-current-m111-alex-default.md b/generated/canned-tunes/m111-alex-comparing-against-current-m111-alex-default.md index 45735d5..eebe188 100644 --- a/generated/canned-tunes/m111-alex-comparing-against-current-m111-alex-default.md +++ b/generated/canned-tunes/m111-alex-comparing-against-current-m111-alex-default.md @@ -327,20 +327,132 @@ engineConfiguration->hpfpPidI = 0; + cannedknockNoiseRpmBins(); + cannedknockBaseNoise(); + cannedscriptCurve5Bins(); + cannedscriptCurve6Bins(); + cannedsparkDwellValues(); + canneddwellVoltageCorrVoltBins(); + canneddwellVoltageCorrValues(); + cannedprimeBins(); + cannedprimeValues(); + cannedmap_samplingAngleBins(); + cannedmap_samplingWindowBins(); + cannedinjector_battLagCorrBins(); + cannedinjector_battLagCorr(); + cannedvrThreshold1_rpmBins(); + cannedvrThreshold1_values(); + cannedvrThreshold2_rpmBins(); + cannedvrThreshold2_values(); + cannedmafDecodingBins(); + cannedmafDecoding(); + cannediatFuelCorr(); + cannedcltTimingBins(); + cannedcltTimingExtra(); + cannedcltFuelCorrBins(); + cannedcltFuelCorr(); + cannedcrankingFuelBins(); + cannedcrankingFuelCoef(); + cannedcrankingFuelCoefE100(); + cannedcltRevLimitRpmBins(); + cannedetbBiasBins(); + cannedetbBiasValues(); + cannedcrankingCycleCoef(); + cannedcltIdleCorrBins(); + cannedcltIdleCorr(); + cannedcltCrankingCorrBins(); + cannedcltCrankingCorr(); + cannedcltIdleRpmBins(); + cannedcltIdleRpm(); + cannedfuelLevelBins(); + cannedhpfpLobeProfileQuantityBins(); + cannedhpfpLobeProfileAngle(); + cannedhpfpDeadtimeVoltsBins(); + cannedwwTauCltValues(); + cannedwwMapBins(); + cannedwwTauMapValues(); + cannedwwBetaCltValues(); + cannedwwBetaMapValues(); + cannedignBlends1_blendBins(); + cannedignBlends1_blendValues(); + cannedignBlends2_blendBins(); + cannedignBlends2_blendValues(); + cannedignBlends3_blendBins(); + cannedignBlends3_blendValues(); + cannedignBlends4_blendBins(); + cannedignBlends4_blendValues(); + cannedveBlends1_blendBins(); + cannedveBlends1_blendValues(); + cannedveBlends2_blendBins(); + cannedveBlends2_blendValues(); + cannedveBlends3_blendBins(); + cannedveBlends3_blendValues(); + cannedveBlends4_blendBins(); + cannedveBlends4_blendValues(); + cannedtpsTpsAccelFromRpmBins(); + cannedtpsTpsAccelToRpmBins(); cannedtpsTpsAccelTable(); + cannedboostRpmBins(); + cannedboostTpsBins(); cannedboostTableOpenLoop(); cannedboostTableClosedLoop(); + cannedscriptTable1RpmBins(); + cannedscriptTable1LoadBins(); cannedscriptTable1(); + cannedscriptTable4RpmBins(); cannedscriptTable4(); + cannedignitionRpmBins(); + cannedignitionLoadBins(); cannedignitionTable(); + cannedignBlends1_rpmBins(); + cannedignBlends1_loadBins(); + cannedignBlends2_rpmBins(); + cannedignBlends2_loadBins(); + cannedignBlends3_rpmBins(); + cannedignBlends3_loadBins(); + cannedignBlends4_rpmBins(); + cannedignBlends4_loadBins(); + cannedveBlends1_rpmBins(); + cannedveBlends1_loadBins(); + cannedveBlends2_rpmBins(); + cannedveBlends2_loadBins(); + cannedveBlends3_rpmBins(); + cannedveBlends3_loadBins(); + cannedveBlends4_rpmBins(); + cannedveBlends4_loadBins(); + cannedignitionIatCorrLoadBins(); cannedignitionIatCorrTable(); + cannedveRpmBins(); + cannedveLoadBins(); cannedveTable(); + cannedfuelTrimRpmBins(); + cannedfuelTrimLoadBins(); + cannedignTrimRpmBins(); + cannedignTrimLoadBins(); + cannedmapEstimateRpmBins(); + cannedmapEstimateTpsBins(); cannedmapEstimateTable(); cannedinjectionPhase(); + cannedpedalToTpsRpmBins(); + cannedpedalToTpsPedalBins(); cannedpedalToTpsTable(); + cannedmaxKnockRetardRpmBins(); + cannedmaxKnockRetardLoadBins(); cannedmaxKnockRetardTable(); + cannedlambdaLoadBins(); cannedlambdaTable(); + cannediacPidMultRpmBins(); + cannediacPidMultLoadBins(); cannediacPidMultTable(); + cannedgppwm1_loadBins(); + cannedgppwm1_table(); + cannedgppwm2_rpmBins(); + cannedgppwm2_table(); + cannedgppwm3_table(); cannedtcuSolenoidTable(); + cannedhpfpTargetRpmBins(); + cannedhpfpTargetLoadBins(); + cannedhpfpCompensationRpmBins(); + cannedhpfpCompensationLoadBins(); cannedpostCrankingFactor(); ``` diff --git a/generated/canned-tunes/m111-alex-comparing-against-current-m111-alex-default_methods.md b/generated/canned-tunes/m111-alex-comparing-against-current-m111-alex-default_methods.md index 0ee7614..765697c 100644 --- a/generated/canned-tunes/m111-alex-comparing-against-current-m111-alex-default_methods.md +++ b/generated/canned-tunes/m111-alex-comparing-against-current-m111-alex-default_methods.md @@ -1,4 +1,324 @@ ``` +static void cannedknockNoiseRpmBins() { + static const float hardCodedknockNoiseRpmBins[16] = {650.0, 720.0, 790.0, 1160.0, 1580.0, 2000.0, 2420.0, 2840.0, 3260.0, 3680.0, 4100.0, 4520.0, 4940.0, 5413.0, 6207.0, 7000.0}; + copyArray(config->knockNoiseRpmBins, hardCodedknockNoiseRpmBins); +} + +static void cannedknockBaseNoise() { + static const float hardCodedknockBaseNoise[16] = {-39.0, -39.0, -39.0, -34.0, -27.0, -24.0, -23.0, -22.0, -20.0, -16.0, -13.0, -12.0, -10.0, -8.0, -6.0, -2.0}; + copyArray(config->knockBaseNoise, hardCodedknockBaseNoise); +} + +static void cannedscriptCurve5Bins() { + static const float hardCodedscriptCurve5Bins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(config->scriptCurve5Bins, hardCodedscriptCurve5Bins); +} + +static void cannedscriptCurve6Bins() { + static const float hardCodedscriptCurve6Bins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(config->scriptCurve6Bins, hardCodedscriptCurve6Bins); +} + +static void cannedsparkDwellValues() { + static const float hardCodedsparkDwellValues[8] = {4.0, 3.0, 3.0, 2.6, 2.6, 2.6, 2.6, 2.6}; + copyArray(config->sparkDwellValues, hardCodedsparkDwellValues); +} + +static void canneddwellVoltageCorrVoltBins() { + static const float hardCodeddwellVoltageCorrVoltBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(config->dwellVoltageCorrVoltBins, hardCodeddwellVoltageCorrVoltBins); +} + +static void canneddwellVoltageCorrValues() { + static const float hardCodeddwellVoltageCorrValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(config->dwellVoltageCorrValues, hardCodeddwellVoltageCorrValues); +} + +static void cannedprimeBins() { + static const float hardCodedprimeBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->primeBins, hardCodedprimeBins); +} + +static void cannedprimeValues() { + static const float hardCodedprimeValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->primeValues, hardCodedprimeValues); +} + +static void cannedmap_samplingAngleBins() { + static const float hardCodedmap_samplingAngleBins[8] = {800.0, 1686.0, 2571.0, 3457.0, 4343.0, 5229.0, 6114.0, 7000.0}; + copyArray(engineConfiguration->map.map_samplingAngleBins, hardCodedmap_samplingAngleBins); +} + +static void cannedmap_samplingWindowBins() { + static const float hardCodedmap_samplingWindowBins[8] = {800.0, 1686.0, 2571.0, 3457.0, 4343.0, 5229.0, 6114.0, 7000.0}; + copyArray(engineConfiguration->map.map_samplingWindowBins, hardCodedmap_samplingWindowBins); +} + +static void cannedinjector_battLagCorrBins() { + static const float hardCodedinjector_battLagCorrBins[8] = {6.0, 8.0, 10.0, 11.0, 12.0, 14.0, 16.0, 18.0}; + copyArray(engineConfiguration->injectorSecondary.injector_battLagCorrBins, hardCodedinjector_battLagCorrBins); +} + +static void cannedinjector_battLagCorr() { + static const float hardCodedinjector_battLagCorr[8] = {3.3710022, 2.84, 2.0, 1.8050001, 1.61, 1.37, 1.18, 1.04}; + copyArray(engineConfiguration->injectorSecondary.injector_battLagCorr, hardCodedinjector_battLagCorr); +} + +static void cannedvrThreshold1_rpmBins() { + static const float hardCodedvrThreshold1_rpmBins[6] = {600.0, 1000.0, 3500.0, 4500.0, 5500.0, 7000.0}; + copyArray(engineConfiguration->vrThreshold2.vrThreshold1_rpmBins, hardCodedvrThreshold1_rpmBins); +} + +static void cannedvrThreshold1_values() { + static const float hardCodedvrThreshold1_values[6] = {0.3, 1.2, 2.4, 2.43, 2.47, 2.5}; + copyArray(engineConfiguration->vrThreshold2.vrThreshold1_values, hardCodedvrThreshold1_values); +} + +static void cannedvrThreshold2_rpmBins() { + static const float hardCodedvrThreshold2_rpmBins[6] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->vrThreshold2.vrThreshold2_rpmBins, hardCodedvrThreshold2_rpmBins); +} + +static void cannedvrThreshold2_values() { + static const float hardCodedvrThreshold2_values[6] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->vrThreshold2.vrThreshold2_values, hardCodedvrThreshold2_values); +} + +static void cannedmafDecodingBins() { + static const float hardCodedmafDecodingBins[32] = {0.0, 18.013283, 26.451612, 34.677418, 42.903225, 51.129032, 59.35484, 67.580635, 75.80645, 84.03226, 92.258064, 100.48387, 108.70968, 116.935486, 125.16129, 133.3871, 141.6129, 149.83871, 158.06451, 166.29033, 174.51613, 182.74193, 190.96774, 199.19353, 207.41936, 215.64516, 223.87097, 232.09677, 240.3226, 248.54839, 256.7742, 265.0}; + copyArray(config->mafDecodingBins, hardCodedmafDecodingBins); +} + +static void cannedmafDecoding() { + static const float hardCodedmafDecoding[32] = {-34.5, 195.01631, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0}; + copyArray(config->mafDecoding, hardCodedmafDecoding); +} + +static void cannediatFuelCorr() { + static const float hardCodediatFuelCorr[16] = {1.11, 1.07, 1.05, 1.02, 1.0, 0.98, 0.95, 0.93, 0.92, 0.9, 0.87, 0.85, 0.82, 0.8066667, 0.7933333, 0.78}; + copyArray(config->iatFuelCorr, hardCodediatFuelCorr); +} + +static void cannedcltTimingBins() { + static const float hardCodedcltTimingBins[8] = {-40.0, -15.0, 10.0, 20.0, 50.0, 80.0, 97.0, 120.0}; + copyArray(config->cltTimingBins, hardCodedcltTimingBins); +} + +static void cannedcltTimingExtra() { + static const float hardCodedcltTimingExtra[8] = {11.0, 9.0, 7.0, 5.0, 2.0, 0.0, 0.0, -2.0}; + copyArray(config->cltTimingExtra, hardCodedcltTimingExtra); +} + +static void cannedcltFuelCorrBins() { + static const float hardCodedcltFuelCorrBins[16] = {-40.0, -30.0, -20.0, -10.0, 0.0, 9.71, 21.46, 31.48, 41.17, 50.0, 60.0, 70.0, 80.0, 90.0, 100.0, 110.0}; + copyArray(config->cltFuelCorrBins, hardCodedcltFuelCorrBins); +} + +static void cannedcltFuelCorr() { + static const float hardCodedcltFuelCorr[16] = {1.53, 1.53, 1.4499981, 1.3900006, 1.3099988, 1.25, 1.1900002, 1.1500002, 1.1000001, 1.06, 1.02, 1.0000021, 1.0, 1.0, 1.0, 1.0}; + copyArray(config->cltFuelCorr, hardCodedcltFuelCorr); +} + +static void cannedcrankingFuelBins() { + static const float hardCodedcrankingFuelBins[8] = {-27.15, -3.94, 4.77, 20.0, 35.0, 50.0, 65.0, 90.0}; + copyArray(config->crankingFuelBins, hardCodedcrankingFuelBins); +} + +static void cannedcrankingFuelCoef() { + static const float hardCodedcrankingFuelCoef[8] = {3.0, 2.64, 2.13, 1.550003, 1.300003, 1.0999985, 1.0, 1.0}; + copyArray(config->crankingFuelCoef, hardCodedcrankingFuelCoef); +} + +static void cannedcrankingFuelCoefE100() { + static const float hardCodedcrankingFuelCoefE100[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(config->crankingFuelCoefE100, hardCodedcrankingFuelCoefE100); +} + +static void cannedcltRevLimitRpmBins() { + static const float hardCodedcltRevLimitRpmBins[4] = {0.0, 0.0, 0.0, 0.0}; + copyArray(config->cltRevLimitRpmBins, hardCodedcltRevLimitRpmBins); +} + +static void cannedetbBiasBins() { + static const float hardCodedetbBiasBins[8] = {0.0, 2.0, 4.0, 10.0, 30.0, 50.0, 80.0, 100.0}; + copyArray(config->etbBiasBins, hardCodedetbBiasBins); +} + +static void cannedetbBiasValues() { + static const float hardCodedetbBiasValues[8] = {-18.0, -18.0, -18.0, 16.0, 17.0, 15.0, 16.0, 22.0}; + copyArray(config->etbBiasValues, hardCodedetbBiasValues); +} + +static void cannedcrankingCycleCoef() { + static const float hardCodedcrankingCycleCoef[8] = {2.0, 1.300003, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0}; + copyArray(config->crankingCycleCoef, hardCodedcrankingCycleCoef); +} + +static void cannedcltIdleCorrBins() { + static const float hardCodedcltIdleCorrBins[16] = {-40.0, -30.410034, -21.25, -9.919983, 0.11000013, 10.0, 20.0, 30.0, 39.779785, 50.52, 60.0, 70.0, 80.0, 90.0, 100.0, 110.0}; + copyArray(config->cltIdleCorrBins, hardCodedcltIdleCorrBins); +} + +static void cannedcltIdleCorr() { + static const float hardCodedcltIdleCorr[16] = {1.6900029, 1.5400014, 1.4800038, 1.4199986, 1.3700032, 1.3200002, 1.196672, 1.0933361, 1.059998, 1.0300001, 1.0000031, 0.99999666, 1.0, 1.0, 1.0, 1.0}; + copyArray(config->cltIdleCorr, hardCodedcltIdleCorr); +} + +static void cannedcltCrankingCorrBins() { + static const float hardCodedcltCrankingCorrBins[8] = {-40.0, -20.0, 0.0, 19.83, 40.0, 60.0, 80.0, 100.0}; + copyArray(config->cltCrankingCorrBins, hardCodedcltCrankingCorrBins); +} + +static void cannedcltCrankingCorr() { + static const float hardCodedcltCrankingCorr[8] = {1.5, 1.3366667, 1.1733334, 1.05, 0.96000004, 0.8100002, 0.69000024, 0.6500002}; + copyArray(config->cltCrankingCorr, hardCodedcltCrankingCorr); +} + +static void cannedcltIdleRpmBins() { + static const float hardCodedcltIdleRpmBins[16] = {-40.0, -30.0, -20.0, 0.0, 22.0, 36.0, 46.0, 56.0, 60.0, 70.0, 80.0, 90.0, 100.0, 120.0, 130.0, 140.0}; + copyArray(config->cltIdleRpmBins, hardCodedcltIdleRpmBins); +} + +static void cannedcltIdleRpm() { + static const float hardCodedcltIdleRpm[16] = {1220.0, 1200.0, 1200.0, 1000.0, 1000.0, 960.0, 900.0, 860.0, 800.0, 800.0, 800.0, 800.0, 900.0, 480.0, 0.0, 0.0}; + copyArray(config->cltIdleRpm, hardCodedcltIdleRpm); +} + +static void cannedfuelLevelBins() { + static const float hardCodedfuelLevelBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(config->fuelLevelBins, hardCodedfuelLevelBins); +} + +static void cannedhpfpLobeProfileQuantityBins() { + static const float hardCodedhpfpLobeProfileQuantityBins[16] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(config->hpfpLobeProfileQuantityBins, hardCodedhpfpLobeProfileQuantityBins); +} + +static void cannedhpfpLobeProfileAngle() { + static const float hardCodedhpfpLobeProfileAngle[16] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(config->hpfpLobeProfileAngle, hardCodedhpfpLobeProfileAngle); +} + +static void cannedhpfpDeadtimeVoltsBins() { + static const float hardCodedhpfpDeadtimeVoltsBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(config->hpfpDeadtimeVoltsBins, hardCodedhpfpDeadtimeVoltsBins); +} + +static void cannedwwTauCltValues() { + static const float hardCodedwwTauCltValues[8] = {0.95, 0.8, 0.67, 0.55, 0.4, 0.32, 0.25, 0.2}; + copyArray(config->wwTauCltValues, hardCodedwwTauCltValues); +} + +static void cannedwwMapBins() { + static const float hardCodedwwMapBins[8] = {7.0, 18.0, 29.0, 40.0, 49.0, 60.0, 70.0, 88.0}; + copyArray(config->wwMapBins, hardCodedwwMapBins); +} + +static void cannedwwTauMapValues() { + static const float hardCodedwwTauMapValues[8] = {0.76, 0.83, 0.84, 0.86, 0.87, 0.92, 0.94, 0.95}; + copyArray(config->wwTauMapValues, hardCodedwwTauMapValues); +} + +static void cannedwwBetaCltValues() { + static const float hardCodedwwBetaCltValues[8] = {0.79, 0.72, 0.63, 0.52, 0.44, 0.37, 0.3, 0.25}; + copyArray(config->wwBetaCltValues, hardCodedwwBetaCltValues); +} + +static void cannedwwBetaMapValues() { + static const float hardCodedwwBetaMapValues[8] = {0.05, 0.16, 0.25, 0.7, 0.78, 0.96, 1.05, 1.18}; + copyArray(config->wwBetaMapValues, hardCodedwwBetaMapValues); +} + +static void cannedignBlends1_blendBins() { + static const float hardCodedignBlends1_blendBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends1_blendBins, hardCodedignBlends1_blendBins); +} + +static void cannedignBlends1_blendValues() { + static const float hardCodedignBlends1_blendValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends1_blendValues, hardCodedignBlends1_blendValues); +} + +static void cannedignBlends2_blendBins() { + static const float hardCodedignBlends2_blendBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends2_blendBins, hardCodedignBlends2_blendBins); +} + +static void cannedignBlends2_blendValues() { + static const float hardCodedignBlends2_blendValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends2_blendValues, hardCodedignBlends2_blendValues); +} + +static void cannedignBlends3_blendBins() { + static const float hardCodedignBlends3_blendBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends3_blendBins, hardCodedignBlends3_blendBins); +} + +static void cannedignBlends3_blendValues() { + static const float hardCodedignBlends3_blendValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends3_blendValues, hardCodedignBlends3_blendValues); +} + +static void cannedignBlends4_blendBins() { + static const float hardCodedignBlends4_blendBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends4_blendBins, hardCodedignBlends4_blendBins); +} + +static void cannedignBlends4_blendValues() { + static const float hardCodedignBlends4_blendValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends4_blendValues, hardCodedignBlends4_blendValues); +} + +static void cannedveBlends1_blendBins() { + static const float hardCodedveBlends1_blendBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends1_blendBins, hardCodedveBlends1_blendBins); +} + +static void cannedveBlends1_blendValues() { + static const float hardCodedveBlends1_blendValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends1_blendValues, hardCodedveBlends1_blendValues); +} + +static void cannedveBlends2_blendBins() { + static const float hardCodedveBlends2_blendBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends2_blendBins, hardCodedveBlends2_blendBins); +} + +static void cannedveBlends2_blendValues() { + static const float hardCodedveBlends2_blendValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends2_blendValues, hardCodedveBlends2_blendValues); +} + +static void cannedveBlends3_blendBins() { + static const float hardCodedveBlends3_blendBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends3_blendBins, hardCodedveBlends3_blendBins); +} + +static void cannedveBlends3_blendValues() { + static const float hardCodedveBlends3_blendValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends3_blendValues, hardCodedveBlends3_blendValues); +} + +static void cannedveBlends4_blendBins() { + static const float hardCodedveBlends4_blendBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends4_blendBins, hardCodedveBlends4_blendBins); +} + +static void cannedveBlends4_blendValues() { + static const float hardCodedveBlends4_blendValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends4_blendValues, hardCodedveBlends4_blendValues); +} + +static void cannedtpsTpsAccelFromRpmBins() { + static const float hardCodedtpsTpsAccelFromRpmBins[8] = {0.0, 5.0, 10.0, 20.0, 60.0, 70.0, 90.0, 100.0}; + copyArray(config->tpsTpsAccelFromRpmBins, hardCodedtpsTpsAccelFromRpmBins); +} + +static void cannedtpsTpsAccelToRpmBins() { + static const float hardCodedtpsTpsAccelToRpmBins[8] = {0.0, 5.0, 10.0, 20.0, 60.0, 70.0, 90.0, 100.0}; + copyArray(config->tpsTpsAccelToRpmBins, hardCodedtpsTpsAccelToRpmBins); +} + static void cannedtpsTpsAccelTable() { static const float hardCodedtpsTpsAccelTable[8][8] = { {0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, @@ -13,6 +333,16 @@ static void cannedtpsTpsAccelTable() { copyTable(config->tpsTpsAccelTable, hardCodedtpsTpsAccelTable); } +static void cannedboostRpmBins() { + static const float hardCodedboostRpmBins[8] = {0.0, 1200.0, 2300.0, 3500.0, 4600.0, 5700.0, 6900.0, 8000.0}; + copyArray(config->boostRpmBins, hardCodedboostRpmBins); +} + +static void cannedboostTpsBins() { + static const float hardCodedboostTpsBins[8] = {0.0, 14.0, 28.0, 42.0, 58.0, 72.0, 86.0, 100.0}; + copyArray(config->boostTpsBins, hardCodedboostTpsBins); +} + static void cannedboostTableOpenLoop() { static const float hardCodedboostTableOpenLoop[8][8] = { {0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, @@ -41,6 +371,16 @@ static void cannedboostTableClosedLoop() { copyTable(config->boostTableClosedLoop, hardCodedboostTableClosedLoop); } +static void cannedscriptTable1RpmBins() { + static const float hardCodedscriptTable1RpmBins[8] = {650.0, 800.0, 1100.0, 1500.0, 3500.0, 4400.0, 5300.0, 7000.0}; + copyArray(config->scriptTable1RpmBins, hardCodedscriptTable1RpmBins); +} + +static void cannedscriptTable1LoadBins() { + static const float hardCodedscriptTable1LoadBins[8] = {20.0, 25.0, 30.0, 40.0, 50.0, 70.0, 85.0, 100.0}; + copyArray(config->scriptTable1LoadBins, hardCodedscriptTable1LoadBins); +} + static void cannedscriptTable1() { static const float hardCodedscriptTable1[8][8] = { {0.100, 0.100, 0.100, 0.100, 0.100, 0.100, 0.100, 0.100, }, @@ -55,6 +395,11 @@ static void cannedscriptTable1() { copyTable(config->scriptTable1, hardCodedscriptTable1); } +static void cannedscriptTable4RpmBins() { + static const float hardCodedscriptTable4RpmBins[10] = {650.0, 859.0, 1353.0, 2000.0, 2700.0, 3400.0, 4100.0, 4856.0, 5777.0, 7000.0}; + copyArray(config->scriptTable4RpmBins, hardCodedscriptTable4RpmBins); +} + static void cannedscriptTable4() { static const float hardCodedscriptTable4[8][10] = { {0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, @@ -69,6 +414,16 @@ static void cannedscriptTable4() { copyTable(config->scriptTable4, hardCodedscriptTable4); } +static void cannedignitionRpmBins() { + static const float hardCodedignitionRpmBins[16] = {300.0, 700.0, 800.0, 900.0, 1100.0, 1400.0, 1700.0, 2100.0, 2500.0, 3000.0, 3500.0, 4000.0, 4500.0, 5000.0, 6500.0, 7000.0}; + copyArray(config->ignitionRpmBins, hardCodedignitionRpmBins); +} + +static void cannedignitionLoadBins() { + static const float hardCodedignitionLoadBins[16] = {30.0, 35.0, 40.0, 45.0, 50.0, 55.0, 60.0, 65.0, 70.0, 75.0, 80.0, 85.0, 90.0, 95.0, 100.0, 110.0}; + copyArray(config->ignitionLoadBins, hardCodedignitionLoadBins); +} + static void cannedignitionTable() { static const float hardCodedignitionTable[16][16] = { {0.000, 8.000, 8.000, 8.000, 8.000, 10.000, 18.400, 22.800, 23.700, 30.700, 30.700, 30.700, 30.700, 30.700, 30.700, 30.700, }, @@ -91,6 +446,91 @@ static void cannedignitionTable() { copyTable(config->ignitionTable, hardCodedignitionTable); } +static void cannedignBlends1_rpmBins() { + static const float hardCodedignBlends1_rpmBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends1_rpmBins, hardCodedignBlends1_rpmBins); +} + +static void cannedignBlends1_loadBins() { + static const float hardCodedignBlends1_loadBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends1_loadBins, hardCodedignBlends1_loadBins); +} + +static void cannedignBlends2_rpmBins() { + static const float hardCodedignBlends2_rpmBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends2_rpmBins, hardCodedignBlends2_rpmBins); +} + +static void cannedignBlends2_loadBins() { + static const float hardCodedignBlends2_loadBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends2_loadBins, hardCodedignBlends2_loadBins); +} + +static void cannedignBlends3_rpmBins() { + static const float hardCodedignBlends3_rpmBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends3_rpmBins, hardCodedignBlends3_rpmBins); +} + +static void cannedignBlends3_loadBins() { + static const float hardCodedignBlends3_loadBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends3_loadBins, hardCodedignBlends3_loadBins); +} + +static void cannedignBlends4_rpmBins() { + static const float hardCodedignBlends4_rpmBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends4_rpmBins, hardCodedignBlends4_rpmBins); +} + +static void cannedignBlends4_loadBins() { + static const float hardCodedignBlends4_loadBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends4_loadBins, hardCodedignBlends4_loadBins); +} + +static void cannedveBlends1_rpmBins() { + static const float hardCodedveBlends1_rpmBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends1_rpmBins, hardCodedveBlends1_rpmBins); +} + +static void cannedveBlends1_loadBins() { + static const float hardCodedveBlends1_loadBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends1_loadBins, hardCodedveBlends1_loadBins); +} + +static void cannedveBlends2_rpmBins() { + static const float hardCodedveBlends2_rpmBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends2_rpmBins, hardCodedveBlends2_rpmBins); +} + +static void cannedveBlends2_loadBins() { + static const float hardCodedveBlends2_loadBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends2_loadBins, hardCodedveBlends2_loadBins); +} + +static void cannedveBlends3_rpmBins() { + static const float hardCodedveBlends3_rpmBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends3_rpmBins, hardCodedveBlends3_rpmBins); +} + +static void cannedveBlends3_loadBins() { + static const float hardCodedveBlends3_loadBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends3_loadBins, hardCodedveBlends3_loadBins); +} + +static void cannedveBlends4_rpmBins() { + static const float hardCodedveBlends4_rpmBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends4_rpmBins, hardCodedveBlends4_rpmBins); +} + +static void cannedveBlends4_loadBins() { + static const float hardCodedveBlends4_loadBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends4_loadBins, hardCodedveBlends4_loadBins); +} + +static void cannedignitionIatCorrLoadBins() { + static const float hardCodedignitionIatCorrLoadBins[8] = {0.0, 5.0, 10.0, 25.0, 45.0, 65.0, 90.0, 110.0}; + copyArray(config->ignitionIatCorrLoadBins, hardCodedignitionIatCorrLoadBins); +} + static void cannedignitionIatCorrTable() { static const float hardCodedignitionIatCorrTable[8][8] = { {4.000, 4.000, 4.000, 4.000, 4.000, 4.000, 4.000, 4.000, }, @@ -105,6 +545,16 @@ static void cannedignitionIatCorrTable() { copyTable(config->ignitionIatCorrTable, hardCodedignitionIatCorrTable); } +static void cannedveRpmBins() { + static const float hardCodedveRpmBins[16] = {650.0, 800.0, 1000.0, 1200.0, 1500.0, 2000.0, 2500.0, 3000.0, 3500.0, 4000.0, 4500.0, 5000.0, 5500.0, 6000.0, 6500.0, 7000.0}; + copyArray(config->veRpmBins, hardCodedveRpmBins); +} + +static void cannedveLoadBins() { + static const float hardCodedveLoadBins[16] = {15.0, 25.0, 30.0, 35.0, 40.0, 45.0, 50.0, 55.0, 65.0, 70.0, 75.0, 80.0, 85.0, 90.0, 95.0, 100.0}; + copyArray(config->veLoadBins, hardCodedveLoadBins); +} + static void cannedveTable() { static const float hardCodedveTable[16][16] = { {27.800, 27.500, 17.300, 7.800, 5.400, 6.500, 7.200, 10.300, 11.600, 13.700, 27.600, 30.000, 23.400, 23.800, 25.700, 34.400, }, @@ -127,6 +577,36 @@ static void cannedveTable() { copyTable(config->veTable, hardCodedveTable); } +static void cannedfuelTrimRpmBins() { + static const float hardCodedfuelTrimRpmBins[4] = {0.0, 0.0, 0.0, 0.0}; + copyArray(config->fuelTrimRpmBins, hardCodedfuelTrimRpmBins); +} + +static void cannedfuelTrimLoadBins() { + static const float hardCodedfuelTrimLoadBins[4] = {0.0, 0.0, 0.0, 0.0}; + copyArray(config->fuelTrimLoadBins, hardCodedfuelTrimLoadBins); +} + +static void cannedignTrimRpmBins() { + static const float hardCodedignTrimRpmBins[4] = {0.0, 0.0, 0.0, 0.0}; + copyArray(config->ignTrimRpmBins, hardCodedignTrimRpmBins); +} + +static void cannedignTrimLoadBins() { + static const float hardCodedignTrimLoadBins[4] = {0.0, 0.0, 0.0, 0.0}; + copyArray(config->ignTrimLoadBins, hardCodedignTrimLoadBins); +} + +static void cannedmapEstimateRpmBins() { + static const float hardCodedmapEstimateRpmBins[16] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(config->mapEstimateRpmBins, hardCodedmapEstimateRpmBins); +} + +static void cannedmapEstimateTpsBins() { + static const float hardCodedmapEstimateTpsBins[16] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(config->mapEstimateTpsBins, hardCodedmapEstimateTpsBins); +} + static void cannedmapEstimateTable() { static const float hardCodedmapEstimateTable[16][16] = { {0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, @@ -171,6 +651,16 @@ static void cannedinjectionPhase() { copyTable(config->injectionPhase, hardCodedinjectionPhase); } +static void cannedpedalToTpsRpmBins() { + static const float hardCodedpedalToTpsRpmBins[8] = {0.0, 600.0, 800.0, 1000.0, 1500.0, 2000.0, 4000.0, 8000.0}; + copyArray(config->pedalToTpsRpmBins, hardCodedpedalToTpsRpmBins); +} + +static void cannedpedalToTpsPedalBins() { + static const float hardCodedpedalToTpsPedalBins[8] = {0.0, 10.0, 15.0, 20.0, 35.0, 71.0, 86.0, 100.0}; + copyArray(config->pedalToTpsPedalBins, hardCodedpedalToTpsPedalBins); +} + static void cannedpedalToTpsTable() { static const float hardCodedpedalToTpsTable[8][8] = { {0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, @@ -185,6 +675,16 @@ static void cannedpedalToTpsTable() { copyTable(config->pedalToTpsTable, hardCodedpedalToTpsTable); } +static void cannedmaxKnockRetardRpmBins() { + static const float hardCodedmaxKnockRetardRpmBins[6] = {500.0, 2000.0, 3000.0, 4000.0, 6000.0, 7000.0}; + copyArray(config->maxKnockRetardRpmBins, hardCodedmaxKnockRetardRpmBins); +} + +static void cannedmaxKnockRetardLoadBins() { + static const float hardCodedmaxKnockRetardLoadBins[6] = {0.0, 20.0, 50.0, 70.0, 90.0, 100.0}; + copyArray(config->maxKnockRetardLoadBins, hardCodedmaxKnockRetardLoadBins); +} + static void cannedmaxKnockRetardTable() { static const float hardCodedmaxKnockRetardTable[6][6] = { {2.000, 2.000, 2.000, 2.000, 2.000, 2.000, }, @@ -197,6 +697,11 @@ static void cannedmaxKnockRetardTable() { copyTable(config->maxKnockRetardTable, hardCodedmaxKnockRetardTable); } +static void cannedlambdaLoadBins() { + static const float hardCodedlambdaLoadBins[16] = {10.0, 20.0, 25.0, 30.0, 32.0, 40.0, 45.0, 50.0, 55.0, 60.0, 65.0, 70.0, 80.0, 85.0, 90.0, 100.0}; + copyArray(config->lambdaLoadBins, hardCodedlambdaLoadBins); +} + static void cannedlambdaTable() { static const float hardCodedlambdaTable[16][16] = { {14.000, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.200, 14.200, 14.200, 14.200, }, @@ -219,6 +724,16 @@ static void cannedlambdaTable() { copyTable(config->lambdaTable, hardCodedlambdaTable); } +static void cannediacPidMultRpmBins() { + static const float hardCodediacPidMultRpmBins[8] = {600.0, 800.0, 900.0, 1000.0, 1100.0, 1200.0, 1300.0, 1500.0}; + copyArray(config->iacPidMultRpmBins, hardCodediacPidMultRpmBins); +} + +static void cannediacPidMultLoadBins() { + static const float hardCodediacPidMultLoadBins[8] = {10.0, 20.0, 30.0, 35.0, 40.0, 50.0, 70.0, 100.0}; + copyArray(config->iacPidMultLoadBins, hardCodediacPidMultLoadBins); +} + static void cannediacPidMultTable() { static const float hardCodediacPidMultTable[8][8] = { {0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, @@ -233,6 +748,58 @@ static void cannediacPidMultTable() { copyTable(config->iacPidMultTable, hardCodediacPidMultTable); } +static void cannedgppwm1_loadBins() { + static const float hardCodedgppwm1_loadBins[8] = {0.0, 14.0, 70.0, 80.0, 82.0, 90.0, 92.0, 100.0}; + copyArray(engineConfiguration->gppwm4.gppwm1_loadBins, hardCodedgppwm1_loadBins); +} + +static void cannedgppwm1_table() { + static const float hardCodedgppwm1_table[8][8] = { +{90.000, 90.000, 90.000, 90.000, 90.000, 90.000, 90.000, 90.000, }, +{90.000, 90.000, 90.000, 90.000, 90.000, 90.000, 90.000, 90.000, }, +{85.000, 40.000, 40.000, 60.000, 85.000, 85.000, 85.000, 85.000, }, +{50.000, 40.000, 40.000, 50.000, 80.000, 80.000, 80.000, 80.000, }, +{40.000, 40.000, 40.000, 40.000, 60.000, 60.000, 60.000, 60.000, }, +{40.000, 40.000, 40.000, 40.000, 40.000, 40.000, 40.000, 40.000, }, +{30.000, 30.000, 30.000, 30.000, 30.000, 30.000, 30.000, 30.000, }, +{30.000, 30.000, 30.000, 30.000, 30.000, 30.000, 30.000, 30.000, }, +}; + copyTable(engineConfiguration->gppwm4.gppwm1_table, hardCodedgppwm1_table); +} + +static void cannedgppwm2_rpmBins() { + static const float hardCodedgppwm2_rpmBins[8] = {1000.0, 1900.0, 2100.0, 3000.0, 4000.0, 4900.0, 5100.0, 7000.0}; + copyArray(engineConfiguration->gppwm4.gppwm2_rpmBins, hardCodedgppwm2_rpmBins); +} + +static void cannedgppwm2_table() { + static const float hardCodedgppwm2_table[8][8] = { +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{0.000, 0.000, 100.000, 100.000, 100.000, 100.000, 0.000, 0.000, }, +{0.000, 0.000, 100.000, 100.000, 100.000, 100.000, 0.000, 0.000, }, +{0.000, 0.000, 100.000, 100.000, 100.000, 100.000, 0.000, 0.000, }, +{0.000, 0.000, 100.000, 100.000, 100.000, 100.000, 0.000, 0.000, }, +{0.000, 0.000, 100.000, 100.000, 100.000, 100.000, 0.000, 0.000, }, +}; + copyTable(engineConfiguration->gppwm4.gppwm2_table, hardCodedgppwm2_table); +} + +static void cannedgppwm3_table() { + static const float hardCodedgppwm3_table[8][8] = { +{5.000, 5.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{5.000, 5.000, 0.000, 0.000, 0.000, 0.000, 14.000, 14.000, }, +{70.000, 70.000, 0.000, 0.000, 0.000, 0.000, 28.000, 28.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 42.000, 42.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 57.000, 57.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 71.000, 71.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 85.000, 85.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 100.000, 100.000, }, +}; + copyTable(engineConfiguration->gppwm4.gppwm3_table, hardCodedgppwm3_table); +} + static void cannedtcuSolenoidTable() { static const float hardCodedtcuSolenoidTable[6][10] = { {0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, @@ -245,6 +812,26 @@ static void cannedtcuSolenoidTable() { copyTable(config->tcuSolenoidTable, hardCodedtcuSolenoidTable); } +static void cannedhpfpTargetRpmBins() { + static const float hardCodedhpfpTargetRpmBins[10] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(config->hpfpTargetRpmBins, hardCodedhpfpTargetRpmBins); +} + +static void cannedhpfpTargetLoadBins() { + static const float hardCodedhpfpTargetLoadBins[10] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(config->hpfpTargetLoadBins, hardCodedhpfpTargetLoadBins); +} + +static void cannedhpfpCompensationRpmBins() { + static const float hardCodedhpfpCompensationRpmBins[10] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(config->hpfpCompensationRpmBins, hardCodedhpfpCompensationRpmBins); +} + +static void cannedhpfpCompensationLoadBins() { + static const float hardCodedhpfpCompensationLoadBins[10] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(config->hpfpCompensationLoadBins, hardCodedhpfpCompensationLoadBins); +} + static void cannedpostCrankingFactor() { static const float hardCodedpostCrankingFactor[6][6] = { {1.200, 0.000, 0.000, 0.000, 0.000, 0.000, }, diff --git a/generated/canned-tunes/m111-alex-comparing-against-global-defaults.md b/generated/canned-tunes/m111-alex-comparing-against-global-defaults.md index 6dc5bbf..9ed8830 100644 --- a/generated/canned-tunes/m111-alex-comparing-against-global-defaults.md +++ b/generated/canned-tunes/m111-alex-comparing-against-global-defaults.md @@ -333,20 +333,132 @@ engineConfiguration->hpfpPidI = 0; + cannedknockNoiseRpmBins(); + cannedknockBaseNoise(); + cannedscriptCurve5Bins(); + cannedscriptCurve6Bins(); + cannedsparkDwellValues(); + canneddwellVoltageCorrVoltBins(); + canneddwellVoltageCorrValues(); + cannedprimeBins(); + cannedprimeValues(); + cannedmap_samplingAngleBins(); + cannedmap_samplingWindowBins(); + cannedinjector_battLagCorrBins(); + cannedinjector_battLagCorr(); + cannedvrThreshold1_rpmBins(); + cannedvrThreshold1_values(); + cannedvrThreshold2_rpmBins(); + cannedvrThreshold2_values(); + cannedmafDecodingBins(); + cannedmafDecoding(); + cannediatFuelCorr(); + cannedcltTimingBins(); + cannedcltTimingExtra(); + cannedcltFuelCorrBins(); + cannedcltFuelCorr(); + cannedcrankingFuelBins(); + cannedcrankingFuelCoef(); + cannedcrankingFuelCoefE100(); + cannedcltRevLimitRpmBins(); + cannedetbBiasBins(); + cannedetbBiasValues(); + cannedcrankingCycleCoef(); + cannedcltIdleCorrBins(); + cannedcltIdleCorr(); + cannedcltCrankingCorrBins(); + cannedcltCrankingCorr(); + cannedcltIdleRpmBins(); + cannedcltIdleRpm(); + cannedfuelLevelBins(); + cannedhpfpLobeProfileQuantityBins(); + cannedhpfpLobeProfileAngle(); + cannedhpfpDeadtimeVoltsBins(); + cannedwwTauCltValues(); + cannedwwMapBins(); + cannedwwTauMapValues(); + cannedwwBetaCltValues(); + cannedwwBetaMapValues(); + cannedignBlends1_blendBins(); + cannedignBlends1_blendValues(); + cannedignBlends2_blendBins(); + cannedignBlends2_blendValues(); + cannedignBlends3_blendBins(); + cannedignBlends3_blendValues(); + cannedignBlends4_blendBins(); + cannedignBlends4_blendValues(); + cannedveBlends1_blendBins(); + cannedveBlends1_blendValues(); + cannedveBlends2_blendBins(); + cannedveBlends2_blendValues(); + cannedveBlends3_blendBins(); + cannedveBlends3_blendValues(); + cannedveBlends4_blendBins(); + cannedveBlends4_blendValues(); + cannedtpsTpsAccelFromRpmBins(); + cannedtpsTpsAccelToRpmBins(); cannedtpsTpsAccelTable(); + cannedboostRpmBins(); + cannedboostTpsBins(); cannedboostTableOpenLoop(); cannedboostTableClosedLoop(); + cannedscriptTable1RpmBins(); + cannedscriptTable1LoadBins(); cannedscriptTable1(); + cannedscriptTable4RpmBins(); cannedscriptTable4(); + cannedignitionRpmBins(); + cannedignitionLoadBins(); cannedignitionTable(); + cannedignBlends1_rpmBins(); + cannedignBlends1_loadBins(); + cannedignBlends2_rpmBins(); + cannedignBlends2_loadBins(); + cannedignBlends3_rpmBins(); + cannedignBlends3_loadBins(); + cannedignBlends4_rpmBins(); + cannedignBlends4_loadBins(); + cannedveBlends1_rpmBins(); + cannedveBlends1_loadBins(); + cannedveBlends2_rpmBins(); + cannedveBlends2_loadBins(); + cannedveBlends3_rpmBins(); + cannedveBlends3_loadBins(); + cannedveBlends4_rpmBins(); + cannedveBlends4_loadBins(); + cannedignitionIatCorrLoadBins(); cannedignitionIatCorrTable(); + cannedveRpmBins(); + cannedveLoadBins(); cannedveTable(); + cannedfuelTrimRpmBins(); + cannedfuelTrimLoadBins(); + cannedignTrimRpmBins(); + cannedignTrimLoadBins(); + cannedmapEstimateRpmBins(); + cannedmapEstimateTpsBins(); cannedmapEstimateTable(); cannedinjectionPhase(); + cannedpedalToTpsRpmBins(); + cannedpedalToTpsPedalBins(); cannedpedalToTpsTable(); + cannedmaxKnockRetardRpmBins(); + cannedmaxKnockRetardLoadBins(); cannedmaxKnockRetardTable(); + cannedlambdaLoadBins(); cannedlambdaTable(); + cannediacPidMultRpmBins(); + cannediacPidMultLoadBins(); cannediacPidMultTable(); + cannedgppwm1_loadBins(); + cannedgppwm1_table(); + cannedgppwm2_rpmBins(); + cannedgppwm2_table(); + cannedgppwm3_table(); cannedtcuSolenoidTable(); + cannedhpfpTargetRpmBins(); + cannedhpfpTargetLoadBins(); + cannedhpfpCompensationRpmBins(); + cannedhpfpCompensationLoadBins(); cannedpostCrankingFactor(); ``` diff --git a/generated/canned-tunes/m111-alex-comparing-against-global-defaults_methods.md b/generated/canned-tunes/m111-alex-comparing-against-global-defaults_methods.md index 0ee7614..765697c 100644 --- a/generated/canned-tunes/m111-alex-comparing-against-global-defaults_methods.md +++ b/generated/canned-tunes/m111-alex-comparing-against-global-defaults_methods.md @@ -1,4 +1,324 @@ ``` +static void cannedknockNoiseRpmBins() { + static const float hardCodedknockNoiseRpmBins[16] = {650.0, 720.0, 790.0, 1160.0, 1580.0, 2000.0, 2420.0, 2840.0, 3260.0, 3680.0, 4100.0, 4520.0, 4940.0, 5413.0, 6207.0, 7000.0}; + copyArray(config->knockNoiseRpmBins, hardCodedknockNoiseRpmBins); +} + +static void cannedknockBaseNoise() { + static const float hardCodedknockBaseNoise[16] = {-39.0, -39.0, -39.0, -34.0, -27.0, -24.0, -23.0, -22.0, -20.0, -16.0, -13.0, -12.0, -10.0, -8.0, -6.0, -2.0}; + copyArray(config->knockBaseNoise, hardCodedknockBaseNoise); +} + +static void cannedscriptCurve5Bins() { + static const float hardCodedscriptCurve5Bins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(config->scriptCurve5Bins, hardCodedscriptCurve5Bins); +} + +static void cannedscriptCurve6Bins() { + static const float hardCodedscriptCurve6Bins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(config->scriptCurve6Bins, hardCodedscriptCurve6Bins); +} + +static void cannedsparkDwellValues() { + static const float hardCodedsparkDwellValues[8] = {4.0, 3.0, 3.0, 2.6, 2.6, 2.6, 2.6, 2.6}; + copyArray(config->sparkDwellValues, hardCodedsparkDwellValues); +} + +static void canneddwellVoltageCorrVoltBins() { + static const float hardCodeddwellVoltageCorrVoltBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(config->dwellVoltageCorrVoltBins, hardCodeddwellVoltageCorrVoltBins); +} + +static void canneddwellVoltageCorrValues() { + static const float hardCodeddwellVoltageCorrValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(config->dwellVoltageCorrValues, hardCodeddwellVoltageCorrValues); +} + +static void cannedprimeBins() { + static const float hardCodedprimeBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->primeBins, hardCodedprimeBins); +} + +static void cannedprimeValues() { + static const float hardCodedprimeValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->primeValues, hardCodedprimeValues); +} + +static void cannedmap_samplingAngleBins() { + static const float hardCodedmap_samplingAngleBins[8] = {800.0, 1686.0, 2571.0, 3457.0, 4343.0, 5229.0, 6114.0, 7000.0}; + copyArray(engineConfiguration->map.map_samplingAngleBins, hardCodedmap_samplingAngleBins); +} + +static void cannedmap_samplingWindowBins() { + static const float hardCodedmap_samplingWindowBins[8] = {800.0, 1686.0, 2571.0, 3457.0, 4343.0, 5229.0, 6114.0, 7000.0}; + copyArray(engineConfiguration->map.map_samplingWindowBins, hardCodedmap_samplingWindowBins); +} + +static void cannedinjector_battLagCorrBins() { + static const float hardCodedinjector_battLagCorrBins[8] = {6.0, 8.0, 10.0, 11.0, 12.0, 14.0, 16.0, 18.0}; + copyArray(engineConfiguration->injectorSecondary.injector_battLagCorrBins, hardCodedinjector_battLagCorrBins); +} + +static void cannedinjector_battLagCorr() { + static const float hardCodedinjector_battLagCorr[8] = {3.3710022, 2.84, 2.0, 1.8050001, 1.61, 1.37, 1.18, 1.04}; + copyArray(engineConfiguration->injectorSecondary.injector_battLagCorr, hardCodedinjector_battLagCorr); +} + +static void cannedvrThreshold1_rpmBins() { + static const float hardCodedvrThreshold1_rpmBins[6] = {600.0, 1000.0, 3500.0, 4500.0, 5500.0, 7000.0}; + copyArray(engineConfiguration->vrThreshold2.vrThreshold1_rpmBins, hardCodedvrThreshold1_rpmBins); +} + +static void cannedvrThreshold1_values() { + static const float hardCodedvrThreshold1_values[6] = {0.3, 1.2, 2.4, 2.43, 2.47, 2.5}; + copyArray(engineConfiguration->vrThreshold2.vrThreshold1_values, hardCodedvrThreshold1_values); +} + +static void cannedvrThreshold2_rpmBins() { + static const float hardCodedvrThreshold2_rpmBins[6] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->vrThreshold2.vrThreshold2_rpmBins, hardCodedvrThreshold2_rpmBins); +} + +static void cannedvrThreshold2_values() { + static const float hardCodedvrThreshold2_values[6] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->vrThreshold2.vrThreshold2_values, hardCodedvrThreshold2_values); +} + +static void cannedmafDecodingBins() { + static const float hardCodedmafDecodingBins[32] = {0.0, 18.013283, 26.451612, 34.677418, 42.903225, 51.129032, 59.35484, 67.580635, 75.80645, 84.03226, 92.258064, 100.48387, 108.70968, 116.935486, 125.16129, 133.3871, 141.6129, 149.83871, 158.06451, 166.29033, 174.51613, 182.74193, 190.96774, 199.19353, 207.41936, 215.64516, 223.87097, 232.09677, 240.3226, 248.54839, 256.7742, 265.0}; + copyArray(config->mafDecodingBins, hardCodedmafDecodingBins); +} + +static void cannedmafDecoding() { + static const float hardCodedmafDecoding[32] = {-34.5, 195.01631, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0, 200.0}; + copyArray(config->mafDecoding, hardCodedmafDecoding); +} + +static void cannediatFuelCorr() { + static const float hardCodediatFuelCorr[16] = {1.11, 1.07, 1.05, 1.02, 1.0, 0.98, 0.95, 0.93, 0.92, 0.9, 0.87, 0.85, 0.82, 0.8066667, 0.7933333, 0.78}; + copyArray(config->iatFuelCorr, hardCodediatFuelCorr); +} + +static void cannedcltTimingBins() { + static const float hardCodedcltTimingBins[8] = {-40.0, -15.0, 10.0, 20.0, 50.0, 80.0, 97.0, 120.0}; + copyArray(config->cltTimingBins, hardCodedcltTimingBins); +} + +static void cannedcltTimingExtra() { + static const float hardCodedcltTimingExtra[8] = {11.0, 9.0, 7.0, 5.0, 2.0, 0.0, 0.0, -2.0}; + copyArray(config->cltTimingExtra, hardCodedcltTimingExtra); +} + +static void cannedcltFuelCorrBins() { + static const float hardCodedcltFuelCorrBins[16] = {-40.0, -30.0, -20.0, -10.0, 0.0, 9.71, 21.46, 31.48, 41.17, 50.0, 60.0, 70.0, 80.0, 90.0, 100.0, 110.0}; + copyArray(config->cltFuelCorrBins, hardCodedcltFuelCorrBins); +} + +static void cannedcltFuelCorr() { + static const float hardCodedcltFuelCorr[16] = {1.53, 1.53, 1.4499981, 1.3900006, 1.3099988, 1.25, 1.1900002, 1.1500002, 1.1000001, 1.06, 1.02, 1.0000021, 1.0, 1.0, 1.0, 1.0}; + copyArray(config->cltFuelCorr, hardCodedcltFuelCorr); +} + +static void cannedcrankingFuelBins() { + static const float hardCodedcrankingFuelBins[8] = {-27.15, -3.94, 4.77, 20.0, 35.0, 50.0, 65.0, 90.0}; + copyArray(config->crankingFuelBins, hardCodedcrankingFuelBins); +} + +static void cannedcrankingFuelCoef() { + static const float hardCodedcrankingFuelCoef[8] = {3.0, 2.64, 2.13, 1.550003, 1.300003, 1.0999985, 1.0, 1.0}; + copyArray(config->crankingFuelCoef, hardCodedcrankingFuelCoef); +} + +static void cannedcrankingFuelCoefE100() { + static const float hardCodedcrankingFuelCoefE100[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(config->crankingFuelCoefE100, hardCodedcrankingFuelCoefE100); +} + +static void cannedcltRevLimitRpmBins() { + static const float hardCodedcltRevLimitRpmBins[4] = {0.0, 0.0, 0.0, 0.0}; + copyArray(config->cltRevLimitRpmBins, hardCodedcltRevLimitRpmBins); +} + +static void cannedetbBiasBins() { + static const float hardCodedetbBiasBins[8] = {0.0, 2.0, 4.0, 10.0, 30.0, 50.0, 80.0, 100.0}; + copyArray(config->etbBiasBins, hardCodedetbBiasBins); +} + +static void cannedetbBiasValues() { + static const float hardCodedetbBiasValues[8] = {-18.0, -18.0, -18.0, 16.0, 17.0, 15.0, 16.0, 22.0}; + copyArray(config->etbBiasValues, hardCodedetbBiasValues); +} + +static void cannedcrankingCycleCoef() { + static const float hardCodedcrankingCycleCoef[8] = {2.0, 1.300003, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0}; + copyArray(config->crankingCycleCoef, hardCodedcrankingCycleCoef); +} + +static void cannedcltIdleCorrBins() { + static const float hardCodedcltIdleCorrBins[16] = {-40.0, -30.410034, -21.25, -9.919983, 0.11000013, 10.0, 20.0, 30.0, 39.779785, 50.52, 60.0, 70.0, 80.0, 90.0, 100.0, 110.0}; + copyArray(config->cltIdleCorrBins, hardCodedcltIdleCorrBins); +} + +static void cannedcltIdleCorr() { + static const float hardCodedcltIdleCorr[16] = {1.6900029, 1.5400014, 1.4800038, 1.4199986, 1.3700032, 1.3200002, 1.196672, 1.0933361, 1.059998, 1.0300001, 1.0000031, 0.99999666, 1.0, 1.0, 1.0, 1.0}; + copyArray(config->cltIdleCorr, hardCodedcltIdleCorr); +} + +static void cannedcltCrankingCorrBins() { + static const float hardCodedcltCrankingCorrBins[8] = {-40.0, -20.0, 0.0, 19.83, 40.0, 60.0, 80.0, 100.0}; + copyArray(config->cltCrankingCorrBins, hardCodedcltCrankingCorrBins); +} + +static void cannedcltCrankingCorr() { + static const float hardCodedcltCrankingCorr[8] = {1.5, 1.3366667, 1.1733334, 1.05, 0.96000004, 0.8100002, 0.69000024, 0.6500002}; + copyArray(config->cltCrankingCorr, hardCodedcltCrankingCorr); +} + +static void cannedcltIdleRpmBins() { + static const float hardCodedcltIdleRpmBins[16] = {-40.0, -30.0, -20.0, 0.0, 22.0, 36.0, 46.0, 56.0, 60.0, 70.0, 80.0, 90.0, 100.0, 120.0, 130.0, 140.0}; + copyArray(config->cltIdleRpmBins, hardCodedcltIdleRpmBins); +} + +static void cannedcltIdleRpm() { + static const float hardCodedcltIdleRpm[16] = {1220.0, 1200.0, 1200.0, 1000.0, 1000.0, 960.0, 900.0, 860.0, 800.0, 800.0, 800.0, 800.0, 900.0, 480.0, 0.0, 0.0}; + copyArray(config->cltIdleRpm, hardCodedcltIdleRpm); +} + +static void cannedfuelLevelBins() { + static const float hardCodedfuelLevelBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(config->fuelLevelBins, hardCodedfuelLevelBins); +} + +static void cannedhpfpLobeProfileQuantityBins() { + static const float hardCodedhpfpLobeProfileQuantityBins[16] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(config->hpfpLobeProfileQuantityBins, hardCodedhpfpLobeProfileQuantityBins); +} + +static void cannedhpfpLobeProfileAngle() { + static const float hardCodedhpfpLobeProfileAngle[16] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(config->hpfpLobeProfileAngle, hardCodedhpfpLobeProfileAngle); +} + +static void cannedhpfpDeadtimeVoltsBins() { + static const float hardCodedhpfpDeadtimeVoltsBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(config->hpfpDeadtimeVoltsBins, hardCodedhpfpDeadtimeVoltsBins); +} + +static void cannedwwTauCltValues() { + static const float hardCodedwwTauCltValues[8] = {0.95, 0.8, 0.67, 0.55, 0.4, 0.32, 0.25, 0.2}; + copyArray(config->wwTauCltValues, hardCodedwwTauCltValues); +} + +static void cannedwwMapBins() { + static const float hardCodedwwMapBins[8] = {7.0, 18.0, 29.0, 40.0, 49.0, 60.0, 70.0, 88.0}; + copyArray(config->wwMapBins, hardCodedwwMapBins); +} + +static void cannedwwTauMapValues() { + static const float hardCodedwwTauMapValues[8] = {0.76, 0.83, 0.84, 0.86, 0.87, 0.92, 0.94, 0.95}; + copyArray(config->wwTauMapValues, hardCodedwwTauMapValues); +} + +static void cannedwwBetaCltValues() { + static const float hardCodedwwBetaCltValues[8] = {0.79, 0.72, 0.63, 0.52, 0.44, 0.37, 0.3, 0.25}; + copyArray(config->wwBetaCltValues, hardCodedwwBetaCltValues); +} + +static void cannedwwBetaMapValues() { + static const float hardCodedwwBetaMapValues[8] = {0.05, 0.16, 0.25, 0.7, 0.78, 0.96, 1.05, 1.18}; + copyArray(config->wwBetaMapValues, hardCodedwwBetaMapValues); +} + +static void cannedignBlends1_blendBins() { + static const float hardCodedignBlends1_blendBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends1_blendBins, hardCodedignBlends1_blendBins); +} + +static void cannedignBlends1_blendValues() { + static const float hardCodedignBlends1_blendValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends1_blendValues, hardCodedignBlends1_blendValues); +} + +static void cannedignBlends2_blendBins() { + static const float hardCodedignBlends2_blendBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends2_blendBins, hardCodedignBlends2_blendBins); +} + +static void cannedignBlends2_blendValues() { + static const float hardCodedignBlends2_blendValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends2_blendValues, hardCodedignBlends2_blendValues); +} + +static void cannedignBlends3_blendBins() { + static const float hardCodedignBlends3_blendBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends3_blendBins, hardCodedignBlends3_blendBins); +} + +static void cannedignBlends3_blendValues() { + static const float hardCodedignBlends3_blendValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends3_blendValues, hardCodedignBlends3_blendValues); +} + +static void cannedignBlends4_blendBins() { + static const float hardCodedignBlends4_blendBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends4_blendBins, hardCodedignBlends4_blendBins); +} + +static void cannedignBlends4_blendValues() { + static const float hardCodedignBlends4_blendValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends4_blendValues, hardCodedignBlends4_blendValues); +} + +static void cannedveBlends1_blendBins() { + static const float hardCodedveBlends1_blendBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends1_blendBins, hardCodedveBlends1_blendBins); +} + +static void cannedveBlends1_blendValues() { + static const float hardCodedveBlends1_blendValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends1_blendValues, hardCodedveBlends1_blendValues); +} + +static void cannedveBlends2_blendBins() { + static const float hardCodedveBlends2_blendBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends2_blendBins, hardCodedveBlends2_blendBins); +} + +static void cannedveBlends2_blendValues() { + static const float hardCodedveBlends2_blendValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends2_blendValues, hardCodedveBlends2_blendValues); +} + +static void cannedveBlends3_blendBins() { + static const float hardCodedveBlends3_blendBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends3_blendBins, hardCodedveBlends3_blendBins); +} + +static void cannedveBlends3_blendValues() { + static const float hardCodedveBlends3_blendValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends3_blendValues, hardCodedveBlends3_blendValues); +} + +static void cannedveBlends4_blendBins() { + static const float hardCodedveBlends4_blendBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends4_blendBins, hardCodedveBlends4_blendBins); +} + +static void cannedveBlends4_blendValues() { + static const float hardCodedveBlends4_blendValues[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends4_blendValues, hardCodedveBlends4_blendValues); +} + +static void cannedtpsTpsAccelFromRpmBins() { + static const float hardCodedtpsTpsAccelFromRpmBins[8] = {0.0, 5.0, 10.0, 20.0, 60.0, 70.0, 90.0, 100.0}; + copyArray(config->tpsTpsAccelFromRpmBins, hardCodedtpsTpsAccelFromRpmBins); +} + +static void cannedtpsTpsAccelToRpmBins() { + static const float hardCodedtpsTpsAccelToRpmBins[8] = {0.0, 5.0, 10.0, 20.0, 60.0, 70.0, 90.0, 100.0}; + copyArray(config->tpsTpsAccelToRpmBins, hardCodedtpsTpsAccelToRpmBins); +} + static void cannedtpsTpsAccelTable() { static const float hardCodedtpsTpsAccelTable[8][8] = { {0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, @@ -13,6 +333,16 @@ static void cannedtpsTpsAccelTable() { copyTable(config->tpsTpsAccelTable, hardCodedtpsTpsAccelTable); } +static void cannedboostRpmBins() { + static const float hardCodedboostRpmBins[8] = {0.0, 1200.0, 2300.0, 3500.0, 4600.0, 5700.0, 6900.0, 8000.0}; + copyArray(config->boostRpmBins, hardCodedboostRpmBins); +} + +static void cannedboostTpsBins() { + static const float hardCodedboostTpsBins[8] = {0.0, 14.0, 28.0, 42.0, 58.0, 72.0, 86.0, 100.0}; + copyArray(config->boostTpsBins, hardCodedboostTpsBins); +} + static void cannedboostTableOpenLoop() { static const float hardCodedboostTableOpenLoop[8][8] = { {0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, @@ -41,6 +371,16 @@ static void cannedboostTableClosedLoop() { copyTable(config->boostTableClosedLoop, hardCodedboostTableClosedLoop); } +static void cannedscriptTable1RpmBins() { + static const float hardCodedscriptTable1RpmBins[8] = {650.0, 800.0, 1100.0, 1500.0, 3500.0, 4400.0, 5300.0, 7000.0}; + copyArray(config->scriptTable1RpmBins, hardCodedscriptTable1RpmBins); +} + +static void cannedscriptTable1LoadBins() { + static const float hardCodedscriptTable1LoadBins[8] = {20.0, 25.0, 30.0, 40.0, 50.0, 70.0, 85.0, 100.0}; + copyArray(config->scriptTable1LoadBins, hardCodedscriptTable1LoadBins); +} + static void cannedscriptTable1() { static const float hardCodedscriptTable1[8][8] = { {0.100, 0.100, 0.100, 0.100, 0.100, 0.100, 0.100, 0.100, }, @@ -55,6 +395,11 @@ static void cannedscriptTable1() { copyTable(config->scriptTable1, hardCodedscriptTable1); } +static void cannedscriptTable4RpmBins() { + static const float hardCodedscriptTable4RpmBins[10] = {650.0, 859.0, 1353.0, 2000.0, 2700.0, 3400.0, 4100.0, 4856.0, 5777.0, 7000.0}; + copyArray(config->scriptTable4RpmBins, hardCodedscriptTable4RpmBins); +} + static void cannedscriptTable4() { static const float hardCodedscriptTable4[8][10] = { {0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, @@ -69,6 +414,16 @@ static void cannedscriptTable4() { copyTable(config->scriptTable4, hardCodedscriptTable4); } +static void cannedignitionRpmBins() { + static const float hardCodedignitionRpmBins[16] = {300.0, 700.0, 800.0, 900.0, 1100.0, 1400.0, 1700.0, 2100.0, 2500.0, 3000.0, 3500.0, 4000.0, 4500.0, 5000.0, 6500.0, 7000.0}; + copyArray(config->ignitionRpmBins, hardCodedignitionRpmBins); +} + +static void cannedignitionLoadBins() { + static const float hardCodedignitionLoadBins[16] = {30.0, 35.0, 40.0, 45.0, 50.0, 55.0, 60.0, 65.0, 70.0, 75.0, 80.0, 85.0, 90.0, 95.0, 100.0, 110.0}; + copyArray(config->ignitionLoadBins, hardCodedignitionLoadBins); +} + static void cannedignitionTable() { static const float hardCodedignitionTable[16][16] = { {0.000, 8.000, 8.000, 8.000, 8.000, 10.000, 18.400, 22.800, 23.700, 30.700, 30.700, 30.700, 30.700, 30.700, 30.700, 30.700, }, @@ -91,6 +446,91 @@ static void cannedignitionTable() { copyTable(config->ignitionTable, hardCodedignitionTable); } +static void cannedignBlends1_rpmBins() { + static const float hardCodedignBlends1_rpmBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends1_rpmBins, hardCodedignBlends1_rpmBins); +} + +static void cannedignBlends1_loadBins() { + static const float hardCodedignBlends1_loadBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends1_loadBins, hardCodedignBlends1_loadBins); +} + +static void cannedignBlends2_rpmBins() { + static const float hardCodedignBlends2_rpmBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends2_rpmBins, hardCodedignBlends2_rpmBins); +} + +static void cannedignBlends2_loadBins() { + static const float hardCodedignBlends2_loadBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends2_loadBins, hardCodedignBlends2_loadBins); +} + +static void cannedignBlends3_rpmBins() { + static const float hardCodedignBlends3_rpmBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends3_rpmBins, hardCodedignBlends3_rpmBins); +} + +static void cannedignBlends3_loadBins() { + static const float hardCodedignBlends3_loadBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends3_loadBins, hardCodedignBlends3_loadBins); +} + +static void cannedignBlends4_rpmBins() { + static const float hardCodedignBlends4_rpmBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends4_rpmBins, hardCodedignBlends4_rpmBins); +} + +static void cannedignBlends4_loadBins() { + static const float hardCodedignBlends4_loadBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.ignBlends4_loadBins, hardCodedignBlends4_loadBins); +} + +static void cannedveBlends1_rpmBins() { + static const float hardCodedveBlends1_rpmBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends1_rpmBins, hardCodedveBlends1_rpmBins); +} + +static void cannedveBlends1_loadBins() { + static const float hardCodedveBlends1_loadBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends1_loadBins, hardCodedveBlends1_loadBins); +} + +static void cannedveBlends2_rpmBins() { + static const float hardCodedveBlends2_rpmBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends2_rpmBins, hardCodedveBlends2_rpmBins); +} + +static void cannedveBlends2_loadBins() { + static const float hardCodedveBlends2_loadBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends2_loadBins, hardCodedveBlends2_loadBins); +} + +static void cannedveBlends3_rpmBins() { + static const float hardCodedveBlends3_rpmBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends3_rpmBins, hardCodedveBlends3_rpmBins); +} + +static void cannedveBlends3_loadBins() { + static const float hardCodedveBlends3_loadBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends3_loadBins, hardCodedveBlends3_loadBins); +} + +static void cannedveBlends4_rpmBins() { + static const float hardCodedveBlends4_rpmBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends4_rpmBins, hardCodedveBlends4_rpmBins); +} + +static void cannedveBlends4_loadBins() { + static const float hardCodedveBlends4_loadBins[8] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(engineConfiguration->boostClosedLoopBlends2.veBlends4_loadBins, hardCodedveBlends4_loadBins); +} + +static void cannedignitionIatCorrLoadBins() { + static const float hardCodedignitionIatCorrLoadBins[8] = {0.0, 5.0, 10.0, 25.0, 45.0, 65.0, 90.0, 110.0}; + copyArray(config->ignitionIatCorrLoadBins, hardCodedignitionIatCorrLoadBins); +} + static void cannedignitionIatCorrTable() { static const float hardCodedignitionIatCorrTable[8][8] = { {4.000, 4.000, 4.000, 4.000, 4.000, 4.000, 4.000, 4.000, }, @@ -105,6 +545,16 @@ static void cannedignitionIatCorrTable() { copyTable(config->ignitionIatCorrTable, hardCodedignitionIatCorrTable); } +static void cannedveRpmBins() { + static const float hardCodedveRpmBins[16] = {650.0, 800.0, 1000.0, 1200.0, 1500.0, 2000.0, 2500.0, 3000.0, 3500.0, 4000.0, 4500.0, 5000.0, 5500.0, 6000.0, 6500.0, 7000.0}; + copyArray(config->veRpmBins, hardCodedveRpmBins); +} + +static void cannedveLoadBins() { + static const float hardCodedveLoadBins[16] = {15.0, 25.0, 30.0, 35.0, 40.0, 45.0, 50.0, 55.0, 65.0, 70.0, 75.0, 80.0, 85.0, 90.0, 95.0, 100.0}; + copyArray(config->veLoadBins, hardCodedveLoadBins); +} + static void cannedveTable() { static const float hardCodedveTable[16][16] = { {27.800, 27.500, 17.300, 7.800, 5.400, 6.500, 7.200, 10.300, 11.600, 13.700, 27.600, 30.000, 23.400, 23.800, 25.700, 34.400, }, @@ -127,6 +577,36 @@ static void cannedveTable() { copyTable(config->veTable, hardCodedveTable); } +static void cannedfuelTrimRpmBins() { + static const float hardCodedfuelTrimRpmBins[4] = {0.0, 0.0, 0.0, 0.0}; + copyArray(config->fuelTrimRpmBins, hardCodedfuelTrimRpmBins); +} + +static void cannedfuelTrimLoadBins() { + static const float hardCodedfuelTrimLoadBins[4] = {0.0, 0.0, 0.0, 0.0}; + copyArray(config->fuelTrimLoadBins, hardCodedfuelTrimLoadBins); +} + +static void cannedignTrimRpmBins() { + static const float hardCodedignTrimRpmBins[4] = {0.0, 0.0, 0.0, 0.0}; + copyArray(config->ignTrimRpmBins, hardCodedignTrimRpmBins); +} + +static void cannedignTrimLoadBins() { + static const float hardCodedignTrimLoadBins[4] = {0.0, 0.0, 0.0, 0.0}; + copyArray(config->ignTrimLoadBins, hardCodedignTrimLoadBins); +} + +static void cannedmapEstimateRpmBins() { + static const float hardCodedmapEstimateRpmBins[16] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(config->mapEstimateRpmBins, hardCodedmapEstimateRpmBins); +} + +static void cannedmapEstimateTpsBins() { + static const float hardCodedmapEstimateTpsBins[16] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(config->mapEstimateTpsBins, hardCodedmapEstimateTpsBins); +} + static void cannedmapEstimateTable() { static const float hardCodedmapEstimateTable[16][16] = { {0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, @@ -171,6 +651,16 @@ static void cannedinjectionPhase() { copyTable(config->injectionPhase, hardCodedinjectionPhase); } +static void cannedpedalToTpsRpmBins() { + static const float hardCodedpedalToTpsRpmBins[8] = {0.0, 600.0, 800.0, 1000.0, 1500.0, 2000.0, 4000.0, 8000.0}; + copyArray(config->pedalToTpsRpmBins, hardCodedpedalToTpsRpmBins); +} + +static void cannedpedalToTpsPedalBins() { + static const float hardCodedpedalToTpsPedalBins[8] = {0.0, 10.0, 15.0, 20.0, 35.0, 71.0, 86.0, 100.0}; + copyArray(config->pedalToTpsPedalBins, hardCodedpedalToTpsPedalBins); +} + static void cannedpedalToTpsTable() { static const float hardCodedpedalToTpsTable[8][8] = { {0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, @@ -185,6 +675,16 @@ static void cannedpedalToTpsTable() { copyTable(config->pedalToTpsTable, hardCodedpedalToTpsTable); } +static void cannedmaxKnockRetardRpmBins() { + static const float hardCodedmaxKnockRetardRpmBins[6] = {500.0, 2000.0, 3000.0, 4000.0, 6000.0, 7000.0}; + copyArray(config->maxKnockRetardRpmBins, hardCodedmaxKnockRetardRpmBins); +} + +static void cannedmaxKnockRetardLoadBins() { + static const float hardCodedmaxKnockRetardLoadBins[6] = {0.0, 20.0, 50.0, 70.0, 90.0, 100.0}; + copyArray(config->maxKnockRetardLoadBins, hardCodedmaxKnockRetardLoadBins); +} + static void cannedmaxKnockRetardTable() { static const float hardCodedmaxKnockRetardTable[6][6] = { {2.000, 2.000, 2.000, 2.000, 2.000, 2.000, }, @@ -197,6 +697,11 @@ static void cannedmaxKnockRetardTable() { copyTable(config->maxKnockRetardTable, hardCodedmaxKnockRetardTable); } +static void cannedlambdaLoadBins() { + static const float hardCodedlambdaLoadBins[16] = {10.0, 20.0, 25.0, 30.0, 32.0, 40.0, 45.0, 50.0, 55.0, 60.0, 65.0, 70.0, 80.0, 85.0, 90.0, 100.0}; + copyArray(config->lambdaLoadBins, hardCodedlambdaLoadBins); +} + static void cannedlambdaTable() { static const float hardCodedlambdaTable[16][16] = { {14.000, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.200, 14.200, 14.200, 14.200, }, @@ -219,6 +724,16 @@ static void cannedlambdaTable() { copyTable(config->lambdaTable, hardCodedlambdaTable); } +static void cannediacPidMultRpmBins() { + static const float hardCodediacPidMultRpmBins[8] = {600.0, 800.0, 900.0, 1000.0, 1100.0, 1200.0, 1300.0, 1500.0}; + copyArray(config->iacPidMultRpmBins, hardCodediacPidMultRpmBins); +} + +static void cannediacPidMultLoadBins() { + static const float hardCodediacPidMultLoadBins[8] = {10.0, 20.0, 30.0, 35.0, 40.0, 50.0, 70.0, 100.0}; + copyArray(config->iacPidMultLoadBins, hardCodediacPidMultLoadBins); +} + static void cannediacPidMultTable() { static const float hardCodediacPidMultTable[8][8] = { {0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, @@ -233,6 +748,58 @@ static void cannediacPidMultTable() { copyTable(config->iacPidMultTable, hardCodediacPidMultTable); } +static void cannedgppwm1_loadBins() { + static const float hardCodedgppwm1_loadBins[8] = {0.0, 14.0, 70.0, 80.0, 82.0, 90.0, 92.0, 100.0}; + copyArray(engineConfiguration->gppwm4.gppwm1_loadBins, hardCodedgppwm1_loadBins); +} + +static void cannedgppwm1_table() { + static const float hardCodedgppwm1_table[8][8] = { +{90.000, 90.000, 90.000, 90.000, 90.000, 90.000, 90.000, 90.000, }, +{90.000, 90.000, 90.000, 90.000, 90.000, 90.000, 90.000, 90.000, }, +{85.000, 40.000, 40.000, 60.000, 85.000, 85.000, 85.000, 85.000, }, +{50.000, 40.000, 40.000, 50.000, 80.000, 80.000, 80.000, 80.000, }, +{40.000, 40.000, 40.000, 40.000, 60.000, 60.000, 60.000, 60.000, }, +{40.000, 40.000, 40.000, 40.000, 40.000, 40.000, 40.000, 40.000, }, +{30.000, 30.000, 30.000, 30.000, 30.000, 30.000, 30.000, 30.000, }, +{30.000, 30.000, 30.000, 30.000, 30.000, 30.000, 30.000, 30.000, }, +}; + copyTable(engineConfiguration->gppwm4.gppwm1_table, hardCodedgppwm1_table); +} + +static void cannedgppwm2_rpmBins() { + static const float hardCodedgppwm2_rpmBins[8] = {1000.0, 1900.0, 2100.0, 3000.0, 4000.0, 4900.0, 5100.0, 7000.0}; + copyArray(engineConfiguration->gppwm4.gppwm2_rpmBins, hardCodedgppwm2_rpmBins); +} + +static void cannedgppwm2_table() { + static const float hardCodedgppwm2_table[8][8] = { +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{0.000, 0.000, 100.000, 100.000, 100.000, 100.000, 0.000, 0.000, }, +{0.000, 0.000, 100.000, 100.000, 100.000, 100.000, 0.000, 0.000, }, +{0.000, 0.000, 100.000, 100.000, 100.000, 100.000, 0.000, 0.000, }, +{0.000, 0.000, 100.000, 100.000, 100.000, 100.000, 0.000, 0.000, }, +{0.000, 0.000, 100.000, 100.000, 100.000, 100.000, 0.000, 0.000, }, +}; + copyTable(engineConfiguration->gppwm4.gppwm2_table, hardCodedgppwm2_table); +} + +static void cannedgppwm3_table() { + static const float hardCodedgppwm3_table[8][8] = { +{5.000, 5.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, +{5.000, 5.000, 0.000, 0.000, 0.000, 0.000, 14.000, 14.000, }, +{70.000, 70.000, 0.000, 0.000, 0.000, 0.000, 28.000, 28.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 42.000, 42.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 57.000, 57.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 71.000, 71.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 85.000, 85.000, }, +{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 100.000, 100.000, }, +}; + copyTable(engineConfiguration->gppwm4.gppwm3_table, hardCodedgppwm3_table); +} + static void cannedtcuSolenoidTable() { static const float hardCodedtcuSolenoidTable[6][10] = { {0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, }, @@ -245,6 +812,26 @@ static void cannedtcuSolenoidTable() { copyTable(config->tcuSolenoidTable, hardCodedtcuSolenoidTable); } +static void cannedhpfpTargetRpmBins() { + static const float hardCodedhpfpTargetRpmBins[10] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(config->hpfpTargetRpmBins, hardCodedhpfpTargetRpmBins); +} + +static void cannedhpfpTargetLoadBins() { + static const float hardCodedhpfpTargetLoadBins[10] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(config->hpfpTargetLoadBins, hardCodedhpfpTargetLoadBins); +} + +static void cannedhpfpCompensationRpmBins() { + static const float hardCodedhpfpCompensationRpmBins[10] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(config->hpfpCompensationRpmBins, hardCodedhpfpCompensationRpmBins); +} + +static void cannedhpfpCompensationLoadBins() { + static const float hardCodedhpfpCompensationLoadBins[10] = {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0}; + copyArray(config->hpfpCompensationLoadBins, hardCodedhpfpCompensationLoadBins); +} + static void cannedpostCrankingFactor() { static const float hardCodedpostCrankingFactor[6][6] = { {1.200, 0.000, 0.000, 0.000, 0.000, 0.000, }, diff --git a/generated/simulator_tune.msq b/generated/simulator_tune.msq index 202d445..f68432d 100644 --- a/generated/simulator_tune.msq +++ b/generated/simulator_tune.msq @@ -208,7 +208,7 @@ "NONE" 1000.0 50.0 - 2.0240419E7 + 2.0240421E7 "Disabled" "Disabled" "Disabled" @@ -4709,7 +4709,7 @@ end 0.0 - + diff --git a/generated/simulator_tune_BMW_M52.msq b/generated/simulator_tune_BMW_M52.msq index 28f6e07..774fb42 100644 --- a/generated/simulator_tune_BMW_M52.msq +++ b/generated/simulator_tune_BMW_M52.msq @@ -4709,7 +4709,7 @@ end 0.0 - + diff --git a/generated/simulator_tune_HARLEY.msq b/generated/simulator_tune_HARLEY.msq index 9fd621d..1812359 100644 --- a/generated/simulator_tune_HARLEY.msq +++ b/generated/simulator_tune_HARLEY.msq @@ -4785,7 +4785,7 @@ end 0.0 - + diff --git a/generated/simulator_tune_HELLEN_121_NISSAN_6_CYL.msq b/generated/simulator_tune_HELLEN_121_NISSAN_6_CYL.msq index 487624d..bcca734 100644 --- a/generated/simulator_tune_HELLEN_121_NISSAN_6_CYL.msq +++ b/generated/simulator_tune_HELLEN_121_NISSAN_6_CYL.msq @@ -4797,7 +4797,7 @@ canRxAdd(IN_35D, onCanRxAc) 0.0 - + diff --git a/generated/simulator_tune_HELLEN_154_HYUNDAI_COUPE_BK1.msq b/generated/simulator_tune_HELLEN_154_HYUNDAI_COUPE_BK1.msq index 9e9fa2a..46f0b09 100644 --- a/generated/simulator_tune_HELLEN_154_HYUNDAI_COUPE_BK1.msq +++ b/generated/simulator_tune_HELLEN_154_HYUNDAI_COUPE_BK1.msq @@ -4758,7 +4758,7 @@ end 0.0 - + diff --git a/generated/simulator_tune_HELLEN_154_HYUNDAI_COUPE_BK2.msq b/generated/simulator_tune_HELLEN_154_HYUNDAI_COUPE_BK2.msq index 26cc4ce..ce27ae2 100644 --- a/generated/simulator_tune_HELLEN_154_HYUNDAI_COUPE_BK2.msq +++ b/generated/simulator_tune_HELLEN_154_HYUNDAI_COUPE_BK2.msq @@ -4758,7 +4758,7 @@ end 0.0 - + diff --git a/generated/simulator_tune_HONDA_K.msq b/generated/simulator_tune_HONDA_K.msq index 98a678c..d3e4782 100644 --- a/generated/simulator_tune_HONDA_K.msq +++ b/generated/simulator_tune_HONDA_K.msq @@ -4711,7 +4711,7 @@ end 0.0 - + diff --git a/generated/simulator_tune_HONDA_OBD1.msq b/generated/simulator_tune_HONDA_OBD1.msq index 688248a..2420e57 100644 --- a/generated/simulator_tune_HONDA_OBD1.msq +++ b/generated/simulator_tune_HONDA_OBD1.msq @@ -4710,7 +4710,7 @@ end 0.0 - + diff --git a/generated/simulator_tune_HYUNDAI_PB.msq b/generated/simulator_tune_HYUNDAI_PB.msq index 72b609c..a055ec4 100644 --- a/generated/simulator_tune_HYUNDAI_PB.msq +++ b/generated/simulator_tune_HYUNDAI_PB.msq @@ -4801,7 +4801,7 @@ end 0.0 - + diff --git a/generated/simulator_tune_MAVERICK_X3.msq b/generated/simulator_tune_MAVERICK_X3.msq index 113dd43..69f9d47 100644 --- a/generated/simulator_tune_MAVERICK_X3.msq +++ b/generated/simulator_tune_MAVERICK_X3.msq @@ -4708,7 +4708,7 @@ end 0.0 - + diff --git a/generated/simulator_tune_MAZDA_MIATA_NA6.msq b/generated/simulator_tune_MAZDA_MIATA_NA6.msq index d54d5fd..676c81e 100644 --- a/generated/simulator_tune_MAZDA_MIATA_NA6.msq +++ b/generated/simulator_tune_MAZDA_MIATA_NA6.msq @@ -4711,7 +4711,7 @@ end 0.0 - + diff --git a/generated/simulator_tune_MAZDA_MIATA_NA94.msq b/generated/simulator_tune_MAZDA_MIATA_NA94.msq index 6370ea1..03290af 100644 --- a/generated/simulator_tune_MAZDA_MIATA_NA94.msq +++ b/generated/simulator_tune_MAZDA_MIATA_NA94.msq @@ -4711,7 +4711,7 @@ end 0.0 - + diff --git a/generated/simulator_tune_MAZDA_MIATA_NA96.msq b/generated/simulator_tune_MAZDA_MIATA_NA96.msq index 240cec9..579c1f3 100644 --- a/generated/simulator_tune_MAZDA_MIATA_NA96.msq +++ b/generated/simulator_tune_MAZDA_MIATA_NA96.msq @@ -4711,7 +4711,7 @@ end 0.0 - + diff --git a/generated/simulator_tune_MAZDA_MIATA_NB1.msq b/generated/simulator_tune_MAZDA_MIATA_NB1.msq index 0b7a4f2..1bc78e7 100644 --- a/generated/simulator_tune_MAZDA_MIATA_NB1.msq +++ b/generated/simulator_tune_MAZDA_MIATA_NB1.msq @@ -4711,7 +4711,7 @@ end 0.0 - + diff --git a/generated/simulator_tune_MAZDA_MIATA_NB2.msq b/generated/simulator_tune_MAZDA_MIATA_NB2.msq index f617c28..96cdb52 100644 --- a/generated/simulator_tune_MAZDA_MIATA_NB2.msq +++ b/generated/simulator_tune_MAZDA_MIATA_NB2.msq @@ -4712,7 +4712,7 @@ end 0.0 - + diff --git a/generated/simulator_tune_MERCEDES_M111.msq b/generated/simulator_tune_MERCEDES_M111.msq index 65dced6..fcc12df 100644 --- a/generated/simulator_tune_MERCEDES_M111.msq +++ b/generated/simulator_tune_MERCEDES_M111.msq @@ -4711,7 +4711,7 @@ end 0.0 - + diff --git a/generated/simulator_tune_POLARIS_RZR.msq b/generated/simulator_tune_POLARIS_RZR.msq index ad3411a..c14919a 100644 --- a/generated/simulator_tune_POLARIS_RZR.msq +++ b/generated/simulator_tune_POLARIS_RZR.msq @@ -4708,7 +4708,7 @@ end 0.0 - +