Noiredd / PEGAS

Powered Explicit Guidance Ascent System - a KSP & RO autopilot using the Space Shuttle guidance algorithm, UPFG
http://forum.kerbalspaceprogram.com/index.php?/topic/142213-pegas-powered-explicit-guidance-ascent-system-devlog
MIT License
114 stars 31 forks source link

gLim causes an engine shutdown when reaching 0 #53

Open Tonas1997 opened 5 months ago

Tonas1997 commented 5 months ago

I have a second stage with gLim and minThrottle set to the appropriate values, but wherever the throttle reaches the minimum the engine just shuts down instead of holding that throttle value. I assume this is because the throttle keeps getting lowered in order to retain the configured g-limit, but I was wondering whether this is a rounding error that can be fixed by just setting minThrottle to a slightly higher value (without loss of precision in orbital insertion).