1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-08-23 22:22:21 +00:00

Fixing reading of UTC and IONO data in Galileo

This commit is contained in:
Carles Fernandez 2015-03-04 17:12:42 +01:00
parent d72d853843
commit fde51c453b
2 changed files with 3 additions and 3 deletions

View File

@ -161,7 +161,7 @@ int galileo_e1_pvt_cc::general_work (int noutput_items, gr_vector_int &ninput_it
{ {
if (in[i][0].Flag_valid_pseudorange == true) if (in[i][0].Flag_valid_pseudorange == true)
{ {
global_galileo_utc_model_map.read(0, d_ls_pvt->galileo_utc_model); global_galileo_utc_model_map.read(i, d_ls_pvt->galileo_utc_model);
break; break;
} }
i++; i++;

View File

@ -170,7 +170,7 @@ int hybrid_pvt_cc::general_work (int noutput_items, gr_vector_int &ninput_items,
{ {
if (in[i][0].Flag_valid_pseudorange == true) if (in[i][0].Flag_valid_pseudorange == true)
{ {
global_galileo_utc_model_map.read(0, d_ls_pvt->galileo_utc_model); global_galileo_utc_model_map.read(i, d_ls_pvt->galileo_utc_model);
break; break;
} }
i++; i++;
@ -202,7 +202,7 @@ int hybrid_pvt_cc::general_work (int noutput_items, gr_vector_int &ninput_items,
if (global_galileo_almanac_map.size() > 0) if (global_galileo_almanac_map.size() > 0)
{ {
// ALMANAC data is shared for all Galileo satellites. Read always at a locked channel // data is shared for all Galileo satellites. Read always at a locked channel
signed int i = 0; signed int i = 0;
while(true) while(true)
{ {