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.
Nyx Examples
This pull request includes self-contained crates that implement some of the examples shown in the docs: Lunar transfer, Orbit design from a genetic algorithm. It also demonstrates displaying the results with egui.
I don't think Nyx needs a front end, but here's a way to do it if you want one.
Motivation
I was very annoyed by the workflow needed to visualize trajectories and orbits. In order to generate plots, I had set up a sim, generate a trajectory, export the trajectory to Parquet files, read the Parquet files to a dataframe, and then plot the dataframe in Plotly. Yikes.
I was impressed by the plot demos on the egui demo page and was curious to see if orbits and trajectories could be plotted straight away as an egui plot.
Approach
eframe
is a simple GUI framework that is the backend for the egui demo that I liked, so I went with that.Results
The proof of concept is there, but it's rough.
Future work
Ancillary info
Effects
examples/
to the top level directory.If this is a new feature or a bug fix ...Yes, the branch I'm proposing to merge is calledissue-xyz
wherexyz
is the number of the issue.If this change adds or modifies a validation case
VALIDATION.md
file with the new error data between nyx and GMAT.