Repository navigation
Feature/configurable attitude rso - #362
Merged
Merged
Conversation
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
Closes #355
This PR makes the chief/RSO initial attitude and spin configurable in the RSO inspection environment while preserving the existing nadir-pointing behavior as the default.
The changes include:
hill_frame_attitude, a reusable utility for generating an initially Hill-aligned attitude and body rate.rso_sigma_BH: RSO body attitude relative to its Hill frame, represented as MRPs.rso_omega_BH: RSO body angular velocity relative to its Hill frame, expressed in Hill-frame coordinates.spin_configis set and bound to the satellite argument randomizer.Type of change
How should this pull request be reviewed?
How Has This Been Tested?
tests/unittest/utils/test_attitude.pyto test default nadir pointing, configurable spin rates and axes, and invalid configurations.tests/unittest/obs/test_relative_observations.pyto testrso_sigma_BHandrso_omega_BH.tests/integration/test_int_rso_env.pyto verify the new RSO observations are present, finite, and correctly shaped.All tests pass.
Future Work
No additional work is required
Checklist