Auto-generated default tune

This commit is contained in:
GitHub gen-default-tune Action 2024-03-09 23:36:10 +00:00
parent 09a24755ee
commit 57bbe59bf8
5 changed files with 371 additions and 7 deletions

View File

@ -0,0 +1,64 @@
# Honda-OBD1-comparing-against-current-Honda-OBD1-default
// canned tune https://rusefi.com/online/view.php?msq=1621
```
// default 1.645
engineConfiguration->displacement = 1.493;
// default "12 tooth crank"
engineConfiguration->trigger.type = TT_TOOTHED_WHEEL;
// default 0.0
engineConfiguration->trigger.customTotalToothCount = 24;
// default "On crankshaft"
engineConfiguration->skippedWheelOnCam = On camshaft;
// default 450.0
engineConfiguration->vvtOffsets[0] = 0;
// default 248.0
engineConfiguration->injector.flow = 240;
// default 0.0
engineConfiguration->cylinderBankSelect[0] = 1;
// default 0.0
engineConfiguration->cylinderBankSelect[1] = 1;
// default 0.0
engineConfiguration->cylinderBankSelect[2] = 1;
// default 0.0
engineConfiguration->cylinderBankSelect[3] = 1;
// default 0.0
engineConfiguration->cylinderBankSelect[4] = 1;
// default 0.0
engineConfiguration->cylinderBankSelect[5] = 1;
// default 0.0
engineConfiguration->cylinderBankSelect[6] = 1;
// default 0.0
engineConfiguration->cylinderBankSelect[7] = 1;
// default 0.0
engineConfiguration->cylinderBankSelect[8] = 1;
// default 0.0
engineConfiguration->cylinderBankSelect[9] = 1;
// default 0.0
engineConfiguration->cylinderBankSelect[10] = 1;
// default 0.0
engineConfiguration->cylinderBankSelect[11] = 1;
// default 0.0
engineConfiguration->mapLowValueVoltage = 2.91;
// default "false"
engineConfiguration->enableAemXSeries = true;
// default "false"
engineConfiguration->enableSoftwareKnock = true;
// default 500.0
engineConfiguration->vvtControlMinRpm = 550;
// default "false"
engineConfiguration->enableVerboseCanTx = true;
// default 60.0
engineConfiguration->gppwm[0].onAboveDuty = 80;
// default 50.0
engineConfiguration->gppwm[0].offBelowDuty = 10;
cannedboostTableOpenLoop();
cannedscriptTable4();
cannedignitionTable();
cannedveTable();
cannedlambdaTable();
cannedtcuSolenoidTable();
```

View File

