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

Programmable passive guidance mode - adapted from #35 #44

Closed Noiredd closed 2 years ago

Noiredd commented 2 years ago

This is a refactored and updated version of PR #35 by @Aram1d.

Since I was unable to resolve merge conflicts in his original PR, which also contained several unrelated changes, I decided to manually rewrite Wilfried's code on top of the most current state. This commit, although slightly different, contains only his code (modulo a few minor fixes) and is still authored by him.

Overall, this PR as a whole does something a bit larger than the original PR:

This means there are now two ways to control atmospheric ascent:

I'd say this fulfills the requirements described in #9 so...
Closes #9

Thank you @Aram1d for the contribution, and thank you @Patrykz94 for the original code review!