[hamradio-commits] [gnss-sdr] 76/303: Fix

Carles Fernandez carles_fernandez-guest at moszumanska.debian.org
Mon Feb 13 22:35:49 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 f61c6fddd8ea944edeff05aa979f833a5b18464d
Author: Carles Fernandez <carles.fernandez at gmail.com>
Date:   Sun Oct 2 21:19:09 2016 +0200

    Fix
---
 src/tests/system-tests/ttff_gps_l1.cc | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/tests/system-tests/ttff_gps_l1.cc b/src/tests/system-tests/ttff_gps_l1.cc
index 3f3ea8b..2dd76c7 100644
--- a/src/tests/system-tests/ttff_gps_l1.cc
+++ b/src/tests/system-tests/ttff_gps_l1.cc
@@ -271,9 +271,9 @@ void TTFF_GPS_L1_CA_Test::print_TTFF_report(const std::vector<double> & ttff_v,
 {
     std::vector<double> ttff = ttff_v;
     bool read_ephemeris;
-    read_ephemeris = config->property("GNSS-SDR.SUPL_read_gps_assistance_xml", "false");
+    read_ephemeris = config_->property("GNSS-SDR.SUPL_read_gps_assistance_xml", "false");
     bool agnss;
-    agnss = config->property("GNSS-SDR.SUPL_gps_enabled", "false");
+    agnss = config_->property("GNSS-SDR.SUPL_gps_enabled", "false");
     double sum = std::accumulate(ttff.begin(), ttff.end(), 0.0);
     double mean = sum / ttff.size();
     double sq_sum = std::inner_product(ttff.begin(), ttff.end(), ttff.begin(), 0.0);
@@ -312,6 +312,7 @@ void TTFF_GPS_L1_CA_Test::print_TTFF_report(const std::vector<double> & ttff_v,
         }
     std::cout << "TTFF stdev: " << stdev << " [s]" << std::endl;
     std::cout << "Operating System: " << std::string(HOST_SYSTEM) << std::endl;
+    std::cout << "Navigation mode: " << "3D" << std::endl;
     std::cout << "---------------------------" << std::endl;
 }
 

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