@ -0,0 +1,108 @@
```
static void cannedboostTableOpenLoop() {
static const float hardCodedboostTableOpenLoop[8][8] = {
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
{14.000, 14.000, 14.000, 14.000, 14.000, 14.000, 14.000, 14.000, },
{29.000, 29.000, 29.000, 29.000, 29.000, 29.000, 29.000, 29.000, },
{43.000, 43.000, 43.000, 43.000, 43.000, 43.000, 43.000, 43.000, },
{57.000, 57.000, 57.000, 57.000, 57.000, 57.000, 57.000, 57.000, },
{71.000, 71.000, 71.000, 71.000, 71.000, 71.000, 71.000, 71.000, },
{86.000, 86.000, 86.000, 86.000, 86.000, 86.000, 86.000, 86.000, },
{100.000, 100.000, 100.000, 100.000, 100.000, 100.000, 100.000, 100.000, },
};
copyTable(config->boostTableOpenLoop, hardCodedboostTableOpenLoop);
}
static void cannedscriptTable4() {
static const float hardCodedscriptTable4[8][10] = {
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 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(config->scriptTable4, hardCodedscriptTable4);
}
static void cannedignitionTable() {
static const float hardCodedignitionTable[16][16] = {
{15.400, 15.800, 16.600, 17.600, 24.900, 28.900, 32.800, 36.700, 37.700, 39.000, 39.000, 39.000, 39.000, 39.000, 39.000, 39.000, },
{15.300, 15.600, 16.400, 17.300, 24.600, 28.500, 32.300, 36.200, 37.100, 38.400, 38.400, 38.400, 38.400, 38.400, 38.400, 38.400, },
{17.000, 18.900, 16.700, 20.500, 24.300, 28.100, 31.800, 35.600, 36.500, 37.800, 37.800, 37.800, 37.800, 37.800, 37.800, 37.800, },
{16.800, 18.700, 16.400, 20.200, 23.900, 27.700, 31.400, 35.100, 36.000, 37.200, 37.200, 37.200, 37.200, 37.200, 37.200, 37.200, },
{16.600, 18.500, 16.100, 19.800, 23.400, 27.100, 30.700, 34.300, 35.100, 36.300, 36.300, 36.300, 36.300, 36.300, 36.300, 36.300, },
{16.500, 18.300, 15.900, 19.500, 23.100, 26.700, 30.200, 33.800, 34.500, 35.700, 35.700, 35.700, 35.700, 35.700, 35.700, 35.700, },
{16.400, 18.200, 15.700, 19.200, 22.700, 26.300, 29.800, 33.300, 33.900, 35.100, 35.100, 35.100, 35.100, 35.100, 35.100, 35.100, },
{11.100, 12.800, 10.300, 13.700, 22.400, 25.900, 29.300, 32.800, 33.300, 34.500, 34.500, 34.500, 34.500, 34.500, 34.500, 34.500, },
{9.000, 10.700, 8.100, 11.500, 22.000, 25.500, 28.900, 32.300, 34.500, 35.600, 35.600, 35.600, 33.200, 33.200, 33.200, 33.200, },
{8.500, 10.200, 7.500, 10.800, 21.500, 24.900, 28.200, 31.500, 33.600, 34.700, 34.700, 34.700, 32.300, 32.300, 32.300, 32.300, },
{5.800, 7.400, 4.700, 7.900, 21.200, 24.500, 27.700, 31.000, 33.000, 34.100, 34.100, 34.100, 31.700, 31.700, 31.700, 31.700, },
{-2.300, -0.700, -3.500, -0.300, 20.900, 24.100, 27.200, 30.400, 32.400, 33.500, 33.500, 33.500, 31.100, 31.100, 31.100, 31.100, },
{-2.500, -0.900, -3.800, -0.600, 20.500, 23.700, 26.800, 29.900, 31.900, 32.900, 32.900, 32.900, 30.500, 30.500, 30.500, 30.500, },
{-2.500, -0.900, -3.800, -0.700, 20.500, 23.600, 26.700, 29.800, 31.800, 32.800, 32.800, 32.800, 30.400, 30.400, 30.400, 30.400, },
{-2.500, -0.900, -3.800, -0.700, 20.500, 23.600, 26.700, 29.800, 31.800, 32.800, 32.800, 32.800, 30.400, 30.400, 30.400, 30.400, },
{-2.500, -0.900, -3.800, -0.700, 20.500, 23.600, 26.700, 29.800, 31.800, 32.800, 32.800, 32.800, 30.400, 30.400, 30.400, 30.400, },
};
copyTable(config->ignitionTable, hardCodedignitionTable);
}
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, },
{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, },
{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, },
{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, },
{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, },
{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, },
{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, },
{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, },
{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, },
{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, },
{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, },
{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, },
{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, },
{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, },
{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, },
{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, },
};
copyTable(config->veTable, hardCodedveTable);
}
static void cannedlambdaTable() {
static const float hardCodedlambdaTable[16][16] = {
{14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, },
{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, },
{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, },
{14.000, 14.000, 14.000, 14.000, 14.000, 14.000, 14.000, 14.000, 14.000, 14.000, 14.000, 14.000, 14.000, 14.000, 14.000, 14.000, },
{13.500, 13.500, 13.500, 13.500, 13.500, 13.500, 13.500, 13.500, 13.500, 13.500, 13.500, 13.500, 13.500, 13.500, 13.500, 13.500, },
{13.200, 13.200, 13.200, 13.200, 13.200, 13.200, 13.200, 13.200, 13.200, 13.200, 13.200, 13.200, 13.200, 13.200, 13.200, 13.200, },
{13.100, 13.100, 13.100, 13.100, 13.100, 13.100, 13.100, 13.100, 13.100, 13.100, 13.100, 13.100, 13.100, 13.100, 13.100, 13.100, },
{12.900, 12.900, 12.900, 12.900, 12.900, 12.900, 12.900, 12.900, 12.900, 12.900, 12.900, 12.900, 12.900, 12.900, 12.900, 12.900, },
{12.600, 12.600, 12.600, 12.600, 12.600, 12.600, 12.600, 12.600, 12.600, 12.600, 12.600, 12.600, 12.600, 12.600, 12.600, 12.600, },
{12.300, 12.300, 12.300, 12.300, 12.300, 12.300, 12.300, 12.300, 12.300, 12.300, 12.300, 12.300, 12.300, 12.300, 12.300, 12.300, },
{11.800, 11.800, 11.800, 11.800, 11.800, 11.800, 11.800, 11.800, 11.800, 11.800, 11.800, 11.800, 11.800, 11.800, 11.800, 11.800, },
{11.300, 11.300, 11.300, 11.300, 11.300, 11.300, 11.300, 11.300, 11.300, 11.300, 11.300, 11.300, 11.300, 11.300, 11.300, 11.300, },
{11.000, 11.000, 11.000, 11.000, 11.000, 11.000, 11.000, 11.000, 11.000, 11.000, 11.000, 11.000, 11.000, 11.000, 11.000, 11.000, },
{10.700, 10.700, 10.700, 10.700, 10.700, 10.700, 10.700, 10.700, 10.700, 10.700, 10.700, 10.700, 10.700, 10.700, 10.700, 10.700, },
};
copyTable(config->lambdaTable, hardCodedlambdaTable);
}
static void cannedtcuSolenoidTable() {
static const float hardCodedtcuSolenoidTable[6][10] = {
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 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(config->tcuSolenoidTable, hardCodedtcuSolenoidTable);
}
```

