Function lupnt::RotPosVelInertialToBodyFixed

Function Documentation

Mat6 lupnt::RotPosVelInertialToBodyFixed(BodyId id, Real t_tdb)

Compute the 6x6 rotation matrix from the inertial frame to the body-fixed frame.

Parameters:
  • id – Naif ID of the planet

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

Returns:

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