poke for generate

This commit is contained in:
Matthew Kennedy 2023-03-15 13:23:54 -07:00
parent 723795a232
commit 79e6283a22
1 changed files with 1 additions and 3 deletions

View File

@ -99,12 +99,10 @@ float ThrottleModelBase::estimateThrottleFlow(float tip, float tps, float map, f
throttleUseWotModel = useWotModel;
if (useWotModel) {
// "WOT" model
// Maximum flow if the throttle was removed
float maximumPossibleFlow = maxEngineFlow(tip);
// Linearly interpolate between the P95 point and wide open, where the engine flows its max
// Linearly interpolate between the P95 point (throttle flow limited) and wide open (engine flow limited)
return interpolateClamped(throttleAngle95Pr, p95Flow, 100, maximumPossibleFlow, tps);
} else {
float pressureRatio = map / tip;