Function lupnt::ItrfToGcrf(Real, const Vec6&)¶
Defined in File frame_conversions.h
Function Documentation¶
-
Vec6 lupnt::ItrfToGcrf(Real t_tdb, const Vec6 &rv_itrf)¶
Converts a state vector from ITRF to GCRF (ECEF to ECI) at epoch
t_tdb.Used throughout the simulator wherever Earth-fixed states (ground-station positions, ECEF-frame measurements, ITRF-referenced SPICE/EOP data) must be expressed in the inertial frame — e.g. by
ConvertFramewhen propagating dynamics or computing line-of-sight vectors in GCRF.- Parameters:
t_tdb – Epoch [s, TDB since J2000]
rv_itrf – Position+velocity in ITRF (ECEF) [m, m/s]
- Returns:
Position+velocity in GCRF (ECI) [m, m/s]