BrettRyland / BDArmory

Gun turrets and other weapon systems for KSP
34 stars 24 forks source link

Craft TWR value override. #576

Open mrboxhed opened 11 months ago

mrboxhed commented 11 months ago

When using AJE (the mod advanced jet engines) the thrust of most propeller engines is calculated wrongly and leads to huge TWR of over 10000. As a result of this the AI pilot will attempt to point straight upwards when climbing and stall the aircraft. As both the stock TWR calculator and kerbal engineer show the same number I believe the problem is with AJE and as it is no longer developed I don't think there is hope for a patch on that end. This problem also exists for aircraft using stock propellers as the have a supposed TWR of 0.

The easiest and most straight forward solution I can think of for this would be to and a manual climb angle and/or TWR override to the pilot AI module.

BrettRyland commented 10 months ago

Without a proper thrust readout, BDA's speed controller won't be able to control engines properly and every other calculation involving engine thrust will be invalid, including that used for the climb angle. If AJE modifies the thrust of engines to some ridiculous value, then that is an issue with AJE and not something that BDA can correct for.

In the special case of 0 TWR, BDA already handles setting the throttle as simply full on or full off and the climb angle isn't affected by the low TWR.