Constant-speed props were seeking to engine speed, not prop speed.
This commit is contained in:
parent
73541395cc
commit
671bffe9af
1 changed files with 2 additions and 1 deletions
|
@ -216,7 +216,8 @@ void PropEngine::integrate(float dt)
|
|||
// _current_ RPM. Seek to that. This is sort of a continuous
|
||||
// Newton-Raphson, basically.
|
||||
if(_variable) {
|
||||
float targetOmega = _minOmega + _advance*(_maxOmega-_minOmega);
|
||||
float targetPropSpd = _minOmega + _advance*(_maxOmega-_minOmega);
|
||||
float targetOmega = targetPropSpd / _gearRatio; // -> "engine omega"
|
||||
float ratio2 = (_omega*_omega)/(targetOmega*targetOmega);
|
||||
float targetTorque = engTorque * ratio2;
|
||||
|
||||
|
|
Loading…
Reference in a new issue