Skip to content

Conversation

@connor-powers
Copy link
Owner

Context

I wanted to build in support for another example of an orbital maneuver, so I chose maneuvers to change the argument of periapsis of a satellite's orbit. This was interesting because it requires non-constant thrust direction.

Changes

  • Added support for automatically generating a thrust profile to get from a starting argument of periapsis to a specified final value. Implemented a calibration function trying to account for inherent oscillations in simulated orbital elements to try to get center of final orbit oscillations to be close to target value.
  • Changed float-casting of argument of acos for true anomaly calculation to only happen if a NaN is thrown under normal double-precision calculations
  • Added demonstration of argument of periapsis change maneuver to example simulation workflow file

Testing

Needs to pass existing test suites

…f periapsis

Also changing float-casting of argument of acos for true anomaly calculation to only happen if a NaN is thrown under normal double-precision calculations
Added demonstration of argument of periapsis change maneuver to example simulation workflow file
@connor-powers connor-powers self-assigned this May 6, 2025
Removing offset print statement
Copy link
Owner Author

@connor-powers connor-powers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Cleaning up some commented out code
Attempting to debug failed tests in Github actions workflow
More bugfixing for isnan call
@connor-powers connor-powers merged commit 3078d63 into main May 6, 2025
1 check passed
@connor-powers connor-powers deleted the arg_of_periapsis_change_dev branch May 6, 2025 23:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants