Repository navigation
Skip zero-length coast/burn phases in the Solution - #2777
Merged
Merged
Conversation
The SolutionBuilder marks them as Skip, and the Solution skips over them, then the AscentStateMachine requires less logic. The zero length phases still display in the UI so the user can see that they're "there" but just shrunk to zero.
Contributor
✅ Build Artifact 🚀MechJeb2-aff65e6.zip (built from 29b5c7e) |
This was referenced Nov 20, 2026
sarbian
added a commit
that referenced
this pull request
Nov 29, 2026
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).
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.
The SolutionBuilder marks them as Skip, and the Solution skips over them, then the AscentStateMachine requires less logic.
The zero length phases still display in the UI so the user can see that they're "there" but just shrunk to zero.