-
-
Notifications
You must be signed in to change notification settings - Fork 166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ENH: Initial solution from flights gets previous results #568
ENH: Initial solution from flights gets previous results #568
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #568 +/- ##
===========================================
- Coverage 75.75% 75.74% -0.01%
===========================================
Files 81 81
Lines 9820 9821 +1
===========================================
Hits 7439 7439
- Misses 2381 2382 +1 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good improvements, plots are much more intuitive to interpret now.
As a future enhancement, I believe it would be interesting to divide this plot different Flights
with colors and labeling. I might open an issue about that later.
I don't think that is possible. |
This is what happens when running the deployable_payload_example.ipynb example: Maybe your idea of creating different colors for the flight might help a little. Anyways, I think it is important to add tests to this PR before merging. I'm not sure if all the plots will work properly after the changes. |
PR is not working, needs some debugging still. As this is not so urgent, I will mark as a draft for now.
|
5045d6a
to
59e44c6
Compare
Pull request type
Checklist
black rocketpy/ tests/
) has passed locallypytest tests -m slow --runslow
) have passed locallyCHANGELOG.md
has been updated (if relevant)Current behavior
When you use a Flight object as the initial solution, only the final state of the flight is captured.
See orange plot:
New behavior
Now the whole flight solution array is used in the new flight.
See orange plot now:
Breaking change
Additional information
Another enhancement allowed by the euroc works that we have been doing.