[hamradio-commits] [gnss-sdr] 42/60: Fixing reading of UTC and IONO data in Galileo

Carles Fernandez carles_fernandez-guest at moszumanska.debian.org
Sun Mar 22 11:15:43 UTC 2015


This is an automated email from the git hooks/post-receive script.

carles_fernandez-guest pushed a commit to branch next
in repository gnss-sdr.

commit fde51c453b2b7b945a147bb4c3893f88c930ee32
Author: Carles Fernandez <carles.fernandez at gmail.com>
Date:   Wed Mar 4 17:12:42 2015 +0100

    Fixing reading of UTC and IONO data in Galileo
---
 src/algorithms/PVT/gnuradio_blocks/galileo_e1_pvt_cc.cc | 2 +-
 src/algorithms/PVT/gnuradio_blocks/hybrid_pvt_cc.cc     | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/algorithms/PVT/gnuradio_blocks/galileo_e1_pvt_cc.cc b/src/algorithms/PVT/gnuradio_blocks/galileo_e1_pvt_cc.cc
index 002dc51..cecfcd5 100644
--- a/src/algorithms/PVT/gnuradio_blocks/galileo_e1_pvt_cc.cc
+++ b/src/algorithms/PVT/gnuradio_blocks/galileo_e1_pvt_cc.cc
@@ -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)
                         {
-                            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;
                         }
                     i++;
diff --git a/src/algorithms/PVT/gnuradio_blocks/hybrid_pvt_cc.cc b/src/algorithms/PVT/gnuradio_blocks/hybrid_pvt_cc.cc
index 436083a..5e22a36 100644
--- a/src/algorithms/PVT/gnuradio_blocks/hybrid_pvt_cc.cc
+++ b/src/algorithms/PVT/gnuradio_blocks/hybrid_pvt_cc.cc
@@ -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)
                         {
-                            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;
                         }
                     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)
         {
-            // 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;
             while(true)
                 {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hamradio/gnss-sdr.git



More information about the pkg-hamradio-commits mailing list