Repository navigation
Conversation
AnalyzeStages (#2777) skipped any burn before the last stage shorter than SKIP_TIME, including one the optimizer cuts with propellant left. Guidance then flew the next burn's steering and throttle on it, and nothing cut or staged it off (autostaging won't drop an engine with propellant left), so it burned out. Such a burn is now flown, so that guidance cuts and jettisons it. The burn before a coast-during, which the zero coast constraint shrinks with the coast, is still skipped. AscentFlight, which builds the test Solutions itself, sets Skip with the same rule. Tests: ShortCutBurnIsFlown (AnalyzeStages, failing on dev) and SkippedCutBoosterIsNotBurnedOut (guidance cuts the short burn).
sarbian
force-pushed
the
fix/psg-keep-short-cut-burn
branch
from
November 29, 2026 09:29
570ae51 to
b5e8a0f
Compare
Contributor
✅ Build Artifact 🚀MechJeb2-f88999c.zip (built from b5e8a0f) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
AnalyzeStages(#2777) skipped any burn shorter thanSKIP_TIMEbefore the last stage, including one the optimizer cuts with propellant left: guidance flew the next burn's steering on it and nothing staged it off. Such a burn is now flown so guidance cuts and jettisons it; the burn before a coast-during, shrunk with the coast, is still skipped.Adds
ShortCutBurnIsFlown(AnalyzeStages, fails on dev) andSkippedCutBoosterIsNotBurnedOut(guidance cuts and jettisons the short burn).AscentFlight, which builds the test Solutions itself, now setsSkipwith the same rule. Rebased on dev 92bfb8f.Tested: full MechJebLibTest suite in Release (17983 passed, MainSailTinCan excluded as in CI).
Not tested: in game.
From the review of #2776 and #2777: #2776 (comment)