Add command events to implement maneuver to pitch and roll about sun line #315
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
This adds two new command events for the Chandra Comment Events sheet:
Maneuver sun pitch
: maneuver to a specified absolute sun pitch angleManeuver sun rasl
: roll about sun line by specified angleNote that this passes tests with or without sot/ska_sun#37 which changes the sign convention of roll about the sun line. This is the case because the code applies the rasl using
apply_sun_pitch_yaw
and then measures the change usingget_sun_pitch_yaw
. Those use the same sign convention sorasl2 - rasl1
is the same in both cases (with/without 37).Closes #316
Interface impacts
No code impacts but this adds new command events. When this is ready to merge I will update the FOT MP command events TWiki documentation to include the two new command event types.
Testing
Unit tests
Tested with sot/ska_sun#37 in the PYTHONPATH.
Independent check of unit tests by Jean with a ska3-masters with ska_sun PR up-to-date
Functional tests
No functional testing.