From f5207b20461dff732e822054ba10000d8885b605 Mon Sep 17 00:00:00 2001 From: GitHub git update Action Date: Thu, 18 Jul 2024 16:42:59 +0000 Subject: [PATCH] Auto-generated Default Tune [no ci] --- ...aring-against-current-COUPE-BK1-default.md | 1 - ...ainst-current-COUPE-BK1-default_methods.md | 77 ++++++++-------- ...E-BK1-comparing-against-global-defaults.md | 1 - ...mparing-against-global-defaults_methods.md | 77 ++++++++-------- ...aring-against-current-COUPE-BK2-default.md | 1 - ...ainst-current-COUPE-BK2-default_methods.md | 77 ++++++++-------- ...E-BK2-comparing-against-global-defaults.md | 1 - ...mparing-against-global-defaults_methods.md | 77 ++++++++-------- ...ring-against-current-Honda-OBD1-default.md | 10 --- ...inst-current-Honda-OBD1-default_methods.md | 58 +----------- ...-OBD1-comparing-against-global-defaults.md | 10 --- ...mparing-against-global-defaults_methods.md | 58 +----------- ...2-comparing-against-current-M52-default.md | 1 - ...ing-against-current-M52-default_methods.md | 83 ++++++++--------- .../M52-comparing-against-global-defaults.md | 1 - ...mparing-against-global-defaults_methods.md | 83 ++++++++--------- ...g-against-current-MazdaMiataNB2-default.md | 2 - ...t-current-MazdaMiataNB2-default_methods.md | 26 ++---- ...mparing-against-global-defaults_methods.md | 16 ++-- ...PB-comparing-against-current-PB-default.md | 9 -- ...ring-against-current-PB-default_methods.md | 45 ---------- .../PB-comparing-against-global-defaults.md | 9 -- ...mparing-against-global-defaults_methods.md | 47 +--------- ...ring-against-current-VQ-default_methods.md | 82 ++++++++--------- ...mparing-against-global-defaults_methods.md | 82 ++++++++--------- ...ainst-current-m111-alex-default_methods.md | 90 +++++++++---------- ...mparing-against-global-defaults_methods.md | 90 +++++++++---------- generated/simulator_tune.msq | 8 +- generated/simulator_tune_BMW_M52.msq | 6 +- generated/simulator_tune_HARLEY.msq | 6 +- ...simulator_tune_HELLEN_121_NISSAN_6_CYL.msq | 6 +- ...ator_tune_HELLEN_154_HYUNDAI_COUPE_BK1.msq | 6 +- ...ator_tune_HELLEN_154_HYUNDAI_COUPE_BK2.msq | 6 +- generated/simulator_tune_HONDA_K.msq | 6 +- generated/simulator_tune_HONDA_OBD1.msq | 6 +- generated/simulator_tune_HYUNDAI_PB.msq | 6 +- generated/simulator_tune_MAVERICK_X3.msq | 6 +- generated/simulator_tune_MAZDA_MIATA_NA6.msq | 6 +- generated/simulator_tune_MAZDA_MIATA_NA94.msq | 6 +- generated/simulator_tune_MAZDA_MIATA_NA96.msq | 6 +- generated/simulator_tune_MAZDA_MIATA_NB1.msq | 6 +- generated/simulator_tune_MAZDA_MIATA_NB2.msq | 6 +- generated/simulator_tune_MERCEDES_M111.msq | 6 +- generated/simulator_tune_POLARIS_RZR.msq | 6 +- 44 files changed, 471 insertions(+), 747 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 b90c9cd..6fcf994 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 @@ -139,7 +139,6 @@ coupleBK1cannedmap_samplingWindowBins(); coupleBK1cannedvrThreshold1_rpmBins(); coupleBK1cannedvrThreshold2_rpmBins(); - coupleBK1cannedmafDecodingBins(); coupleBK1cannedcltRevLimitRpmBins(); coupleBK1cannedcltIdleCorrBins(); coupleBK1cannedcltIdleCorr(); 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 775d22c..66af953 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 @@ -11,27 +11,22 @@ static void coupleBK1cannedprimeValues() { 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); + 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); + 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); + copyArray(engineConfiguration->vrThreshold[1].vrThreshold[0].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); + copyArray(engineConfiguration->vrThreshold[1].vrThreshold[1].rpmBins, hardCodedvrThreshold2_rpmBins); } static void coupleBK1cannedcltRevLimitRpmBins() { @@ -71,82 +66,82 @@ static void coupleBK1cannedfuelLevelBins() { 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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[0].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[0].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[1].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[1].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[2].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[2].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[3].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[3].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[0].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[0].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[1].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[1].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[2].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[2].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[3].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[3].blendValues, hardCodedveBlends4_blendValues); } static void coupleBK1cannedboostRpmBins() { @@ -249,82 +244,82 @@ static void coupleBK1cannedignitionTable() { 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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[0].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[0].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[1].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[1].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[2].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[2].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[3].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[3].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[0].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[0].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[1].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[1].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[2].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[2].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[3].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[3].loadBins, hardCodedveBlends4_loadBins); } static void coupleBK1cannedfuelTrimRpmBins() { 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 82a7317..20e6761 100644 --- a/generated/canned-tunes/COUPE-BK1-comparing-against-global-defaults.md +++ b/generated/canned-tunes/COUPE-BK1-comparing-against-global-defaults.md @@ -163,7 +163,6 @@ coupleBK1cannedmap_samplingWindowBins(); coupleBK1cannedvrThreshold1_rpmBins(); coupleBK1cannedvrThreshold2_rpmBins(); - coupleBK1cannedmafDecodingBins(); coupleBK1cannedcltRevLimitRpmBins(); coupleBK1cannedcltIdleCorrBins(); coupleBK1cannedcltIdleCorr(); 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 04a0bf5..c6bf701 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 @@ -11,27 +11,22 @@ static void coupleBK1cannedprimeValues() { 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); + 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); + 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); + copyArray(engineConfiguration->vrThreshold[1].vrThreshold[0].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); + copyArray(engineConfiguration->vrThreshold[1].vrThreshold[1].rpmBins, hardCodedvrThreshold2_rpmBins); } static void coupleBK1cannedcltRevLimitRpmBins() { @@ -71,82 +66,82 @@ static void coupleBK1cannedfuelLevelBins() { 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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[0].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[0].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[1].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[1].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[2].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[2].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[3].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[3].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[0].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[0].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[1].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[1].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[2].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[2].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[3].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[3].blendValues, hardCodedveBlends4_blendValues); } static void coupleBK1cannedboostRpmBins() { @@ -249,82 +244,82 @@ static void coupleBK1cannedignitionTable() { 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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[0].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[0].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[1].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[1].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[2].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[2].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[3].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[3].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[0].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[0].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[1].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[1].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[2].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[2].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[3].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[3].loadBins, hardCodedveBlends4_loadBins); } static void coupleBK1cannedveTable() { 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 21558a1..f26fc94 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 @@ -65,7 +65,6 @@ coupleBK2cannedmap_samplingWindowBins(); coupleBK2cannedvrThreshold1_rpmBins(); coupleBK2cannedvrThreshold2_rpmBins(); - coupleBK2cannedmafDecodingBins(); coupleBK2cannedcltRevLimitRpmBins(); coupleBK2cannedcltIdleCorrBins(); coupleBK2cannedcltIdleCorr(); 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 77699d7..8bd0948 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 @@ -21,27 +21,22 @@ static void coupleBK2cannedprimeValues() { 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); + 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); + 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); + copyArray(engineConfiguration->vrThreshold[1].vrThreshold[0].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); + copyArray(engineConfiguration->vrThreshold[1].vrThreshold[1].rpmBins, hardCodedvrThreshold2_rpmBins); } static void coupleBK2cannedcltRevLimitRpmBins() { @@ -81,82 +76,82 @@ static void coupleBK2cannedidleAdvance() { 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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[0].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[0].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[1].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[1].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[2].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[2].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[3].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[3].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[0].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[0].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[1].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[1].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[2].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[2].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[3].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[3].blendValues, hardCodedveBlends4_blendValues); } static void coupleBK2cannedtpsTpsAccelTable() { @@ -223,82 +218,82 @@ static void coupleBK2cannedignitionLoadBins() { 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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[0].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[0].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[1].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[1].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[2].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[2].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[3].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[3].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[0].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[0].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[1].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[1].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[2].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[2].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[3].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[3].loadBins, hardCodedveBlends4_loadBins); } static void coupleBK2cannedveRpmBins() { 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 593947a..5f05adb 100644 --- a/generated/canned-tunes/COUPE-BK2-comparing-against-global-defaults.md +++ b/generated/canned-tunes/COUPE-BK2-comparing-against-global-defaults.md @@ -163,7 +163,6 @@ coupleBK2cannedmap_samplingWindowBins(); coupleBK2cannedvrThreshold1_rpmBins(); coupleBK2cannedvrThreshold2_rpmBins(); - coupleBK2cannedmafDecodingBins(); coupleBK2cannedcltRevLimitRpmBins(); coupleBK2cannedcltIdleCorrBins(); coupleBK2cannedcltIdleCorr(); 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 d713258..01f8c43 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 @@ -21,27 +21,22 @@ static void coupleBK2cannedprimeValues() { 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); + 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); + 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); + copyArray(engineConfiguration->vrThreshold[1].vrThreshold[0].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); + copyArray(engineConfiguration->vrThreshold[1].vrThreshold[1].rpmBins, hardCodedvrThreshold2_rpmBins); } static void coupleBK2cannedcltRevLimitRpmBins() { @@ -81,82 +76,82 @@ static void coupleBK2cannedidleAdvance() { 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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[0].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[0].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[1].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[1].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[2].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[2].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[3].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[3].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[0].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[0].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[1].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[1].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[2].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[2].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[3].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[3].blendValues, hardCodedveBlends4_blendValues); } static void coupleBK2cannedtpsTpsAccelTable() { @@ -245,82 +240,82 @@ static void coupleBK2cannedignitionTable() { 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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[0].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[0].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[1].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[1].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[2].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[2].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[3].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[3].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[0].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[0].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[1].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[1].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[2].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[2].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[3].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[3].loadBins, hardCodedveBlends4_loadBins); } static void coupleBK2cannedveRpmBins() { 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 2125ef5..f7b9dc2 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 @@ -77,20 +77,10 @@ cannedinjector_battLagCorrBins(); cannedinjector_battLagCorr(); - cannedmafDecodingBins(); - cannedcltIdleCorr(); cannedtractionControlSlipBins(); cannedboostTableOpenLoop(); cannedscriptTable4(); cannedignitionTable(); - cannedignBlends1_rpmBins(); - cannedignBlends2_rpmBins(); - cannedignBlends3_rpmBins(); - cannedignBlends4_rpmBins(); - cannedveBlends1_rpmBins(); - cannedveBlends2_rpmBins(); - cannedveBlends3_rpmBins(); - cannedveBlends4_rpmBins(); cannedveTable(); cannedlambdaTable(); cannedgppwm1_rpmBins(); 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 0970460..dbf7e16 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,22 +1,12 @@ ``` 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); + 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); + copyArray(engineConfiguration->injectorSecondary.injector.battLagCorr, hardCodedinjector_battLagCorr); } static void cannedtractionControlSlipBins() { @@ -74,46 +64,6 @@ 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, }, @@ -160,7 +110,7 @@ static void cannedlambdaTable() { 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); + copyArray(engineConfiguration->gppwm[3].gppwm[0].rpmBins, hardCodedgppwm1_rpmBins); } static void cannedgppwm1_table() { @@ -174,7 +124,7 @@ static void cannedgppwm1_table() { {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); + copyTable(engineConfiguration->gppwm[3].gppwm1_table, hardCodedgppwm1_table); } static void cannedtcuSolenoidTable() { 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 a348898..f0cb17b 100644 --- a/generated/canned-tunes/Honda-OBD1-comparing-against-global-defaults.md +++ b/generated/canned-tunes/Honda-OBD1-comparing-against-global-defaults.md @@ -97,20 +97,10 @@ cannedinjector_battLagCorrBins(); cannedinjector_battLagCorr(); - cannedmafDecodingBins(); - cannedcltIdleCorr(); cannedtractionControlSlipBins(); cannedboostTableOpenLoop(); cannedscriptTable4(); cannedignitionTable(); - cannedignBlends1_rpmBins(); - cannedignBlends2_rpmBins(); - cannedignBlends3_rpmBins(); - cannedignBlends4_rpmBins(); - cannedveBlends1_rpmBins(); - cannedveBlends2_rpmBins(); - cannedveBlends3_rpmBins(); - cannedveBlends4_rpmBins(); cannedveTable(); cannedlambdaTable(); cannedgppwm1_rpmBins(); 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 0970460..dbf7e16 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,22 +1,12 @@ ``` 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); + 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); + copyArray(engineConfiguration->injectorSecondary.injector.battLagCorr, hardCodedinjector_battLagCorr); } static void cannedtractionControlSlipBins() { @@ -74,46 +64,6 @@ 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, }, @@ -160,7 +110,7 @@ static void cannedlambdaTable() { 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); + copyArray(engineConfiguration->gppwm[3].gppwm[0].rpmBins, hardCodedgppwm1_rpmBins); } static void cannedgppwm1_table() { @@ -174,7 +124,7 @@ static void cannedgppwm1_table() { {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); + copyTable(engineConfiguration->gppwm[3].gppwm1_table, hardCodedgppwm1_table); } static void cannedtcuSolenoidTable() { 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 96dbfeb..78029d8 100644 --- a/generated/canned-tunes/M52-comparing-against-current-M52-default.md +++ b/generated/canned-tunes/M52-comparing-against-current-M52-default.md @@ -211,7 +211,6 @@ cannedmap_samplingWindow(); cannedvrThreshold1_rpmBins(); cannedvrThreshold2_rpmBins(); - cannedmafDecodingBins(); cannedcltFuelCorr(); cannedcrankingFuelCoef(); cannedcltRevLimitRpmBins(); 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 700d0d0..12f9a69 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 @@ -41,37 +41,32 @@ static void cannedprimeValues() { 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); + 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); + 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); + 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); + 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); + copyArray(engineConfiguration->vrThreshold[1].vrThreshold[0].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); + copyArray(engineConfiguration->vrThreshold[1].vrThreshold[1].rpmBins, hardCodedvrThreshold2_rpmBins); } static void cannedcltFuelCorr() { @@ -121,82 +116,82 @@ static void cannedfuelLevelBins() { 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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[0].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[0].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[1].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[1].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[2].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[2].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[3].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[3].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[0].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[0].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[1].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[1].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[2].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[2].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[3].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[3].blendValues, hardCodedveBlends4_blendValues); } static void cannedtpsTpsAccelTable() { @@ -285,82 +280,82 @@ static void cannedignitionTable() { 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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[0].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[0].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[1].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[1].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[2].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[2].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[3].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[3].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[0].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[0].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[1].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[1].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[2].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[2].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[3].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[3].loadBins, hardCodedveBlends4_loadBins); } static void cannedveRpmBins() { @@ -485,7 +480,7 @@ static void cannedgppwm4_table() { {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); + copyTable(engineConfiguration->gppwm[3].gppwm4_table, hardCodedgppwm4_table); } static void cannedtcuSolenoidTable() { diff --git a/generated/canned-tunes/M52-comparing-against-global-defaults.md b/generated/canned-tunes/M52-comparing-against-global-defaults.md index 78164c9..c4f84ae 100644 --- a/generated/canned-tunes/M52-comparing-against-global-defaults.md +++ b/generated/canned-tunes/M52-comparing-against-global-defaults.md @@ -217,7 +217,6 @@ cannedmap_samplingWindow(); cannedvrThreshold1_rpmBins(); cannedvrThreshold2_rpmBins(); - cannedmafDecodingBins(); cannedcltFuelCorr(); cannedcrankingFuelCoef(); cannedcltRevLimitRpmBins(); 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 700d0d0..12f9a69 100644 --- a/generated/canned-tunes/M52-comparing-against-global-defaults_methods.md +++ b/generated/canned-tunes/M52-comparing-against-global-defaults_methods.md @@ -41,37 +41,32 @@ static void cannedprimeValues() { 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); + 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); + 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); + 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); + 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); + copyArray(engineConfiguration->vrThreshold[1].vrThreshold[0].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); + copyArray(engineConfiguration->vrThreshold[1].vrThreshold[1].rpmBins, hardCodedvrThreshold2_rpmBins); } static void cannedcltFuelCorr() { @@ -121,82 +116,82 @@ static void cannedfuelLevelBins() { 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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[0].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[0].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[1].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[1].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[2].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[2].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[3].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[3].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[0].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[0].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[1].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[1].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[2].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[2].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[3].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[3].blendValues, hardCodedveBlends4_blendValues); } static void cannedtpsTpsAccelTable() { @@ -285,82 +280,82 @@ static void cannedignitionTable() { 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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[0].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[0].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[1].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[1].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[2].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[2].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[3].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[3].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[0].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[0].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[1].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[1].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[2].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[2].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[3].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[3].loadBins, hardCodedveBlends4_loadBins); } static void cannedveRpmBins() { @@ -485,7 +480,7 @@ static void cannedgppwm4_table() { {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); + copyTable(engineConfiguration->gppwm[3].gppwm4_table, hardCodedgppwm4_table); } static void cannedtcuSolenoidTable() { 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 32f2cad..d97bb4d 100644 --- a/generated/canned-tunes/MazdaMiataNB2-comparing-against-current-MazdaMiataNB2-default.md +++ b/generated/canned-tunes/MazdaMiataNB2-comparing-against-current-MazdaMiataNB2-default.md @@ -293,12 +293,10 @@ nb2cannedvrThreshold1_values(); nb2cannedvrThreshold2_rpmBins(); nb2cannedvrThreshold2_values(); - nb2cannedmafDecodingBins(); nb2cannedcltFuelCorr(); nb2cannedcrankingFuelCoef(); nb2cannedcrankingFuelCoefE100(); nb2cannedcltRevLimitRpmBins(); - nb2cannedcltIdleCorrBins(); nb2cannedcltIdleCorr(); nb2cannedcltCrankingCorr(); nb2cannedcltIdleRpmBins(); 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 e05b4a4..009cc40 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 @@ -51,47 +51,42 @@ static void nb2cannedprimeValues() { 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); + 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); + 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); + 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); + 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); + copyArray(engineConfiguration->vrThreshold[1].vrThreshold[0].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); + copyArray(engineConfiguration->vrThreshold[1].vrThreshold[0].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); + copyArray(engineConfiguration->vrThreshold[1].vrThreshold[1].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); + copyArray(engineConfiguration->vrThreshold[1].vrThreshold[1].values, hardCodedvrThreshold2_values); } static void nb2cannedcltFuelCorr() { @@ -114,11 +109,6 @@ static void nb2cannedcltRevLimitRpmBins() { copyArray(config->cltRevLimitRpmBins, hardCodedcltRevLimitRpmBins); } -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); 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 99d645b..fea9680 100644 --- a/generated/canned-tunes/MazdaMiataNB2-comparing-against-global-defaults_methods.md +++ b/generated/canned-tunes/MazdaMiataNB2-comparing-against-global-defaults_methods.md @@ -51,42 +51,42 @@ static void nb2cannedprimeValues() { 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); + 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); + 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); + 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); + 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); + copyArray(engineConfiguration->vrThreshold[1].vrThreshold[0].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); + copyArray(engineConfiguration->vrThreshold[1].vrThreshold[0].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); + copyArray(engineConfiguration->vrThreshold[1].vrThreshold[1].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); + copyArray(engineConfiguration->vrThreshold[1].vrThreshold[1].values, hardCodedvrThreshold2_values); } static void nb2cannedmafDecodingBins() { 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 f9ab9a3..3e9f9b6 100644 --- a/generated/canned-tunes/PB-comparing-against-current-PB-default.md +++ b/generated/canned-tunes/PB-comparing-against-current-PB-default.md @@ -132,7 +132,6 @@ pbcannedknockBaseNoise(); - pbcannedmafDecodingBins(); pbcannedcltTimingBins(); pbcannedcltTimingExtra(); pbcannedcltIdleCorrBins(); @@ -145,14 +144,6 @@ pbcannedscriptTable4(); pbcannedignitionRpmBins(); pbcannedignitionTable(); - pbcannedignBlends1_rpmBins(); - pbcannedignBlends2_rpmBins(); - pbcannedignBlends3_rpmBins(); - pbcannedignBlends4_rpmBins(); - pbcannedveBlends1_rpmBins(); - pbcannedveBlends2_rpmBins(); - pbcannedveBlends3_rpmBins(); - pbcannedveBlends4_rpmBins(); pbcannedveTable(); pbcannedmaxKnockRetardRpmBins(); pbcannedmaxKnockRetardLoadBins(); 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 a07dfb8..8a7e88b 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 @@ -4,11 +4,6 @@ static void pbcannedknockBaseNoise() { 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); @@ -104,46 +99,6 @@ 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, }, diff --git a/generated/canned-tunes/PB-comparing-against-global-defaults.md b/generated/canned-tunes/PB-comparing-against-global-defaults.md index 81c3d7f..ed95180 100644 --- a/generated/canned-tunes/PB-comparing-against-global-defaults.md +++ b/generated/canned-tunes/PB-comparing-against-global-defaults.md @@ -197,7 +197,6 @@ pbcannedknockBaseNoise(); pbcannedinjector_battLagCorr(); - pbcannedmafDecodingBins(); pbcannedcltTimingBins(); pbcannedcltTimingExtra(); pbcannedcltIdleCorrBins(); @@ -211,14 +210,6 @@ pbcannedscriptTable4(); pbcannedignitionRpmBins(); pbcannedignitionTable(); - pbcannedignBlends1_rpmBins(); - pbcannedignBlends2_rpmBins(); - pbcannedignBlends3_rpmBins(); - pbcannedignBlends4_rpmBins(); - pbcannedveBlends1_rpmBins(); - pbcannedveBlends2_rpmBins(); - pbcannedveBlends3_rpmBins(); - pbcannedveBlends4_rpmBins(); pbcannedveTable(); pbcannedinjectionPhase(); pbcannedmaxKnockRetardRpmBins(); 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 9c2d31a..fc0b439 100644 --- a/generated/canned-tunes/PB-comparing-against-global-defaults_methods.md +++ b/generated/canned-tunes/PB-comparing-against-global-defaults_methods.md @@ -6,12 +6,7 @@ static void pbcannedknockBaseNoise() { 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); + copyArray(engineConfiguration->injectorSecondary.injector.battLagCorr, hardCodedinjector_battLagCorr); } static void pbcannedcltTimingBins() { @@ -123,46 +118,6 @@ 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, }, 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 9b12604..67751b8 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 @@ -11,42 +11,42 @@ static void cannedprimeValues() { 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); + 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); + 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); + 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); + 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); + 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); + 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); + copyArray(engineConfiguration->vrThreshold[1].vrThreshold[0].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); + copyArray(engineConfiguration->vrThreshold[1].vrThreshold[1].rpmBins, hardCodedvrThreshold2_rpmBins); } static void cannedmafDecodingBins() { @@ -106,77 +106,77 @@ static void cannedfuelLevelBins() { 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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[0].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[0].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[1].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[2].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[2].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[3].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[3].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[0].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[0].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[1].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[1].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[2].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[2].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[3].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[3].blendValues, hardCodedveBlends4_blendValues); } static void cannedtpsTpsAccelTable() { @@ -289,12 +289,12 @@ static void cannedignitionTable() { 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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[0].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[0].loadBins, hardCodedignBlends1_loadBins); } static void cannedignBlends1_table() { @@ -308,17 +308,17 @@ static void cannedignBlends1_table() { {0.000, 0.000, 0.000, 0.000, 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); + copyTable(config->boostClosedLoopBlends[1].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[1].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[1].loadBins, hardCodedignBlends2_loadBins); } static void cannedignBlends2_table() { @@ -332,67 +332,67 @@ static void cannedignBlends2_table() { {0.000, 0.000, 0.000, 0.000, 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); + copyTable(config->boostClosedLoopBlends[1].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[2].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[2].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[3].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[3].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[0].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[0].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[1].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[1].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[2].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[2].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[3].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[3].loadBins, hardCodedveBlends4_loadBins); } static void cannedignitionIatCorrLoadBins() { 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 9b12604..67751b8 100644 --- a/generated/canned-tunes/VQ-comparing-against-global-defaults_methods.md +++ b/generated/canned-tunes/VQ-comparing-against-global-defaults_methods.md @@ -11,42 +11,42 @@ static void cannedprimeValues() { 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); + 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); + 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); + 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); + 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); + 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); + 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); + copyArray(engineConfiguration->vrThreshold[1].vrThreshold[0].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); + copyArray(engineConfiguration->vrThreshold[1].vrThreshold[1].rpmBins, hardCodedvrThreshold2_rpmBins); } static void cannedmafDecodingBins() { @@ -106,77 +106,77 @@ static void cannedfuelLevelBins() { 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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[0].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[0].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[1].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[2].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[2].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[3].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[3].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[0].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[0].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[1].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[1].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[2].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[2].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[3].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[3].blendValues, hardCodedveBlends4_blendValues); } static void cannedtpsTpsAccelTable() { @@ -289,12 +289,12 @@ static void cannedignitionTable() { 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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[0].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[0].loadBins, hardCodedignBlends1_loadBins); } static void cannedignBlends1_table() { @@ -308,17 +308,17 @@ static void cannedignBlends1_table() { {0.000, 0.000, 0.000, 0.000, 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); + copyTable(config->boostClosedLoopBlends[1].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[1].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[1].loadBins, hardCodedignBlends2_loadBins); } static void cannedignBlends2_table() { @@ -332,67 +332,67 @@ static void cannedignBlends2_table() { {0.000, 0.000, 0.000, 0.000, 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); + copyTable(config->boostClosedLoopBlends[1].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[2].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[2].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[3].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[3].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[0].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[0].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[1].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[1].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[2].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[2].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[3].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[3].loadBins, hardCodedveBlends4_loadBins); } static void cannedignitionIatCorrLoadBins() { 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 0a6d38c..ec52e4b 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 @@ -46,42 +46,42 @@ static void cannedprimeValues() { 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); + 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); + 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); + 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); + 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); + copyArray(engineConfiguration->vrThreshold[1].vrThreshold[0].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); + copyArray(engineConfiguration->vrThreshold[1].vrThreshold[0].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); + copyArray(engineConfiguration->vrThreshold[1].vrThreshold[1].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); + copyArray(engineConfiguration->vrThreshold[1].vrThreshold[1].values, hardCodedvrThreshold2_values); } static void cannedmafDecodingBins() { @@ -226,82 +226,82 @@ static void cannedwwBetaMapValues() { 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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[0].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[0].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[1].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[1].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[2].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[2].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[3].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[3].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[0].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[0].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[1].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[1].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[2].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[2].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[3].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[3].blendValues, hardCodedveBlends4_blendValues); } static void cannedtpsTpsAccelFromRpmBins() { @@ -448,82 +448,82 @@ static void cannedignitionTable() { 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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[0].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[0].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[1].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[1].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[2].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[2].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[3].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[3].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[0].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[0].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[1].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[1].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[2].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[2].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[3].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[3].loadBins, hardCodedveBlends4_loadBins); } static void cannedignitionIatCorrLoadBins() { @@ -750,7 +750,7 @@ static void cannediacPidMultTable() { 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); + copyArray(engineConfiguration->gppwm[3].gppwm[0].loadBins, hardCodedgppwm1_loadBins); } static void cannedgppwm1_table() { @@ -764,12 +764,12 @@ static void cannedgppwm1_table() { {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); + copyTable(engineConfiguration->gppwm[3].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); + copyArray(engineConfiguration->gppwm[3].gppwm[1].rpmBins, hardCodedgppwm2_rpmBins); } static void cannedgppwm2_table() { @@ -783,7 +783,7 @@ static void cannedgppwm2_table() { {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); + copyTable(engineConfiguration->gppwm[3].gppwm2_table, hardCodedgppwm2_table); } static void cannedgppwm3_table() { @@ -797,7 +797,7 @@ static void cannedgppwm3_table() { {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); + copyTable(engineConfiguration->gppwm[3].gppwm3_table, hardCodedgppwm3_table); } static void cannedtcuSolenoidTable() { 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 0a6d38c..ec52e4b 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 @@ -46,42 +46,42 @@ static void cannedprimeValues() { 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); + 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); + 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); + 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); + 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); + copyArray(engineConfiguration->vrThreshold[1].vrThreshold[0].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); + copyArray(engineConfiguration->vrThreshold[1].vrThreshold[0].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); + copyArray(engineConfiguration->vrThreshold[1].vrThreshold[1].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); + copyArray(engineConfiguration->vrThreshold[1].vrThreshold[1].values, hardCodedvrThreshold2_values); } static void cannedmafDecodingBins() { @@ -226,82 +226,82 @@ static void cannedwwBetaMapValues() { 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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[0].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[0].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[1].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[1].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[2].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[2].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[3].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[3].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[0].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[0].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[1].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[1].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[2].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[2].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[3].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[3].blendValues, hardCodedveBlends4_blendValues); } static void cannedtpsTpsAccelFromRpmBins() { @@ -448,82 +448,82 @@ static void cannedignitionTable() { 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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[0].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[0].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[1].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[1].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[2].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[2].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[3].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); + copyArray(config->boostClosedLoopBlends[1].ignBlends[3].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[0].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[0].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[1].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[1].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[2].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[2].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[3].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); + copyArray(config->boostClosedLoopBlends[1].veBlends[3].loadBins, hardCodedveBlends4_loadBins); } static void cannedignitionIatCorrLoadBins() { @@ -750,7 +750,7 @@ static void cannediacPidMultTable() { 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); + copyArray(engineConfiguration->gppwm[3].gppwm[0].loadBins, hardCodedgppwm1_loadBins); } static void cannedgppwm1_table() { @@ -764,12 +764,12 @@ static void cannedgppwm1_table() { {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); + copyTable(engineConfiguration->gppwm[3].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); + copyArray(engineConfiguration->gppwm[3].gppwm[1].rpmBins, hardCodedgppwm2_rpmBins); } static void cannedgppwm2_table() { @@ -783,7 +783,7 @@ static void cannedgppwm2_table() { {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); + copyTable(engineConfiguration->gppwm[3].gppwm2_table, hardCodedgppwm2_table); } static void cannedgppwm3_table() { @@ -797,7 +797,7 @@ static void cannedgppwm3_table() { {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); + copyTable(engineConfiguration->gppwm[3].gppwm3_table, hardCodedgppwm3_table); } static void cannedtcuSolenoidTable() { diff --git a/generated/simulator_tune.msq b/generated/simulator_tune.msq index 31208a3..61231cc 100644 --- a/generated/simulator_tune.msq +++ b/generated/simulator_tune.msq @@ -208,7 +208,7 @@ "NONE" 1000.0 50.0 - 2.0240716E7 + 2.0240717E7 "NONE" "NONE" "NONE" @@ -223,7 +223,7 @@ 0.0 "NONE" 5.0 - 2.0240717E7 + 2.0240718E7 3.0 0.0 "NONE" @@ -4720,8 +4720,8 @@ end 0.0 - - + + diff --git a/generated/simulator_tune_BMW_M52.msq b/generated/simulator_tune_BMW_M52.msq index 835fb8d..03e4a2a 100644 --- a/generated/simulator_tune_BMW_M52.msq +++ b/generated/simulator_tune_BMW_M52.msq @@ -223,7 +223,7 @@ 0.0 "NONE" 5.0 - 2.0240717E7 + 2.0240718E7 3.0 0.0 "NONE" @@ -4720,8 +4720,8 @@ end 0.0 - - + + diff --git a/generated/simulator_tune_HARLEY.msq b/generated/simulator_tune_HARLEY.msq index 26ecfaa..968a663 100644 --- a/generated/simulator_tune_HARLEY.msq +++ b/generated/simulator_tune_HARLEY.msq @@ -223,7 +223,7 @@ 0.0 "NONE" 5.0 - 2.0240717E7 + 2.0240718E7 3.0 50.0 "NONE" @@ -4723,8 +4723,8 @@ 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 e0a5b54..41a6064 100644 --- a/generated/simulator_tune_HELLEN_121_NISSAN_6_CYL.msq +++ b/generated/simulator_tune_HELLEN_121_NISSAN_6_CYL.msq @@ -223,7 +223,7 @@ 0.0 "NONE" 5.0 - 2.0240717E7 + 2.0240718E7 3.0 0.0 "NONE" @@ -4884,8 +4884,8 @@ 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 4f1e918..00ddc90 100644 --- a/generated/simulator_tune_HELLEN_154_HYUNDAI_COUPE_BK1.msq +++ b/generated/simulator_tune_HELLEN_154_HYUNDAI_COUPE_BK1.msq @@ -223,7 +223,7 @@ 0.0 "NONE" 5.0 - 2.0240717E7 + 2.0240718E7 3.0 0.0 "NONE" @@ -4769,8 +4769,8 @@ 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 2ff320a..fd9fd0d 100644 --- a/generated/simulator_tune_HELLEN_154_HYUNDAI_COUPE_BK2.msq +++ b/generated/simulator_tune_HELLEN_154_HYUNDAI_COUPE_BK2.msq @@ -223,7 +223,7 @@ 0.0 "NONE" 5.0 - 2.0240717E7 + 2.0240718E7 3.0 0.0 "NONE" @@ -4769,8 +4769,8 @@ end 0.0 - - + + diff --git a/generated/simulator_tune_HONDA_K.msq b/generated/simulator_tune_HONDA_K.msq index 5774ef5..8b4045c 100644 --- a/generated/simulator_tune_HONDA_K.msq +++ b/generated/simulator_tune_HONDA_K.msq @@ -223,7 +223,7 @@ 0.0 "NONE" 5.0 - 2.0240717E7 + 2.0240718E7 3.0 0.0 "NONE" @@ -4722,8 +4722,8 @@ end 0.0 - - + + diff --git a/generated/simulator_tune_HONDA_OBD1.msq b/generated/simulator_tune_HONDA_OBD1.msq index a617630..fdb3f4c 100644 --- a/generated/simulator_tune_HONDA_OBD1.msq +++ b/generated/simulator_tune_HONDA_OBD1.msq @@ -223,7 +223,7 @@ 0.0 "NONE" 5.0 - 2.0240717E7 + 2.0240718E7 3.0 0.0 "NONE" @@ -4721,8 +4721,8 @@ end 0.0 - - + + diff --git a/generated/simulator_tune_HYUNDAI_PB.msq b/generated/simulator_tune_HYUNDAI_PB.msq index 1275233..fb27ad4 100644 --- a/generated/simulator_tune_HYUNDAI_PB.msq +++ b/generated/simulator_tune_HYUNDAI_PB.msq @@ -223,7 +223,7 @@ 0.0 "NONE" 5.0 - 2.0240717E7 + 2.0240718E7 3.0 0.0 "NONE" @@ -4812,8 +4812,8 @@ end 0.0 - - + + diff --git a/generated/simulator_tune_MAVERICK_X3.msq b/generated/simulator_tune_MAVERICK_X3.msq index b2d2e87..e882501 100644 --- a/generated/simulator_tune_MAVERICK_X3.msq +++ b/generated/simulator_tune_MAVERICK_X3.msq @@ -223,7 +223,7 @@ 0.0 "NONE" 5.0 - 2.0240717E7 + 2.0240718E7 3.0 0.0 "NONE" @@ -4719,8 +4719,8 @@ end 0.0 - - + + diff --git a/generated/simulator_tune_MAZDA_MIATA_NA6.msq b/generated/simulator_tune_MAZDA_MIATA_NA6.msq index 450c3f2..83fbfe1 100644 --- a/generated/simulator_tune_MAZDA_MIATA_NA6.msq +++ b/generated/simulator_tune_MAZDA_MIATA_NA6.msq @@ -223,7 +223,7 @@ 0.0 "NONE" 5.0 - 2.0240717E7 + 2.0240718E7 3.0 0.0 "NONE" @@ -4722,8 +4722,8 @@ end 0.0 - - + + diff --git a/generated/simulator_tune_MAZDA_MIATA_NA94.msq b/generated/simulator_tune_MAZDA_MIATA_NA94.msq index bf2c137..6b8c727 100644 --- a/generated/simulator_tune_MAZDA_MIATA_NA94.msq +++ b/generated/simulator_tune_MAZDA_MIATA_NA94.msq @@ -223,7 +223,7 @@ 0.0 "NONE" 5.0 - 2.0240717E7 + 2.0240718E7 3.0 0.0 "NONE" @@ -4722,8 +4722,8 @@ end 0.0 - - + + diff --git a/generated/simulator_tune_MAZDA_MIATA_NA96.msq b/generated/simulator_tune_MAZDA_MIATA_NA96.msq index d713d25..1e88cdb 100644 --- a/generated/simulator_tune_MAZDA_MIATA_NA96.msq +++ b/generated/simulator_tune_MAZDA_MIATA_NA96.msq @@ -223,7 +223,7 @@ 0.0 "NONE" 5.0 - 2.0240717E7 + 2.0240718E7 3.0 0.0 "NONE" @@ -4722,8 +4722,8 @@ end 0.0 - - + + diff --git a/generated/simulator_tune_MAZDA_MIATA_NB1.msq b/generated/simulator_tune_MAZDA_MIATA_NB1.msq index d07c434..ac5089b 100644 --- a/generated/simulator_tune_MAZDA_MIATA_NB1.msq +++ b/generated/simulator_tune_MAZDA_MIATA_NB1.msq @@ -223,7 +223,7 @@ 0.0 "NONE" 5.0 - 2.0240717E7 + 2.0240718E7 3.0 0.0 "NONE" @@ -4722,8 +4722,8 @@ end 0.0 - - + + diff --git a/generated/simulator_tune_MAZDA_MIATA_NB2.msq b/generated/simulator_tune_MAZDA_MIATA_NB2.msq index d1244d2..4c47306 100644 --- a/generated/simulator_tune_MAZDA_MIATA_NB2.msq +++ b/generated/simulator_tune_MAZDA_MIATA_NB2.msq @@ -223,7 +223,7 @@ 0.0 "NONE" 5.0 - 2.0240717E7 + 2.0240718E7 3.0 0.0 "NONE" @@ -4723,8 +4723,8 @@ end 0.0 - - + + diff --git a/generated/simulator_tune_MERCEDES_M111.msq b/generated/simulator_tune_MERCEDES_M111.msq index d5e2fc1..3c7c143 100644 --- a/generated/simulator_tune_MERCEDES_M111.msq +++ b/generated/simulator_tune_MERCEDES_M111.msq @@ -223,7 +223,7 @@ 0.0 "NONE" 5.0 - 2.0240717E7 + 2.0240718E7 3.0 0.0 "NONE" @@ -4722,8 +4722,8 @@ end 0.0 - - + + diff --git a/generated/simulator_tune_POLARIS_RZR.msq b/generated/simulator_tune_POLARIS_RZR.msq index 687b867..726e50c 100644 --- a/generated/simulator_tune_POLARIS_RZR.msq +++ b/generated/simulator_tune_POLARIS_RZR.msq @@ -223,7 +223,7 @@ 0.0 "NONE" 5.0 - 2.0240717E7 + 2.0240718E7 3.0 0.0 "NONE" @@ -4719,8 +4719,8 @@ end 0.0 - - + +