Function lupnt::RotPosBodyFixedToInertial

Function Documentation

Mat3 lupnt::RotPosBodyFixedToInertial(BodyId id, Real t_tdb)

Compute the 3x3 rotation matrix from the body-fixed frame to the inertial frame.

Parameters:
  • id – Naif ID of the planet

  • t_tdb – Terrestrial Time (TDB) in seconds since J2000

Returns:

Rotation matrix from the body-fixed frame to the inertial frame