View File

@ -0,0 +1,84 @@
# Honda-OBD1-comparing-against-global-defaults
// canned tune https://rusefi.com/online/view.php?msq=1621
```
// default 2.0
engineConfiguration->displacement = 1.493;
// default "60/2"
engineConfiguration->trigger.type = TT_TOOTHED_WHEEL;
// default 0.0
engineConfiguration->trigger.customTotalToothCount = 24;
// default "On crankshaft"
engineConfiguration->skippedWheelOnCam = On camshaft;
// default 0.0
engineConfiguration->globalTriggerAngleOffset = 80;
// default 450.0
engineConfiguration->vvtOffsets[0] = 0;
// default 200.0
engineConfiguration->injector.flow = 240;
// default "None"
engineConfiguration->injectorCompensationMode = ICM_FixedRailPressure;
// default 300.0
engineConfiguration->fuelReferencePressure = 294;
// default 0.0
engineConfiguration->cylinderBankSelect[0] = 1;
// default 0.0
engineConfiguration->cylinderBankSelect[1] = 1;
// default 0.0
engineConfiguration->cylinderBankSelect[2] = 1;
// default 0.0
engineConfiguration->cylinderBankSelect[3] = 1;
// default 0.0
engineConfiguration->cylinderBankSelect[4] = 1;
// default 0.0
engineConfiguration->cylinderBankSelect[5] = 1;
// default 0.0
engineConfiguration->cylinderBankSelect[6] = 1;
// default 0.0
engineConfiguration->cylinderBankSelect[7] = 1;
// default 0.0
engineConfiguration->cylinderBankSelect[8] = 1;
// default 0.0
engineConfiguration->cylinderBankSelect[9] = 1;
// default 0.0
engineConfiguration->cylinderBankSelect[10] = 1;
// default 0.0
engineConfiguration->cylinderBankSelect[11] = 1;
// default 0.0
engineConfiguration->tpsMin = 124;
// default 1000.0
engineConfiguration->tpsMax = 919;
// default 0.0
engineConfiguration->mapLowValueVoltage = 2.91;
// default 410.0
engineConfiguration->mapErrorDetectionTooHigh = 250;
// default "false"
engineConfiguration->enableAemXSeries = true;
// default 2.0
engineConfiguration->fan1ExtraIdle = 10;
// default "false"
engineConfiguration->enableSoftwareKnock = true;
// default "false"
engineConfiguration->enableVerboseCanTx = true;
// default "Throttle 1"
engineConfiguration->etbFunctions[0] = DC_None;
// default "Throttle 2"
engineConfiguration->etbFunctions[1] = DC_None;
// default 250.0
engineConfiguration->gppwm[0].pwmFrequency = 0;
// default 60.0
engineConfiguration->gppwm[0].onAboveDuty = 80;
// default 50.0
engineConfiguration->gppwm[0].offBelowDuty = 10;
// default "Zero"
engineConfiguration->gppwm[0].loadAxis = GPPWM_Map;
cannedboostTableOpenLoop();
cannedscriptTable4();
cannedignitionTable();
cannedveTable();
cannedlambdaTable();
cannedtcuSolenoidTable();
```

