v12 progress
This commit is contained in:
parent
5d3feb7bd3
commit
494057f30d
|
@ -72,6 +72,16 @@
|
|||
|
||||
EXTERN_CONFIG;
|
||||
|
||||
static const float hardCodedetbHitachiBiasBins[8] = {0.0, 19.0, 21.0, 22.0, 23.0, 25.0, 30.0, 100.0};
|
||||
|
||||
static const float hardCodedetbHitachiBiasValues[8] = {-18.0, -17.0, -15.0, 0.0, 16.0, 20.0, 20.0, 20.0};
|
||||
|
||||
/* Generated by TS2C on Thu Aug 20 21:10:02 EDT 2020*/
|
||||
static void setHitachiEtbBiasBins(DECLARE_CONFIG_PARAMETER_SIGNATURE) {
|
||||
MEMCPY(engineConfiguration->etbBiasBins, hardCodedetbHitachiBiasBins);
|
||||
MEMCPY(engineConfiguration->etbBiasValues, hardCodedetbHitachiBiasValues);
|
||||
}
|
||||
|
||||
void m73engine(DECLARE_CONFIG_PARAMETER_SIGNATURE) {
|
||||
// 13641435991 injector
|
||||
engineConfiguration->injector.flow = 180; // cc/min, who knows if this number is real - no good source of info
|
||||
|
@ -298,4 +308,16 @@ void setEngineBMW_M73_Proteus(DECLARE_CONFIG_PARAMETER_SIGNATURE) {
|
|||
// EFI_ADC_2: "Analog Volt 7"
|
||||
engineConfiguration->throttlePedalPositionSecondAdcChannel = EFI_ADC_2;
|
||||
|
||||
|
||||
setHitachiEtbBiasBins(PASS_CONFIG_PARAMETER_SIGNATURE);
|
||||
|
||||
engineConfiguration->etb.pFactor = 2.7999;
|
||||
engineConfiguration->etb.iFactor = 25.5;
|
||||
engineConfiguration->etb.dFactor = 0.053;
|
||||
engineConfiguration->etb.offset = 0.0;
|
||||
engineConfiguration->etb.periodMs = 5.0;
|
||||
engineConfiguration->etb.minValue = -100.0;
|
||||
engineConfiguration->etb.maxValue = 100.0;
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -12,6 +12,8 @@ public class TS2CRunner {
|
|||
TS2C.main(new String[]{tuneFileName, "cltIdleRpmBins", "cltIdleRpm"});
|
||||
TS2C.main(new String[]{tuneFileName, "cltIdleCorrBins", "cltIdleCorr"});
|
||||
|
||||
TS2C.main(new String[]{tuneFileName, "etbBiasBins", "etbBiasValues"});
|
||||
|
||||
TS2C.main(new String[]{tuneFileName, "crankingCycleBins", "crankingCycleCoef"});
|
||||
TS2C.main(new String[]{tuneFileName, "crankingFuelBins", "crankingFuelCoef"});
|
||||
|
||||
|
|
Loading…
Reference in New Issue