-
Notifications
You must be signed in to change notification settings - Fork 14
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
feat: make the propagator maintain the frame and size of the input State #246
Conversation
…ate in the output
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.
Looks good to me! Mostly nits, 1 question on tolerance.
Can you run make format
once I feel like some of the formatting changed and it didn't change for me locally so it feels kinda strange O_o
Co-authored-by: Vishwa Shah <vishwa2710@gmail.com>
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.
Looks great : )
Left a comment on StateBuilder
creation safety.
include/OpenSpaceToolkit/Astrodynamics/Trajectory/Propagator.hpp
Outdated
Show resolved
Hide resolved
…x errors from uncommenting code
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.
LGTM, just blocked by pipeline atm.
Codecov Report
@@ Coverage Diff @@
## main #246 +/- ##
==========================================
+ Coverage 83.64% 83.67% +0.02%
==========================================
Files 66 66
Lines 5639 5647 +8
==========================================
+ Hits 4717 4725 +8
Misses 922 922
|
Currently, the propagator converts any input state into the correct dimensions and Frame to propagate.
This is fine, but get's confusing when you pass in a higher dimensional State in ITRF and get back a lower dimensional one in GCRF.
This MR introduces a layer that transforms the input/output State to/from the State that the numerical solver uses using the new StateBuilder class.