Auto-generated default tune

This commit is contained in:
GitHub gen-default-tune Action 2024-03-06 17:45:24 +00:00
parent 07f5dcb636
commit f783879486
16 changed files with 134 additions and 114 deletions

View File

@ -55,11 +55,11 @@
engineConfiguration->engineChartSize = 300;
cannedtpsTpsAccelTable();
cannedscriptTable4();
cannedveTable();
cannedpedalToTpsTable();
cannedlambdaTable();
cannedtcuSolenoidTable();
cannedpostCrankingFactor();
couplecannedtpsTpsAccelTable();
couplecannedscriptTable4();
couplecannedveTable();
couplecannedpedalToTpsTable();
couplecannedlambdaTable();
couplecannedtcuSolenoidTable();
couplecannedpostCrankingFactor();
```

View File

@ -1,4 +1,5 @@
static void cannedtpsTpsAccelTable() {
```
static void couplecannedtpsTpsAccelTable() {
static const float hardCodedtpsTpsAccelTable[8][8] = {
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
{5.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
@ -12,7 +13,7 @@ static void cannedtpsTpsAccelTable() {
copyTable(config->tpsTpsAccelTable, hardCodedtpsTpsAccelTable);
}
static void cannedscriptTable4() {
static void couplecannedscriptTable4() {
static const float hardCodedscriptTable4[8][10] = {
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
@ -26,7 +27,7 @@ static void cannedscriptTable4() {
copyTable(config->scriptTable4, hardCodedscriptTable4);
}
static void cannedveTable() {
static void couplecannedveTable() {
static const float hardCodedveTable[16][16] = {
{52.000, 54.000, 54.000, 56.000, 61.000, 55.000, 55.000, 65.000, 65.000, 60.000, 60.000, 60.000, 60.000, 60.000, 60.000, 60.000, },
{51.500, 54.500, 54.400, 56.000, 61.000, 68.100, 66.800, 67.600, 68.200, 63.400, 63.400, 63.400, 63.400, 63.400, 63.400, 63.400, },
@ -48,7 +49,7 @@ static void cannedveTable() {
copyTable(config->veTable, hardCodedveTable);
}
static void cannedpedalToTpsTable() {
static void couplecannedpedalToTpsTable() {
static const float hardCodedpedalToTpsTable[8][8] = {
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
{8.000, 8.000, 8.000, 8.000, 8.000, 8.000, 8.000, 8.000, },
@ -62,7 +63,7 @@ static void cannedpedalToTpsTable() {
copyTable(config->pedalToTpsTable, hardCodedpedalToTpsTable);
}
static void cannedlambdaTable() {
static void couplecannedlambdaTable() {
static const float hardCodedlambdaTable[16][16] = {
{14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, },
{14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, },
@ -84,7 +85,7 @@ static void cannedlambdaTable() {
copyTable(config->lambdaTable, hardCodedlambdaTable);
}
static void cannedtcuSolenoidTable() {
static void couplecannedtcuSolenoidTable() {
static const float hardCodedtcuSolenoidTable[6][10] = {
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
@ -96,7 +97,7 @@ static void cannedtcuSolenoidTable() {
copyTable(config->tcuSolenoidTable, hardCodedtcuSolenoidTable);
}
static void cannedpostCrankingFactor() {
static void couplecannedpostCrankingFactor() {
static const float hardCodedpostCrankingFactor[6][6] = {
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
@ -108,3 +109,4 @@ static void cannedpostCrankingFactor() {
copyTable(engineConfiguration->postCrankingFactor, hardCodedpostCrankingFactor);
}
```

View File

@ -153,12 +153,12 @@
engineConfiguration->engineChartSize = 300;
cannedtpsTpsAccelTable();
cannedscriptTable4();
cannedignitionTable();
cannedveTable();
cannedpedalToTpsTable();
cannedlambdaTable();
cannedtcuSolenoidTable();
cannedpostCrankingFactor();
couplecannedtpsTpsAccelTable();
couplecannedscriptTable4();
couplecannedignitionTable();
couplecannedveTable();
couplecannedpedalToTpsTable();
couplecannedlambdaTable();
couplecannedtcuSolenoidTable();
couplecannedpostCrankingFactor();
```

View File

@ -1,4 +1,5 @@
static void cannedtpsTpsAccelTable() {
```
static void couplecannedtpsTpsAccelTable() {
static const float hardCodedtpsTpsAccelTable[8][8] = {
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
{5.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
@ -12,7 +13,7 @@ static void cannedtpsTpsAccelTable() {
copyTable(config->tpsTpsAccelTable, hardCodedtpsTpsAccelTable);
}
static void cannedscriptTable4() {
static void couplecannedscriptTable4() {
static const float hardCodedscriptTable4[8][10] = {
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
@ -26,7 +27,7 @@ static void cannedscriptTable4() {
copyTable(config->scriptTable4, hardCodedscriptTable4);
}
static void cannedignitionTable() {
static void couplecannedignitionTable() {
static const float hardCodedignitionTable[16][16] = {
{12.100, 14.000, 17.800, 22.900, 29.300, 35.600, -20.000, -20.000, -20.000, -20.000, -20.000, -20.000, 42.000, 42.000, 42.000, 42.000, },
{11.800, 13.700, 10.000, 14.900, 28.600, 34.800, -20.000, -20.000, -20.000, -20.000, -20.000, -20.000, 41.000, 41.000, 41.000, 41.000, },
@ -48,7 +49,7 @@ static void cannedignitionTable() {
copyTable(config->ignitionTable, hardCodedignitionTable);
}
static void cannedveTable() {
static void couplecannedveTable() {
static const float hardCodedveTable[16][16] = {
{52.000, 54.000, 54.000, 56.000, 61.000, 55.000, 55.000, 65.000, 65.000, 60.000, 60.000, 60.000, 60.000, 60.000, 60.000, 60.000, },
{51.500, 54.500, 54.400, 56.000, 61.000, 68.100, 66.800, 67.600, 68.200, 63.400, 63.400, 63.400, 63.400, 63.400, 63.400, 63.400, },
@ -70,7 +71,7 @@ static void cannedveTable() {
copyTable(config->veTable, hardCodedveTable);
}
static void cannedpedalToTpsTable() {
static void couplecannedpedalToTpsTable() {
static const float hardCodedpedalToTpsTable[8][8] = {
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
{8.000, 8.000, 8.000, 8.000, 8.000, 8.000, 8.000, 8.000, },
@ -84,7 +85,7 @@ static void cannedpedalToTpsTable() {
copyTable(config->pedalToTpsTable, hardCodedpedalToTpsTable);
}
static void cannedlambdaTable() {
static void couplecannedlambdaTable() {
static const float hardCodedlambdaTable[16][16] = {
{14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, },
{14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, },
@ -106,7 +107,7 @@ static void cannedlambdaTable() {
copyTable(config->lambdaTable, hardCodedlambdaTable);
}
static void cannedtcuSolenoidTable() {
static void couplecannedtcuSolenoidTable() {
static const float hardCodedtcuSolenoidTable[6][10] = {
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
@ -118,7 +119,7 @@ static void cannedtcuSolenoidTable() {
copyTable(config->tcuSolenoidTable, hardCodedtcuSolenoidTable);
}
static void cannedpostCrankingFactor() {
static void couplecannedpostCrankingFactor() {
static const float hardCodedpostCrankingFactor[6][6] = {
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
@ -130,3 +131,4 @@ static void cannedpostCrankingFactor() {
copyTable(engineConfiguration->postCrankingFactor, hardCodedpostCrankingFactor);
}
```

View File

@ -1,3 +1,4 @@
```
static void cannedtpsTpsAccelTable() {
static const float hardCodedtpsTpsAccelTable[8][8] = {
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
@ -138,3 +139,4 @@ static void cannedpostCrankingFactor() {
copyTable(engineConfiguration->postCrankingFactor, hardCodedpostCrankingFactor);
}
```

View File

@ -1,3 +1,4 @@
```
static void cannedtpsTpsAccelTable() {
static const float hardCodedtpsTpsAccelTable[8][8] = {
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
@ -138,3 +139,4 @@ static void cannedpostCrankingFactor() {
copyTable(engineConfiguration->postCrankingFactor, hardCodedpostCrankingFactor);
}
```

View File

@ -303,18 +303,18 @@
engineConfiguration->hpfpPidI = 0;
cannedtpsTpsAccelTable();
cannedboostTableOpenLoop();
cannedboostTableClosedLoop();
cannedvvtTable1();
cannedscriptTable4();
cannedignitionTable();
cannedignitionIatCorrTable();
cannedveTable();
cannedidleVeTable();
cannedmapEstimateTable();
cannedinjectionPhase();
cannedlambdaTable();
cannedtcuSolenoidTable();
cannedpostCrankingFactor();
nb2cannedtpsTpsAccelTable();
nb2cannedboostTableOpenLoop();
nb2cannedboostTableClosedLoop();
nb2cannedvvtTable1();
nb2cannedscriptTable4();
nb2cannedignitionTable();
nb2cannedignitionIatCorrTable();
nb2cannedveTable();
nb2cannedidleVeTable();
nb2cannedmapEstimateTable();
nb2cannedinjectionPhase();
nb2cannedlambdaTable();
nb2cannedtcuSolenoidTable();
nb2cannedpostCrankingFactor();
```

View File

@ -1,4 +1,5 @@
static void cannedtpsTpsAccelTable() {
```
static void nb2cannedtpsTpsAccelTable() {
static const float hardCodedtpsTpsAccelTable[8][8] = {
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
{1.484, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
@ -12,7 +13,7 @@ static void cannedtpsTpsAccelTable() {
copyTable(config->tpsTpsAccelTable, hardCodedtpsTpsAccelTable);
}
static void cannedboostTableOpenLoop() {
static void nb2cannedboostTableOpenLoop() {
static const float hardCodedboostTableOpenLoop[8][8] = {
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
{14.000, 14.000, 14.000, 14.000, 14.000, 14.000, 14.000, 14.000, },
@ -26,7 +27,7 @@ static void cannedboostTableOpenLoop() {
copyTable(config->boostTableOpenLoop, hardCodedboostTableOpenLoop);
}
static void cannedboostTableClosedLoop() {
static void nb2cannedboostTableClosedLoop() {
static const float hardCodedboostTableClosedLoop[8][8] = {
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
{14.000, 14.000, 14.000, 14.000, 14.000, 14.000, 14.000, 14.000, },
@ -40,7 +41,7 @@ static void cannedboostTableClosedLoop() {
copyTable(config->boostTableClosedLoop, hardCodedboostTableClosedLoop);
}
static void cannedvvtTable1() {
static void nb2cannedvvtTable1() {
static const float hardCodedvvtTable1[8][8] = {
{0.000, 0.000, 10.000, 10.000, 10.000, 10.000, 0.000, 0.000, },
{0.000, 0.000, 15.000, 15.000, 15.000, 15.000, 0.000, 0.000, },
@ -54,7 +55,7 @@ static void cannedvvtTable1() {
copyTable(config->vvtTable1, hardCodedvvtTable1);
}
static void cannedscriptTable4() {
static void nb2cannedscriptTable4() {
static const float hardCodedscriptTable4[8][10] = {
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
@ -68,7 +69,7 @@ static void cannedscriptTable4() {
copyTable(config->scriptTable4, hardCodedscriptTable4);
}
static void cannedignitionTable() {
static void nb2cannedignitionTable() {
static const float hardCodedignitionTable[16][16] = {
{16.000, 16.000, 16.000, 16.000, 16.000, 16.000, 15.000, 6.100, -3.000, -3.000, -3.000, -3.000, -2.000, -2.000, -2.000, -2.000, },
{16.000, 10.000, 10.000, 20.000, 24.000, 24.000, 24.000, 26.700, 30.000, 30.000, 30.000, 30.000, 30.000, 30.000, 30.000, 30.000, },
@ -90,7 +91,7 @@ static void cannedignitionTable() {
copyTable(config->ignitionTable, hardCodedignitionTable);
}
static void cannedignitionIatCorrTable() {
static void nb2cannedignitionIatCorrTable() {
static const float hardCodedignitionIatCorrTable[8][8] = {
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
@ -104,7 +105,7 @@ static void cannedignitionIatCorrTable() {
copyTable(config->ignitionIatCorrTable, hardCodedignitionIatCorrTable);
}
static void cannedveTable() {
static void nb2cannedveTable() {
static const float hardCodedveTable[16][16] = {
{13.500, 22.000, 22.000, 19.700, 19.000, 19.000, 19.000, 21.000, 24.000, 24.000, 24.000, 23.500, 22.500, 22.800, 22.800, 22.200, },
{40.000, 46.200, 37.700, 38.000, 48.000, 45.200, 43.100, 42.500, 35.400, 40.900, 45.300, 45.800, 37.600, 38.500, 36.300, 38.100, },
@ -126,7 +127,7 @@ static void cannedveTable() {
copyTable(config->veTable, hardCodedveTable);
}
static void cannedidleVeTable() {
static void nb2cannedidleVeTable() {
static const float hardCodedidleVeTable[4][4] = {
{41.000, 41.000, 41.000, 43.000, },
{42.000, 40.000, 40.000, 43.300, },
@ -136,7 +137,7 @@ static void cannedidleVeTable() {
copyTable(config->idleVeTable, hardCodedidleVeTable);
}
static void cannedmapEstimateTable() {
static void nb2cannedmapEstimateTable() {
static const float hardCodedmapEstimateTable[16][16] = {
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
@ -158,7 +159,7 @@ static void cannedmapEstimateTable() {
copyTable(config->mapEstimateTable, hardCodedmapEstimateTable);
}
static void cannedinjectionPhase() {
static void nb2cannedinjectionPhase() {
static const float hardCodedinjectionPhase[16][16] = {
{-180.000, -180.000, -180.000, -180.000, -180.000, -180.000, -180.000, -180.000, -180.000, -180.000, -180.000, -180.000, -180.000, -180.000, -180.000, -180.000, },
{-180.000, -180.000, -180.000, -180.000, -180.000, -180.000, -180.000, -180.000, -180.000, -180.000, -180.000, -180.000, -180.000, -180.000, -180.000, -180.000, },
@ -180,7 +181,7 @@ static void cannedinjectionPhase() {
copyTable(config->injectionPhase, hardCodedinjectionPhase);
}
static void cannedlambdaTable() {
static void nb2cannedlambdaTable() {
static const float hardCodedlambdaTable[16][16] = {
{14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 15.400, 15.400, 15.400, 15.400, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, },
{14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 15.400, 15.400, 15.400, 15.400, 14.500, 14.200, 14.200, 14.200, 14.200, 14.200, },
@ -202,7 +203,7 @@ static void cannedlambdaTable() {
copyTable(config->lambdaTable, hardCodedlambdaTable);
}
static void cannedtcuSolenoidTable() {
static void nb2cannedtcuSolenoidTable() {
static const float hardCodedtcuSolenoidTable[6][10] = {
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
@ -214,7 +215,7 @@ static void cannedtcuSolenoidTable() {
copyTable(config->tcuSolenoidTable, hardCodedtcuSolenoidTable);
}
static void cannedpostCrankingFactor() {
static void nb2cannedpostCrankingFactor() {
static const float hardCodedpostCrankingFactor[6][6] = {
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
@ -226,3 +227,4 @@ static void cannedpostCrankingFactor() {
copyTable(engineConfiguration->postCrankingFactor, hardCodedpostCrankingFactor);
}
```

View File

@ -359,18 +359,18 @@
engineConfiguration->hpfpPidI = 0;
cannedtpsTpsAccelTable();
cannedboostTableOpenLoop();
cannedboostTableClosedLoop();
cannedvvtTable1();
cannedscriptTable4();
cannedignitionTable();
cannedignitionIatCorrTable();
cannedveTable();
cannedidleVeTable();
cannedmapEstimateTable();
cannedinjectionPhase();
cannedlambdaTable();
cannedtcuSolenoidTable();
cannedpostCrankingFactor();
nb2cannedtpsTpsAccelTable();
nb2cannedboostTableOpenLoop();
nb2cannedboostTableClosedLoop();
nb2cannedvvtTable1();
nb2cannedscriptTable4();
nb2cannedignitionTable();
nb2cannedignitionIatCorrTable();
nb2cannedveTable();
nb2cannedidleVeTable();
nb2cannedmapEstimateTable();
nb2cannedinjectionPhase();
nb2cannedlambdaTable();
nb2cannedtcuSolenoidTable();
nb2cannedpostCrankingFactor();
```

View File

@ -1,4 +1,5 @@
static void cannedtpsTpsAccelTable() {
```
static void nb2cannedtpsTpsAccelTable() {
static const float hardCodedtpsTpsAccelTable[8][8] = {
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
{1.484, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
@ -12,7 +13,7 @@ static void cannedtpsTpsAccelTable() {
copyTable(config->tpsTpsAccelTable, hardCodedtpsTpsAccelTable);
}
static void cannedboostTableOpenLoop() {
static void nb2cannedboostTableOpenLoop() {
static const float hardCodedboostTableOpenLoop[8][8] = {
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
{14.000, 14.000, 14.000, 14.000, 14.000, 14.000, 14.000, 14.000, },
@ -26,7 +27,7 @@ static void cannedboostTableOpenLoop() {
copyTable(config->boostTableOpenLoop, hardCodedboostTableOpenLoop);
}
static void cannedboostTableClosedLoop() {
static void nb2cannedboostTableClosedLoop() {
static const float hardCodedboostTableClosedLoop[8][8] = {
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
{14.000, 14.000, 14.000, 14.000, 14.000, 14.000, 14.000, 14.000, },
@ -40,7 +41,7 @@ static void cannedboostTableClosedLoop() {
copyTable(config->boostTableClosedLoop, hardCodedboostTableClosedLoop);
}
static void cannedvvtTable1() {
static void nb2cannedvvtTable1() {
static const float hardCodedvvtTable1[8][8] = {
{0.000, 0.000, 10.000, 10.000, 10.000, 10.000, 0.000, 0.000, },
{0.000, 0.000, 15.000, 15.000, 15.000, 15.000, 0.000, 0.000, },
@ -54,7 +55,7 @@ static void cannedvvtTable1() {
copyTable(config->vvtTable1, hardCodedvvtTable1);
}
static void cannedscriptTable4() {
static void nb2cannedscriptTable4() {
static const float hardCodedscriptTable4[8][10] = {
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
@ -68,7 +69,7 @@ static void cannedscriptTable4() {
copyTable(config->scriptTable4, hardCodedscriptTable4);
}
static void cannedignitionTable() {
static void nb2cannedignitionTable() {
static const float hardCodedignitionTable[16][16] = {
{16.000, 16.000, 16.000, 16.000, 16.000, 16.000, 15.000, 6.100, -3.000, -3.000, -3.000, -3.000, -2.000, -2.000, -2.000, -2.000, },
{16.000, 10.000, 10.000, 20.000, 24.000, 24.000, 24.000, 26.700, 30.000, 30.000, 30.000, 30.000, 30.000, 30.000, 30.000, 30.000, },
@ -90,7 +91,7 @@ static void cannedignitionTable() {
copyTable(config->ignitionTable, hardCodedignitionTable);
}
static void cannedignitionIatCorrTable() {
static void nb2cannedignitionIatCorrTable() {
static const float hardCodedignitionIatCorrTable[8][8] = {
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
@ -104,7 +105,7 @@ static void cannedignitionIatCorrTable() {
copyTable(config->ignitionIatCorrTable, hardCodedignitionIatCorrTable);
}
static void cannedveTable() {
static void nb2cannedveTable() {
static const float hardCodedveTable[16][16] = {
{13.500, 22.000, 22.000, 19.700, 19.000, 19.000, 19.000, 21.000, 24.000, 24.000, 24.000, 23.500, 22.500, 22.800, 22.800, 22.200, },
{40.000, 46.200, 37.700, 38.000, 48.000, 45.200, 43.100, 42.500, 35.400, 40.900, 45.300, 45.800, 37.600, 38.500, 36.300, 38.100, },
@ -126,7 +127,7 @@ static void cannedveTable() {
copyTable(config->veTable, hardCodedveTable);
}
static void cannedidleVeTable() {
static void nb2cannedidleVeTable() {
static const float hardCodedidleVeTable[4][4] = {
{41.000, 41.000, 41.000, 43.000, },
{42.000, 40.000, 40.000, 43.300, },
@ -136,7 +137,7 @@ static void cannedidleVeTable() {
copyTable(config->idleVeTable, hardCodedidleVeTable);
}
static void cannedmapEstimateTable() {
static void nb2cannedmapEstimateTable() {
static const float hardCodedmapEstimateTable[16][16] = {
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
@ -158,7 +159,7 @@ static void cannedmapEstimateTable() {
copyTable(config->mapEstimateTable, hardCodedmapEstimateTable);
}
static void cannedinjectionPhase() {
static void nb2cannedinjectionPhase() {
static const float hardCodedinjectionPhase[16][16] = {
{-180.000, -180.000, -180.000, -180.000, -180.000, -180.000, -180.000, -180.000, -180.000, -180.000, -180.000, -180.000, -180.000, -180.000, -180.000, -180.000, },
{-180.000, -180.000, -180.000, -180.000, -180.000, -180.000, -180.000, -180.000, -180.000, -180.000, -180.000, -180.000, -180.000, -180.000, -180.000, -180.000, },
@ -180,7 +181,7 @@ static void cannedinjectionPhase() {
copyTable(config->injectionPhase, hardCodedinjectionPhase);
}
static void cannedlambdaTable() {
static void nb2cannedlambdaTable() {
static const float hardCodedlambdaTable[16][16] = {
{14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 15.400, 15.400, 15.400, 15.400, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, },
{14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 15.400, 15.400, 15.400, 15.400, 14.500, 14.200, 14.200, 14.200, 14.200, 14.200, },
@ -202,7 +203,7 @@ static void cannedlambdaTable() {
copyTable(config->lambdaTable, hardCodedlambdaTable);
}
static void cannedtcuSolenoidTable() {
static void nb2cannedtcuSolenoidTable() {
static const float hardCodedtcuSolenoidTable[6][10] = {
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
@ -214,7 +215,7 @@ static void cannedtcuSolenoidTable() {
copyTable(config->tcuSolenoidTable, hardCodedtcuSolenoidTable);
}
static void cannedpostCrankingFactor() {
static void nb2cannedpostCrankingFactor() {
static const float hardCodedpostCrankingFactor[6][6] = {
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
@ -226,3 +227,4 @@ static void cannedpostCrankingFactor() {
copyTable(engineConfiguration->postCrankingFactor, hardCodedpostCrankingFactor);
}
```

View File

@ -147,9 +147,9 @@
engineConfiguration->hpfpPidI = 5.0E-4;
cannedscriptTable4();
cannedinjectionPhase();
cannedlambdaTable();
cannedtcuSolenoidTable();
cannedpostCrankingFactor();
pbcannedscriptTable4();
pbcannedinjectionPhase();
pbcannedlambdaTable();
pbcannedtcuSolenoidTable();
pbcannedpostCrankingFactor();
```

View File

@ -1,4 +1,5 @@
static void cannedscriptTable4() {
```
static void pbcannedscriptTable4() {
static const float hardCodedscriptTable4[8][10] = {
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
@ -12,7 +13,7 @@ static void cannedscriptTable4() {
copyTable(config->scriptTable4, hardCodedscriptTable4);
}
static void cannedinjectionPhase() {
static void pbcannedinjectionPhase() {
static const float hardCodedinjectionPhase[16][16] = {
{-220.000, -220.000, -220.000, -220.000, -220.000, -220.000, -220.000, -220.000, -250.000, -250.000, -250.000, -240.000, -240.000, -240.000, -240.000, -240.000, },
{-220.000, -220.000, -220.000, -220.000, -220.000, -220.000, -220.000, -220.000, -250.000, -250.000, -250.000, -240.000, -240.000, -240.000, -240.000, -240.000, },
@ -34,7 +35,7 @@ static void cannedinjectionPhase() {
copyTable(config->injectionPhase, hardCodedinjectionPhase);
}
static void cannedlambdaTable() {
static void pbcannedlambdaTable() {
static const float hardCodedlambdaTable[16][16] = {
{14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, },
{14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, },
@ -56,7 +57,7 @@ static void cannedlambdaTable() {
copyTable(config->lambdaTable, hardCodedlambdaTable);
}
static void cannedtcuSolenoidTable() {
static void pbcannedtcuSolenoidTable() {
static const float hardCodedtcuSolenoidTable[6][10] = {
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
@ -68,7 +69,7 @@ static void cannedtcuSolenoidTable() {
copyTable(config->tcuSolenoidTable, hardCodedtcuSolenoidTable);
}
static void cannedpostCrankingFactor() {
static void pbcannedpostCrankingFactor() {
static const float hardCodedpostCrankingFactor[6][6] = {
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
@ -80,3 +81,4 @@ static void cannedpostCrankingFactor() {
copyTable(engineConfiguration->postCrankingFactor, hardCodedpostCrankingFactor);
}
```

View File

@ -187,13 +187,13 @@
engineConfiguration->hpfpPidI = 5.0E-4;
cannedvvtTable1();
cannedvvtTable2();
cannedscriptTable4();
cannedignitionTable();
cannedveTable();
cannedinjectionPhase();
cannedlambdaTable();
cannedtcuSolenoidTable();
cannedpostCrankingFactor();
pbcannedvvtTable1();
pbcannedvvtTable2();
pbcannedscriptTable4();
pbcannedignitionTable();
pbcannedveTable();
pbcannedinjectionPhase();
pbcannedlambdaTable();
pbcannedtcuSolenoidTable();
pbcannedpostCrankingFactor();
```

View File

@ -1,4 +1,5 @@
static void cannedvvtTable1() {
```
static void pbcannedvvtTable1() {
static const float hardCodedvvtTable1[8][8] = {
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
@ -12,7 +13,7 @@ static void cannedvvtTable1() {
copyTable(config->vvtTable1, hardCodedvvtTable1);
}
static void cannedvvtTable2() {
static void pbcannedvvtTable2() {
static const float hardCodedvvtTable2[8][8] = {
{50.000, 50.000, 50.000, 50.000, 50.000, 40.000, 40.000, 40.000, },
{50.000, 50.000, 50.000, 50.000, 50.000, 40.000, 40.000, 40.000, },
@ -26,7 +27,7 @@ static void cannedvvtTable2() {
copyTable(config->vvtTable2, hardCodedvvtTable2);
}
static void cannedscriptTable4() {
static void pbcannedscriptTable4() {
static const float hardCodedscriptTable4[8][10] = {
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
@ -40,7 +41,7 @@ static void cannedscriptTable4() {
copyTable(config->scriptTable4, hardCodedscriptTable4);
}
static void cannedignitionTable() {
static void pbcannedignitionTable() {
static const float hardCodedignitionTable[16][16] = {
{12.200, 14.200, 18.100, 23.300, 29.900, 36.400, 39.200, 40.000, -10.000, -10.000, -10.000, -10.000, -10.000, -10.000, -10.000, -10.000, },
{12.100, 14.000, 17.800, 22.900, 29.300, 35.600, 39.000, 39.800, -10.000, -10.000, -10.000, -10.000, -10.000, -10.000, -10.000, -10.000, },
@ -62,7 +63,7 @@ static void cannedignitionTable() {
copyTable(config->ignitionTable, hardCodedignitionTable);
}
static void cannedveTable() {
static void pbcannedveTable() {
static const float hardCodedveTable[16][16] = {
{70.300, 70.300, 70.400, 70.500, 70.600, 70.600, 70.300, 29.900, 29.800, 29.900, 30.400, 31.400, 33.000, 35.100, 37.700, 40.900, },
{70.800, 71.500, 72.100, 72.900, 73.300, 72.800, 72.000, 31.300, 31.200, 31.500, 32.200, 33.500, 35.300, 37.700, 40.500, 43.900, },
@ -84,7 +85,7 @@ static void cannedveTable() {
copyTable(config->veTable, hardCodedveTable);
}
static void cannedinjectionPhase() {
static void pbcannedinjectionPhase() {
static const float hardCodedinjectionPhase[16][16] = {
{-220.000, -220.000, -220.000, -220.000, -220.000, -220.000, -220.000, -220.000, -250.000, -250.000, -250.000, -240.000, -240.000, -240.000, -240.000, -240.000, },
{-220.000, -220.000, -220.000, -220.000, -220.000, -220.000, -220.000, -220.000, -250.000, -250.000, -250.000, -240.000, -240.000, -240.000, -240.000, -240.000, },
@ -106,7 +107,7 @@ static void cannedinjectionPhase() {
copyTable(config->injectionPhase, hardCodedinjectionPhase);
}
static void cannedlambdaTable() {
static void pbcannedlambdaTable() {
static const float hardCodedlambdaTable[16][16] = {
{14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, },
{14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, },
@ -128,7 +129,7 @@ static void cannedlambdaTable() {
copyTable(config->lambdaTable, hardCodedlambdaTable);
}
static void cannedtcuSolenoidTable() {
static void pbcannedtcuSolenoidTable() {
static const float hardCodedtcuSolenoidTable[6][10] = {
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
@ -140,7 +141,7 @@ static void cannedtcuSolenoidTable() {
copyTable(config->tcuSolenoidTable, hardCodedtcuSolenoidTable);
}
static void cannedpostCrankingFactor() {
static void pbcannedpostCrankingFactor() {
static const float hardCodedpostCrankingFactor[6][6] = {
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
@ -152,3 +153,4 @@ static void cannedpostCrankingFactor() {
copyTable(engineConfiguration->postCrankingFactor, hardCodedpostCrankingFactor);
}
```

View File

@ -1,3 +1,4 @@
```
static void cannedtpsTpsAccelTable() {
static const float hardCodedtpsTpsAccelTable[8][8] = {
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
@ -216,3 +217,4 @@ static void cannedpostCrankingFactor() {
copyTable(engineConfiguration->postCrankingFactor, hardCodedpostCrankingFactor);
}
```

View File

@ -1,3 +1,4 @@
```
static void cannedtpsTpsAccelTable() {
static const float hardCodedtpsTpsAccelTable[8][8] = {
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
@ -216,3 +217,4 @@ static void cannedpostCrankingFactor() {
copyTable(engineConfiguration->postCrankingFactor, hardCodedpostCrankingFactor);
}
```