Closed jessemapel closed 5 years ago
A bit more detailed info:
The body orientation defines the rotation from J2000 to the body fixed reference frame. The rotation coefficients are stored in the PoleRa
, PoleDec
, and PrimeMeridian
keywords of the label. How to use the coefficients is described in the NAIF docs.
The constant rotation for the sensor orientation is stored as a rotation matrix in the ConstantRotation
keyword of the label.
One more problem:
Done! See #122
The sensor position and velocity are in the J2000 reference frame. They need to be rotated into the body fixed reference frame.
The sensor orientation is the rotation from the J2000 reference frame to the sensor reference frame. This needs to be fixed so that it is the rotation from the body fixed reference frame to the sensor reference frame
The sensor orientation is missing the constant rotation. The binary table data defines the time dependent rotation which needs to be followed by the constant rotation from the table label.
The body orientation needs to read the rotation coefficients off the table label instead of trying to read the binary table contents.