View File

@ -0,0 +1,108 @@
```
static void cannedboostTableOpenLoop() {
static const float hardCodedboostTableOpenLoop[8][8] = {
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
{14.000, 14.000, 14.000, 14.000, 14.000, 14.000, 14.000, 14.000, },
{29.000, 29.000, 29.000, 29.000, 29.000, 29.000, 29.000, 29.000, },
{43.000, 43.000, 43.000, 43.000, 43.000, 43.000, 43.000, 43.000, },
{57.000, 57.000, 57.000, 57.000, 57.000, 57.000, 57.000, 57.000, },
{71.000, 71.000, 71.000, 71.000, 71.000, 71.000, 71.000, 71.000, },
{86.000, 86.000, 86.000, 86.000, 86.000, 86.000, 86.000, 86.000, },
{100.000, 100.000, 100.000, 100.000, 100.000, 100.000, 100.000, 100.000, },
};
copyTable(config->boostTableOpenLoop, hardCodedboostTableOpenLoop);
}
static void cannedscriptTable4() {
static const float hardCodedscriptTable4[8][10] = {
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 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(config->scriptTable4, hardCodedscriptTable4);
}
static void cannedignitionTable() {
static const float hardCodedignitionTable[16][16] = {
{15.400, 15.800, 16.600, 17.600, 24.900, 28.900, 32.800, 36.700, 37.700, 39.000, 39.000, 39.000, 39.000, 39.000, 39.000, 39.000, },
{15.300, 15.600, 16.400, 17.300, 24.600, 28.500, 32.300, 36.200, 37.100, 38.400, 38.400, 38.400, 38.400, 38.400, 38.400, 38.400, },
{17.000, 18.900, 16.700, 20.500, 24.300, 28.100, 31.800, 35.600, 36.500, 37.800, 37.800, 37.800, 37.800, 37.800, 37.800, 37.800, },
{16.800, 18.700, 16.400, 20.200, 23.900, 27.700, 31.400, 35.100, 36.000, 37.200, 37.200, 37.200, 37.200, 37.200, 37.200, 37.200, },
{16.600, 18.500, 16.100, 19.800, 23.400, 27.100, 30.700, 34.300, 35.100, 36.300, 36.300, 36.300, 36.300, 36.300, 36.300, 36.300, },
{16.500, 18.300, 15.900, 19.500, 23.100, 26.700, 30.200, 33.800, 34.500, 35.700, 35.700, 35.700, 35.700, 35.700, 35.700, 35.700, },
{16.400, 18.200, 15.700, 19.200, 22.700, 26.300, 29.800, 33.300, 33.900, 35.100, 35.100, 35.100, 35.100, 35.100, 35.100, 35.100, },
{11.100, 12.800, 10.300, 13.700, 22.400, 25.900, 29.300, 32.800, 33.300, 34.500, 34.500, 34.500, 34.500, 34.500, 34.500, 34.500, },
{9.000, 10.700, 8.100, 11.500, 22.000, 25.500, 28.900, 32.300, 34.500, 35.600, 35.600, 35.600, 33.200, 33.200, 33.200, 33.200, },
{8.500, 10.200, 7.500, 10.800, 21.500, 24.900, 28.200, 31.500, 33.600, 34.700, 34.700, 34.700, 32.300, 32.300, 32.300, 32.300, },
{5.800, 7.400, 4.700, 7.900, 21.200, 24.500, 27.700, 31.000, 33.000, 34.100, 34.100, 34.100, 31.700, 31.700, 31.700, 31.700, },
{-2.300, -0.700, -3.500, -0.300, 20.900, 24.100, 27.200, 30.400, 32.400, 33.500, 33.500, 33.500, 31.100, 31.100, 31.100, 31.100, },
{-2.500, -0.900, -3.800, -0.600, 20.500, 23.700, 26.800, 29.900, 31.900, 32.900, 32.900, 32.900, 30.500, 30.500, 30.500, 30.500, },
{-2.500, -0.900, -3.800, -0.700, 20.500, 23.600, 26.700, 29.800, 31.800, 32.800, 32.800, 32.800, 30.400, 30.400, 30.400, 30.400, },
{-2.500, -0.900, -3.800, -0.700, 20.500, 23.600, 26.700, 29.800, 31.800, 32.800, 32.800, 32.800, 30.400, 30.400, 30.400, 30.400, },
{-2.500, -0.900, -3.800, -0.700, 20.500, 23.600, 26.700, 29.800, 31.800, 32.800, 32.800, 32.800, 30.400, 30.400, 30.400, 30.400, },
};
copyTable(config->ignitionTable, hardCodedignitionTable);
}
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, },
{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, },
{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, },
{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, },
{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, },
{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, },
{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, },
{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, },
{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, },
{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, },
{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, },
{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, },
{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, },
{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, },
{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, },
{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, },
};
copyTable(config->veTable, hardCodedveTable);
}
static void cannedlambdaTable() {
static const float hardCodedlambdaTable[16][16] = {
{14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, 14.700, },
{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, },
{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, },
{14.000, 14.000, 14.000, 14.000, 14.000, 14.000, 14.000, 14.000, 14.000, 14.000, 14.000, 14.000, 14.000, 14.000, 14.000, 14.000, },
{13.500, 13.500, 13.500, 13.500, 13.500, 13.500, 13.500, 13.500, 13.500, 13.500, 13.500, 13.500, 13.500, 13.500, 13.500, 13.500, },
{13.200, 13.200, 13.200, 13.200, 13.200, 13.200, 13.200, 13.200, 13.200, 13.200, 13.200, 13.200, 13.200, 13.200, 13.200, 13.200, },
{13.100, 13.100, 13.100, 13.100, 13.100, 13.100, 13.100, 13.100, 13.100, 13.100, 13.100, 13.100, 13.100, 13.100, 13.100, 13.100, },
{12.900, 12.900, 12.900, 12.900, 12.900, 12.900, 12.900, 12.900, 12.900, 12.900, 12.900, 12.900, 12.900, 12.900, 12.900, 12.900, },
{12.600, 12.600, 12.600, 12.600, 12.600, 12.600, 12.600, 12.600, 12.600, 12.600, 12.600, 12.600, 12.600, 12.600, 12.600, 12.600, },
{12.300, 12.300, 12.300, 12.300, 12.300, 12.300, 12.300, 12.300, 12.300, 12.300, 12.300, 12.300, 12.300, 12.300, 12.300, 12.300, },
{11.800, 11.800, 11.800, 11.800, 11.800, 11.800, 11.800, 11.800, 11.800, 11.800, 11.800, 11.800, 11.800, 11.800, 11.800, 11.800, },
{11.300, 11.300, 11.300, 11.300, 11.300, 11.300, 11.300, 11.300, 11.300, 11.300, 11.300, 11.300, 11.300, 11.300, 11.300, 11.300, },
{11.000, 11.000, 11.000, 11.000, 11.000, 11.000, 11.000, 11.000, 11.000, 11.000, 11.000, 11.000, 11.000, 11.000, 11.000, 11.000, },
{10.700, 10.700, 10.700, 10.700, 10.700, 10.700, 10.700, 10.700, 10.700, 10.700, 10.700, 10.700, 10.700, 10.700, 10.700, 10.700, },
};
copyTable(config->lambdaTable, hardCodedlambdaTable);
}
static void cannedtcuSolenoidTable() {
static const float hardCodedtcuSolenoidTable[6][10] = {
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 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(config->tcuSolenoidTable, hardCodedtcuSolenoidTable);
}
```

