set default MAP estimate axis values (#96)
move to default_fuel fixes #93 (cherry picked from commit 166a08d1b5e4b637a809f59844d0dd32f8820a3d)
This commit is contained in:
parent
4c7e6af16a
commit
7b4f49ace6
|
@ -58,8 +58,6 @@ void setDefaultBaseEngine() {
|
||||||
engineConfiguration->cutFuelOnHardLimit = true;
|
engineConfiguration->cutFuelOnHardLimit = true;
|
||||||
engineConfiguration->cutSparkOnHardLimit = true;
|
engineConfiguration->cutSparkOnHardLimit = true;
|
||||||
|
|
||||||
setTable(config->mapEstimateTable, 60);
|
|
||||||
|
|
||||||
// engineConfiguration->totalGearsCount = 5;
|
// engineConfiguration->totalGearsCount = 5;
|
||||||
// engineConfiguration->gearRatio[0] = 3.35f;
|
// engineConfiguration->gearRatio[0] = 3.35f;
|
||||||
// engineConfiguration->gearRatio[1] = 1.99f;
|
// engineConfiguration->gearRatio[1] = 1.99f;
|
||||||
|
|
|
@ -237,6 +237,10 @@ void setDefaultFuel() {
|
||||||
setDefaultVETable();
|
setDefaultVETable();
|
||||||
setDefaultLambdaTable();
|
setDefaultLambdaTable();
|
||||||
|
|
||||||
|
setRpmTableBin(config->mapEstimateRpmBins);
|
||||||
|
setLinearCurve(config->mapEstimateTpsBins, 0, 100);
|
||||||
|
setTable(config->mapEstimateTable, 60);
|
||||||
|
|
||||||
// -400 will close the injector just before TDC at the end of the exhaust stroke,
|
// -400 will close the injector just before TDC at the end of the exhaust stroke,
|
||||||
// around the time the intake valve opens.
|
// around the time the intake valve opens.
|
||||||
setTable(config->injectionPhase, -400.0f);
|
setTable(config->injectionPhase, -400.0f);
|
||||||
|
|
Loading…
Reference in New Issue