Skip to content

Fix small bug with final altitude in legacy trajectory builder#128

Merged
ian-ross merged 1 commit intoMIT-LAE:mainfrom
ian-ross:fix-negative-distance-bug
Mar 24, 2026
Merged

Fix small bug with final altitude in legacy trajectory builder#128
ian-ross merged 1 commit intoMIT-LAE:mainfrom
ian-ross:fix-negative-distance-bug

Conversation

@ian-ross
Copy link
Copy Markdown
Member

The condition for determining the altitudes in the level change part of the legacy trajectory builder used a condition that sometimes led to an "extra" altitude almost equal to the final altitude. This messed up the ground track stepping and sometimes produced a "negative distance" error. This PR fixes the problem.

@ian-ross ian-ross merged commit 0cd1ed2 into MIT-LAE:main Mar 24, 2026
4 checks passed
@ian-ross ian-ross deleted the fix-negative-distance-bug branch March 24, 2026 06:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant