1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-11-08 19:23:07 +00:00

position fix: First GLONASS position fix

First GLONASS L1 C/A position fix using GNSS-SDR. Fixes bug in toe
reporting for GLONASS and cleans up the code a bit. Small bug with
RINEX file still present but achievement deserves its own commit.
This commit is contained in:
Damian Miralles
2017-11-01 21:05:40 -06:00
parent 6e223c4277
commit e636bba59a
6 changed files with 34 additions and 117 deletions

View File

@@ -91,7 +91,7 @@ geph_t eph_to_rtklib(const Glonass_Gnav_Ephemeris & glonass_gnav_eph, const Glon
rtklib_sat.age = static_cast<int>(glonass_gnav_eph.d_Delta_tau_n); /* delay between L1 and L2 (s) */
// Time expressed in GPS Time but using RTKLib format
glonass_gnav_eph.glot_to_gpst(glonass_gnav_eph.d_tod, gnav_clock_model.d_tau_c, gnav_clock_model.d_tau_gps, &week, &sec);
glonass_gnav_eph.glot_to_gpst(glonass_gnav_eph.d_t_b, gnav_clock_model.d_tau_c, gnav_clock_model.d_tau_gps, &week, &sec);
adj_week = adjgpsweek(static_cast<int>(week));
rtklib_sat.toe = gpst2time(adj_week, sec);