-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Since all events are now unified within a single system, it is possible to display all upcoming events in the UI. This is accomplished in two steps: (1) the events from `sequence` are filtered and processed into a separate list containing event-like lexicons with relevant information (buildFlightPlan), (2) whenever an event is handled, the portion of this list is printed in a dedicated box within the UI form (flightPlanPrint). The build process happens twice: first before the flight itself, second time just after transition into active guidance. This is necessary, as initializeVehicleForUPFG spawns several additional events. Additionally, buildFlightPlan behaves differently in its first call: since during passive guidance there exists no event related to switching into active guidance, a "placeholder" event is inserted into the display list. Known bug: after executing the final event, the "current event" tick mark overflows the UI boundary.
- Loading branch information
Showing
2 changed files
with
160 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
This file contains 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