View File

@ -106,8 +106,8 @@
<constant name="overrideVvtTriggerGaps">"false"</constant>
<constant name="useSpiImu">"false"</constant>
<constant name="enableStagedInjection">"false"</constant>
<constant digits="0" name="tpsMin" units="ADC">0.0</constant>
<constant digits="0" name="tpsMax" units="ADC">1000.0</constant>
<constant digits="0" name="tpsMin" units="ADC">124.0</constant>
<constant digits="0" name="tpsMax" units="ADC">919.0</constant>
<constant digits="0" name="tpsErrorDetectionTooLow" units="%">-10.0</constant>
<constant digits="0" name="tpsErrorDetectionTooHigh" units="%">110.0</constant>
<constant digits="1" name="cranking_baseFuel" units="mg">27.0</constant>
@ -767,7 +767,7 @@
<constant name="mc33816_flag0">"NONE"</constant>
<constant digits="0" name="tachPulsePerRev" units="Pulse">1.0</constant>
<constant digits="2" name="mapErrorDetectionTooLow" units="kPa">5.0</constant>
<constant digits="2" name="mapErrorDetectionTooHigh" units="kPa">410.0</constant>
<constant digits="2" name="mapErrorDetectionTooHigh" units="kPa">250.0</constant>
<constant digits="2" name="multisparkSparkDuration" units="ms">1.0</constant>
<constant digits="2" name="multisparkDwell" units="ms">2.0</constant>
<constant digits="4" name="idleRpmPid_pFactor" units="">0.05</constant>
@ -817,7 +817,7 @@
<constant digits="0" name="totalGearsCount" units="">0.0</constant>
<constant name="injectionTimingMode">"End of injection"</constant>
<constant name="debugMode">"MAP"</constant>
<constant digits="0" name="fan1ExtraIdle" units="%">2.0</constant>
<constant digits="0" name="fan1ExtraIdle" units="%">10.0</constant>
<constant digits="0" name="uartConsoleSerialSpeed" units="BPs">115200.0</constant>
<constant digits="1" name="tpsDecelEnleanmentThreshold" units="roc">0.0</constant>
<constant digits="2" name="tpsDecelEnleanmentMultiplier" units="coeff">0.0</constant>
@ -935,9 +935,9 @@
<constant name="trailingCoilPins12">"NONE"</constant>
<constant name="tle8888mode">"Auto"</constant>
<constant name="accelerometerCsPinMode">"default"</constant>
<constant name="injectorCompensationMode">"None"</constant>
<constant name="injectorCompensationMode">"Fixed rail pressure"</constant>
<constant name="fan2PinMode">"default"</constant>
<constant digits="0" name="fuelReferencePressure" units="kPa">300.0</constant>
<constant digits="0" name="fuelReferencePressure" units="kPa">294.0</constant>
<constant cols="6" digits="2" name="postCrankingFactor" rows="6">
1.2 1.2 1.2 1.2 1.2 1.2
1.2 1.2 1.2 1.2 1.2 1.2
@ -1175,7 +1175,7 @@
<constant digits="0" name="gppwm1_pwmFrequency" units="hz">0.0</constant>
<constant digits="0" name="gppwm1_onAboveDuty" units="%">60.0</constant>
<constant digits="0" name="gppwm1_offBelowDuty" units="%">50.0</constant>
<constant name="gppwm1_loadAxis">"Zero"</constant>
<constant name="gppwm1_loadAxis">"MAP"</constant>
<constant name="gppwm1_rpmAxis">"RPM"</constant>
<constant cols="1" digits="1" name="gppwm1_loadBins" rows="8">
0.0