-
-
Notifications
You must be signed in to change notification settings - Fork 20
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
Initial Python bindings #114
Merged
Merged
Conversation
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
- Also update test.py to setup Python side logging
- Some of the functions that use `Duration` and `TimeUnit` have not been wrapped
Signed-off-by: Christopher Rabotin <[email protected]>
Signed-off-by: Christopher Rabotin <[email protected]>
Signed-off-by: Christopher Rabotin <[email protected]>
ChristopherRabotin
added
Status: Development
Issue at Test Driven Development phase of the quality assurance process
Kind: New feature
This is a proposed new feature
Interface: Python
Priority: high
labels
Feb 11, 2023
Signed-off-by: Christopher Rabotin <[email protected]>
Signed-off-by: Christopher Rabotin <[email protected]>
Signed-off-by: Christopher Rabotin <[email protected]>
Will be used to configure structures from YAML or TOML files. This is mostly cleaning up the scenario stuff, but it will be useful for stream lining cofings Signed-off-by: Christopher Rabotin <[email protected]>
Used only by commercial entities Signed-off-by: Christopher Rabotin <[email protected]>
Signed-off-by: Christopher Rabotin <[email protected]>
Signed-off-by: Christopher Rabotin <[email protected]>
This will allow more flexibility in the definition of tracking schedules, and ensure repeatability. Soon enough, we'll have FOGM models too. Signed-off-by: Christopher Rabotin <[email protected]>
Signed-off-by: Christopher Rabotin <[email protected]>
If I end up implementing another gravity model, it won't be using spherical harmonics. This future proofed design was to allow for another backend, and that was obviously a bad call. Signed-off-by: Christopher Rabotin <[email protected]>
Signed-off-by: Christopher Rabotin <[email protected]>
Signed-off-by: Christopher Rabotin <[email protected]>
Anything more complicated than coast and thrust should be encapsulated into a state machine. This would also enable hybrid automatons
Signed-off-by: Christopher Rabotin <[email protected]>
This simplifies the initialization of the spacecraft from YAML. Also allows specifying the guidance mode.
18 tasks
And try to fix the Python testing Signed-off-by: Christopher Rabotin <[email protected]>
ChristopherRabotin
added
Status: Final review
Issue at Review phase of the quality assurance process
and removed
Status: Development
Issue at Test Driven Development phase of the quality assurance process
labels
Mar 10, 2023
Signed-off-by: Christopher Rabotin <[email protected]>
The s390x platform would have issues loading a trajectory stored as parquet (although it was created in the same script). MacOS on aarach64 does not build (but works fine on x86 64).
+ Can now load orbit estimations with covariances + Started refactoring ODProcess to remove some generics (will eventually fully transition to TrackingArc) + Removed ODP from scenarios (scenarios will be removed entirely in favor of Python interface) Signed-off-by: Christopher Rabotin <[email protected]>
I tend to add this for rust-analyzer and forget about it Signed-off-by: Christopher Rabotin <[email protected]>
It's super hacky, but it should work. Will add a test soon Signed-off-by: Christopher Rabotin <[email protected]>
Signed-off-by: Christopher Rabotin <[email protected]>
Signed-off-by: Christopher Rabotin <[email protected]>
Signed-off-by: Christopher Rabotin <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Interface: Python
Kind: New feature
This is a proposed new feature
Priority: high
Status: Final review
Issue at Review phase of the quality assurance process
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.
Status
Early draft, pull request is opened mostly to run through the test suite, closes #93 .
What's left for the next demo of
Styx
to run a whole simulated OD from a Python workflow.TrackingArcSim<Spacecraft, StdMeasurement, GroundStation>
to be able to generate measurements from Python and the proxy functions for generating the measurements (requires loading a trajectory)Configurable
trait)generate_measurements
in the simulated tracking arcTraj<S>
to parquet (useful for plotting and required for setting up a TrackingArcSim)Then:
Configurable
forOrbit
andSpacecraft
to build each from a YAMLConfigurable
for propagator and dynamics (should be similar to current set up with Config.rs). I think it's much easier to set this up from YAML than from the Python directly. It's also easier to pass around between functions I think but I may be wrong here. @thomasantony if you have insights or a preference, let me know. The use-case I have in mind is to set up a mission design or orbit determination run just like one would set up a machine learning experiments following a "data engineering convention" approachImplementInstead, the OD process is set up manually, cf. tests/python/test_orbit_determination.py .Configurable
for OD process to set up an OD process from YAML & PythonSoon thereafter:
Add mission events toMoved to Trajectory information with custom files to be exported as Parquet files instead of CSVs #120Traj<S>
, which may be generated from a "find events" call (i.e. pass an event finding to a trajectory to store all of the found events directly as mission events, which is helpful for analysis). Consider implementing Allow Boolean combination of Events #97 which doesn't seem like too much work.ImplementMoved to Refactor optimizer/targeter considering ease use in Python #119Configurable
for targetersEffects
If this change adds or modifies a validation case