Skip to content

Apply rotations from Satellite Reference Frame to Local Orbit Frame #171

Answered by tmayerguerr
ParisaShafiei asked this question in Q&A
Discussion options

You must be logged in to vote

Hi Parisa,

Rotations are always confusing for me. When you rotate a vector, you multiply the rotation matrix from the left:

  pos_CRF = rot(SRF->CRF) * pos_SRF 
          = rot(LOF->CRF) * pos_LOF
          = rot(LOF->CRF) * rot(SRF->LOF) * pos_SRF

This means that the following applies to the entire rotation:

  rot(SRF->CRF) = rot(LOF->CRF) * rot(SRF->LOF)

In short, you have to swap the two matrices in InstrumentStarCameraMultiply.

Torsten

Replies: 6 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@ParisaShafiei
Comment options

@ParisaShafiei
Comment options

Comment options

You must be logged in to vote
1 reply
@ParisaShafiei
Comment options

Answer selected by tmayerguerr
Comment options

You must be logged in to vote
1 reply
@ParisaShafiei
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants