[hamradio-commits] [gnss-sdr] 255/303: Fine adjustment of the telemetry decoder TOW for the GPS L1 CA

Carles Fernandez carles_fernandez-guest at moszumanska.debian.org
Mon Feb 13 22:36:06 UTC 2017


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

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

commit feb481a7c53e41a4b53f5289bebaf031399ccda2
Author: Javier Arribas <javiarribas at gmail.com>
Date:   Tue Jan 31 17:56:16 2017 +0100

    Fine adjustment of the telemetry decoder TOW for the GPS L1 CA
---
 .../telemetry_decoder/gnuradio_blocks/gps_l1_ca_telemetry_decoder_cc.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/algorithms/telemetry_decoder/gnuradio_blocks/gps_l1_ca_telemetry_decoder_cc.cc b/src/algorithms/telemetry_decoder/gnuradio_blocks/gps_l1_ca_telemetry_decoder_cc.cc
index aa73222..c90930c 100644
--- a/src/algorithms/telemetry_decoder/gnuradio_blocks/gps_l1_ca_telemetry_decoder_cc.cc
+++ b/src/algorithms/telemetry_decoder/gnuradio_blocks/gps_l1_ca_telemetry_decoder_cc.cc
@@ -339,7 +339,7 @@ int gps_l1_ca_telemetry_decoder_cc::general_work (int noutput_items __attribute_
     if (this->d_flag_preamble == true and d_GPS_FSM.d_nav.d_TOW > 0)
         {
             // update TOW at the preamble instant
-            d_TOW_at_Preamble = d_GPS_FSM.d_nav.d_TOW;
+            d_TOW_at_Preamble = d_GPS_FSM.d_nav.d_TOW + GPS_L1_CA_CODE_PERIOD;
             Prn_timestamp_at_preamble_ms = in[0][0].Tracking_timestamp_secs * 1000.0;
             d_TOW_at_current_symbol = d_TOW_at_Preamble;
             if (flag_TOW_set == false)

-- 
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