1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-06-24 05:53:16 +00:00

GPS Satellite broadcast ephemeris time is now referenced to TOC instead of TOE

This commit is contained in:
Javier Arribas 2017-01-30 10:57:18 +01:00
parent d2c7bb62a1
commit 2b49f670a7

View File

@ -197,7 +197,7 @@ void Gps_Ephemeris::satellitePosition(double transmitTime)
a = d_sqrt_A*d_sqrt_A;
// Time from ephemeris reference epoch
tk = check_t(transmitTime - d_Toe);
tk = check_t(transmitTime - d_Toc);
// Computed mean motion
n0 = sqrt(GM / (a*a*a));