Auto-generated Default Tune
This commit is contained in:
parent
7501113dfd
commit
53fa299cd2
|
@ -12,14 +12,6 @@
|
|||
// default 354.19
|
||||
engineConfiguration->injector.flow = 440;
|
||||
// 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;
|
||||
|
@ -155,5 +147,6 @@
|
|||
coupleBK1cannedthrottle2TrimTable();
|
||||
coupleBK1cannedmaxKnockRetardTable();
|
||||
coupleBK1cannedlambdaTable();
|
||||
coupleBK1cannedhpfpCompensation();
|
||||
coupleBK1cannedpostCrankingFactor();
|
||||
```
|
||||
|
|
|
@ -275,6 +275,22 @@ static void coupleBK1cannedlambdaTable() {
|
|||
copyTable(config->lambdaTable, hardCodedlambdaTable);
|
||||
}
|
||||
|
||||
static void coupleBK1cannedhpfpCompensation() {
|
||||
static const float hardCodedhpfpCompensation[10][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, },
|
||||
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 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->hpfpCompensation, hardCodedhpfpCompensation);
|
||||
}
|
||||
|
||||
static void coupleBK1cannedpostCrankingFactor() {
|
||||
static const float hardCodedpostCrankingFactor[6][6] = {
|
||||
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
|
||||
|
|
|
@ -20,14 +20,6 @@
|
|||
// default 300.0
|
||||
engineConfiguration->fuelReferencePressure = 379.2116;
|
||||
// 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;
|
||||
|
@ -178,5 +170,6 @@
|
|||
coupleBK1cannedthrottle2TrimTable();
|
||||
coupleBK1cannedmaxKnockRetardTable();
|
||||
coupleBK1cannedlambdaTable();
|
||||
coupleBK1cannedhpfpCompensation();
|
||||
coupleBK1cannedpostCrankingFactor();
|
||||
```
|
||||
|
|
|
@ -261,6 +261,22 @@ static void coupleBK1cannedlambdaTable() {
|
|||
copyTable(config->lambdaTable, hardCodedlambdaTable);
|
||||
}
|
||||
|
||||
static void coupleBK1cannedhpfpCompensation() {
|
||||
static const float hardCodedhpfpCompensation[10][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, },
|
||||
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 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->hpfpCompensation, hardCodedhpfpCompensation);
|
||||
}
|
||||
|
||||
static void coupleBK1cannedpostCrankingFactor() {
|
||||
static const float hardCodedpostCrankingFactor[6][6] = {
|
||||
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
|
||||
|
|
|
@ -3,14 +3,6 @@
|
|||
// canned tune https://rusefi.com/online/view.php?msq=1507
|
||||
|
||||
```
|
||||
// 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
|
||||
|
@ -80,5 +72,6 @@
|
|||
coupleBK2cannedthrottle2TrimTable();
|
||||
coupleBK2cannedmaxKnockRetardTable();
|
||||
coupleBK2cannedlambdaTable();
|
||||
coupleBK2cannedhpfpCompensation();
|
||||
coupleBK2cannedpostCrankingFactor();
|
||||
```
|
||||
|
|
|
@ -289,6 +289,22 @@ static void coupleBK2cannedlambdaTable() {
|
|||
copyTable(config->lambdaTable, hardCodedlambdaTable);
|
||||
}
|
||||
|
||||
static void coupleBK2cannedhpfpCompensation() {
|
||||
static const float hardCodedhpfpCompensation[10][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, },
|
||||
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 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->hpfpCompensation, hardCodedhpfpCompensation);
|
||||
}
|
||||
|
||||
static void coupleBK2cannedpostCrankingFactor() {
|
||||
static const float hardCodedpostCrankingFactor[6][6] = {
|
||||
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
|
||||
|
|
|
@ -22,14 +22,6 @@
|
|||
// default 300.0
|
||||
engineConfiguration->fuelReferencePressure = 586.0544;
|
||||
// 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;
|
||||
|
@ -177,5 +169,6 @@
|
|||
coupleBK2cannedthrottle2TrimTable();
|
||||
coupleBK2cannedmaxKnockRetardTable();
|
||||
coupleBK2cannedlambdaTable();
|
||||
coupleBK2cannedhpfpCompensation();
|
||||
coupleBK2cannedpostCrankingFactor();
|
||||
```
|
||||
|
|
|
@ -275,6 +275,22 @@ static void coupleBK2cannedlambdaTable() {
|
|||
copyTable(config->lambdaTable, hardCodedlambdaTable);
|
||||
}
|
||||
|
||||
static void coupleBK2cannedhpfpCompensation() {
|
||||
static const float hardCodedhpfpCompensation[10][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, },
|
||||
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 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->hpfpCompensation, hardCodedhpfpCompensation);
|
||||
}
|
||||
|
||||
static void coupleBK2cannedpostCrankingFactor() {
|
||||
static const float hardCodedpostCrankingFactor[6][6] = {
|
||||
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
|
||||
|
|
|
@ -16,14 +16,6 @@
|
|||
// 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;
|
||||
|
@ -95,4 +87,5 @@
|
|||
cannedmaxKnockRetardTable();
|
||||
cannedlambdaTable();
|
||||
cannedinjectorStagingTable();
|
||||
cannedhpfpCompensation();
|
||||
```
|
||||
|
|
|
@ -273,4 +273,20 @@ static void cannedinjectorStagingTable() {
|
|||
copyTable(config->injectorStagingTable, hardCodedinjectorStagingTable);
|
||||
}
|
||||
|
||||
static void cannedhpfpCompensation() {
|
||||
static const float hardCodedhpfpCompensation[10][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, },
|
||||
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 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->hpfpCompensation, hardCodedhpfpCompensation);
|
||||
}
|
||||
|
||||
```
|
||||
|
|
|
@ -22,14 +22,6 @@
|
|||
// 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;
|
||||
|
@ -115,4 +107,5 @@
|
|||
cannedmaxKnockRetardTable();
|
||||
cannedlambdaTable();
|
||||
cannedinjectorStagingTable();
|
||||
cannedhpfpCompensation();
|
||||
```
|
||||
|
|
|
@ -273,4 +273,20 @@ static void cannedinjectorStagingTable() {
|
|||
copyTable(config->injectorStagingTable, hardCodedinjectorStagingTable);
|
||||
}
|
||||
|
||||
static void cannedhpfpCompensation() {
|
||||
static const float hardCodedhpfpCompensation[10][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, },
|
||||
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 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->hpfpCompensation, hardCodedhpfpCompensation);
|
||||
}
|
||||
|
||||
```
|
||||
|
|
|
@ -34,14 +34,6 @@
|
|||
// default 300.0
|
||||
engineConfiguration->fuelReferencePressure = 100;
|
||||
// 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;
|
||||
|
@ -217,5 +209,6 @@
|
|||
cannedthrottle2TrimTable();
|
||||
cannedmaxKnockRetardTable();
|
||||
cannedlambdaTable();
|
||||
cannedhpfpCompensation();
|
||||
cannedpostCrankingFactor();
|
||||
```
|
||||
|
|
|
@ -239,6 +239,22 @@ static void cannedlambdaTable() {
|
|||
copyTable(config->lambdaTable, hardCodedlambdaTable);
|
||||
}
|
||||
|
||||
static void cannedhpfpCompensation() {
|
||||
static const float hardCodedhpfpCompensation[10][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, },
|
||||
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 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->hpfpCompensation, hardCodedhpfpCompensation);
|
||||
}
|
||||
|
||||
static void cannedpostCrankingFactor() {
|
||||
static const float hardCodedpostCrankingFactor[6][6] = {
|
||||
{1.200, 1.000, 1.000, 1.000, 1.000, 1.000, },
|
||||
|
|
|
@ -40,14 +40,6 @@
|
|||
// default 300.0
|
||||
engineConfiguration->fuelReferencePressure = 100;
|
||||
// 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;
|
||||
|
@ -223,5 +215,6 @@
|
|||
cannedthrottle2TrimTable();
|
||||
cannedmaxKnockRetardTable();
|
||||
cannedlambdaTable();
|
||||
cannedhpfpCompensation();
|
||||
cannedpostCrankingFactor();
|
||||
```
|
||||
|
|
|
@ -239,6 +239,22 @@ static void cannedlambdaTable() {
|
|||
copyTable(config->lambdaTable, hardCodedlambdaTable);
|
||||
}
|
||||
|
||||
static void cannedhpfpCompensation() {
|
||||
static const float hardCodedhpfpCompensation[10][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, },
|
||||
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 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->hpfpCompensation, hardCodedhpfpCompensation);
|
||||
}
|
||||
|
||||
static void cannedpostCrankingFactor() {
|
||||
static const float hardCodedpostCrankingFactor[6][6] = {
|
||||
{1.200, 1.000, 1.000, 1.000, 1.000, 1.000, },
|
||||
|
|
|
@ -16,14 +16,6 @@
|
|||
// default 98.0
|
||||
engineConfiguration->vvtOffsets[0] = 76;
|
||||
// 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;
|
||||
|
@ -287,5 +279,6 @@
|
|||
nb2cannedidleVeTable();
|
||||
nb2cannedinjectionPhase();
|
||||
nb2cannedlambdaTable();
|
||||
nb2cannedhpfpCompensation();
|
||||
nb2cannedpostCrankingFactor();
|
||||
```
|
||||
|
|
|
@ -195,6 +195,22 @@ static void nb2cannedlambdaTable() {
|
|||
copyTable(config->lambdaTable, hardCodedlambdaTable);
|
||||
}
|
||||
|
||||
static void nb2cannedhpfpCompensation() {
|
||||
static const float hardCodedhpfpCompensation[10][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, },
|
||||
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 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->hpfpCompensation, hardCodedhpfpCompensation);
|
||||
}
|
||||
|
||||
static void nb2cannedpostCrankingFactor() {
|
||||
static const float hardCodedpostCrankingFactor[6][6] = {
|
||||
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
|
||||
|
|
|
@ -26,14 +26,6 @@
|
|||
// default 300.0
|
||||
engineConfiguration->fuelReferencePressure = 400;
|
||||
// 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;
|
||||
|
@ -345,5 +337,6 @@
|
|||
nb2cannedidleVeTable();
|
||||
nb2cannedinjectionPhase();
|
||||
nb2cannedlambdaTable();
|
||||
nb2cannedhpfpCompensation();
|
||||
nb2cannedpostCrankingFactor();
|
||||
```
|
||||
|
|
|
@ -195,6 +195,22 @@ static void nb2cannedlambdaTable() {
|
|||
copyTable(config->lambdaTable, hardCodedlambdaTable);
|
||||
}
|
||||
|
||||
static void nb2cannedhpfpCompensation() {
|
||||
static const float hardCodedhpfpCompensation[10][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, },
|
||||
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 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->hpfpCompensation, hardCodedhpfpCompensation);
|
||||
}
|
||||
|
||||
static void nb2cannedpostCrankingFactor() {
|
||||
static const float hardCodedpostCrankingFactor[6][6] = {
|
||||
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, },
|
||||
|
|
|
@ -10,14 +10,6 @@
|
|||
// default 1214.0
|
||||
engineConfiguration->injector.flow = 1000;
|
||||
// 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;
|
||||
|
@ -152,4 +144,5 @@
|
|||
pbcannedmaxKnockRetardTable();
|
||||
pbcannedlambdaTable();
|
||||
pbcannedinjectorStagingTable();
|
||||
pbcannedhpfpCompensation();
|
||||
```
|
||||
|
|
|
@ -259,4 +259,20 @@ static void pbcannedinjectorStagingTable() {
|
|||
copyTable(config->injectorStagingTable, hardCodedinjectorStagingTable);
|
||||
}
|
||||
|
||||
static void pbcannedhpfpCompensation() {
|
||||
static const float hardCodedhpfpCompensation[10][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, },
|
||||
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 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->hpfpCompensation, hardCodedhpfpCompensation);
|
||||
}
|
||||
|
||||
```
|
||||
|
|
|
@ -28,14 +28,6 @@
|
|||
// default 300.0
|
||||
engineConfiguration->fuelReferencePressure = 10000;
|
||||
// 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;
|
||||
|
@ -218,4 +210,5 @@
|
|||
pbcannedmaxKnockRetardTable();
|
||||
pbcannedlambdaTable();
|
||||
pbcannedinjectorStagingTable();
|
||||
pbcannedhpfpCompensation();
|
||||
```
|
||||
|
|
|
@ -259,4 +259,20 @@ static void pbcannedinjectorStagingTable() {
|
|||
copyTable(config->injectorStagingTable, hardCodedinjectorStagingTable);
|
||||
}
|
||||
|
||||
static void pbcannedhpfpCompensation() {
|
||||
static const float hardCodedhpfpCompensation[10][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, },
|
||||
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 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->hpfpCompensation, hardCodedhpfpCompensation);
|
||||
}
|
||||
|
||||
```
|
||||
|
|
|
@ -28,14 +28,6 @@
|
|||
// default 300.0
|
||||
engineConfiguration->fuelReferencePressure = 0;
|
||||
// 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;
|
||||
|
@ -362,5 +354,6 @@
|
|||
cannedlambdaTable();
|
||||
cannediacPidMultTable();
|
||||
cannedinjectorStagingTable();
|
||||
cannedhpfpCompensation();
|
||||
cannedpostCrankingFactor();
|
||||
```
|
||||
|
|
|
@ -307,6 +307,22 @@ static void cannedinjectorStagingTable() {
|
|||
copyTable(config->injectorStagingTable, hardCodedinjectorStagingTable);
|
||||
}
|
||||
|
||||
static void cannedhpfpCompensation() {
|
||||
static const float hardCodedhpfpCompensation[10][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, },
|
||||
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 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->hpfpCompensation, hardCodedhpfpCompensation);
|
||||
}
|
||||
|
||||
static void cannedpostCrankingFactor() {
|
||||
static const float hardCodedpostCrankingFactor[6][6] = {
|
||||
{1.200, 0.000, 0.000, 0.000, 0.000, 0.000, },
|
||||
|
|
|
@ -28,14 +28,6 @@
|
|||
// default 300.0
|
||||
engineConfiguration->fuelReferencePressure = 0;
|
||||
// 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;
|
||||
|
@ -368,5 +360,6 @@
|
|||
cannedlambdaTable();
|
||||
cannediacPidMultTable();
|
||||
cannedinjectorStagingTable();
|
||||
cannedhpfpCompensation();
|
||||
cannedpostCrankingFactor();
|
||||
```
|
||||
|
|
|
@ -307,6 +307,22 @@ static void cannedinjectorStagingTable() {
|
|||
copyTable(config->injectorStagingTable, hardCodedinjectorStagingTable);
|
||||
}
|
||||
|
||||
static void cannedhpfpCompensation() {
|
||||
static const float hardCodedhpfpCompensation[10][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, },
|
||||
{0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 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->hpfpCompensation, hardCodedhpfpCompensation);
|
||||
}
|
||||
|
||||
static void cannedpostCrankingFactor() {
|
||||
static const float hardCodedpostCrankingFactor[6][6] = {
|
||||
{1.200, 0.000, 0.000, 0.000, 0.000, 0.000, },
|
||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue