1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-10-30 14:53:03 +00:00
This commit is contained in:
Carles Fernandez
2019-08-17 14:26:11 +02:00
parent afc7f1031c
commit b2045076bd

View File

@@ -107,7 +107,7 @@ obsd_t insert_obs_to_rtklib(obsd_t& rtklib_obs, const Gnss_Synchro& gnss_synchro
rtklib_obs.sat = gnss_synchro.PRN; rtklib_obs.sat = gnss_synchro.PRN;
} }
// Mote that BeiDou week numbers do not need adjustment for foreseeable future. Consider change // Note that BeiDou week numbers do not need adjustment for foreseeable future. Consider change
// to more elegant solution // to more elegant solution
// if(gnss_synchro.System == 'C') // if(gnss_synchro.System == 'C')
// { // {
@@ -122,7 +122,6 @@ obsd_t insert_obs_to_rtklib(obsd_t& rtklib_obs, const Gnss_Synchro& gnss_synchro
// account for the TOW crossover transitory in the first 18 seconds where the week is not yet updated! // account for the TOW crossover transitory in the first 18 seconds where the week is not yet updated!
if (gnss_synchro.RX_time < 18.0) if (gnss_synchro.RX_time < 18.0)
{ {
//p_time += boost::posix_time::seconds(604800);
rtklib_obs.time = timeadd(rtklib_obs.time, 604800); rtklib_obs.time = timeadd(rtklib_obs.time, 604800);
} }
@@ -130,6 +129,7 @@ obsd_t insert_obs_to_rtklib(obsd_t& rtklib_obs, const Gnss_Synchro& gnss_synchro
return rtklib_obs; return rtklib_obs;
} }
geph_t eph_to_rtklib(const Glonass_Gnav_Ephemeris& glonass_gnav_eph, const Glonass_Gnav_Utc_Model& gnav_clock_model) geph_t eph_to_rtklib(const Glonass_Gnav_Ephemeris& glonass_gnav_eph, const Glonass_Gnav_Utc_Model& gnav_clock_model)
{ {
double week; double week;