This commit is contained in:
parent
cd08b71b37
commit
f545dc24da
|
@ -74,13 +74,19 @@ bool AntilagSystemBase::isAntilagConditionMet(int rpm) {
|
||||||
ALSMaxCLTCondition = isALSMaxCLTCondition();
|
ALSMaxCLTCondition = isALSMaxCLTCondition();
|
||||||
ALSMaxThrottleIntentCondition = isALSMaxThrottleIntentCondition();
|
ALSMaxThrottleIntentCondition = isALSMaxThrottleIntentCondition();
|
||||||
ALSSwitchCondition = isInsideALSSwitchCondition();
|
ALSSwitchCondition = isInsideALSSwitchCondition();
|
||||||
|
ALSTimerCondition = true;
|
||||||
|
/*
|
||||||
|
todo: looking for a hero to figure out unit test part of this
|
||||||
|
ALSTimerCondition = isInsideALSTimerCondition();
|
||||||
|
*/
|
||||||
|
|
||||||
return ALSMinRPMCondition &&
|
return ALSMinRPMCondition &&
|
||||||
ALSMaxRPMCondition &&
|
ALSMaxRPMCondition &&
|
||||||
ALSMinCLTCondition &&
|
ALSMinCLTCondition &&
|
||||||
ALSMaxCLTCondition &&
|
ALSMaxCLTCondition &&
|
||||||
ALSMaxThrottleIntentCondition &&
|
ALSMaxThrottleIntentCondition &&
|
||||||
ALSSwitchCondition;
|
ALSSwitchCondition &&
|
||||||
|
ALSTimerCondition;
|
||||||
}
|
}
|
||||||
|
|
||||||
void AntilagSystemBase::update() {
|
void AntilagSystemBase::update() {
|
||||||
|
|
|
@ -13,4 +13,5 @@ bit ALSTimerCondition
|
||||||
|
|
||||||
float fuelALSCorrection
|
float fuelALSCorrection
|
||||||
int16_t autoscale timingALSCorrection;;"deg",{1/@@PACK_MULT_PERCENT@@}, 0, -20, 20, 2
|
int16_t autoscale timingALSCorrection;;"deg",{1/@@PACK_MULT_PERCENT@@}, 0, -20, 20, 2
|
||||||
|
int16_t autoscale timingALSSkip;;"deg",{1/@@PACK_MULT_PERCENT@@}, 0, 0, 50, 2
|
||||||
end_struct
|
end_struct
|
Loading…
Reference in New Issue