I am not sure that the Lat / Lon mapping functions borrowed from https://github.com/colej4/satapp/blob/be4a3831134475396bab3639b8add1b337e5b93c/src-tauri/src/tracking.rs are correct. Perhaps at the epoch they are fine & then they decay over time?
The docs for sgp4::Prediction explain that:
The position and velocity are given in the True Equator, Mean Equinox (TEME) of epoch reference frame.
TEME is an Earth-centered inertial (ECI) coordinate frame. Latitude and Longitude are Geodetic.
Do we need to do a more complex conversion from ECI to ECEF and then to Geodetic?
I am not sure that the Lat / Lon mapping functions borrowed from https://github.com/colej4/satapp/blob/be4a3831134475396bab3639b8add1b337e5b93c/src-tauri/src/tracking.rs are correct. Perhaps at the epoch they are fine & then they decay over time?
The docs for
sgp4::Predictionexplain that:TEME is an Earth-centered inertial (ECI) coordinate frame. Latitude and Longitude are Geodetic.
Do we need to do a more complex conversion from ECI to ECEF and then to Geodetic?