[hamradio-commits] [gnss-sdr] 48/126: Updating the Rtcm printer

Carles Fernandez carles_fernandez-guest at moszumanska.debian.org
Sat Dec 26 18:38:00 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 e219954d1c65c373a7583e08db6ee348ac07c4cd
Author: Carles Fernandez <carles.fernandez at gmail.com>
Date:   Tue Nov 24 00:32:52 2015 +0100

    Updating the Rtcm printer
---
 src/algorithms/PVT/libs/rtcm_printer.cc | 20 ++++++++++----------
 src/algorithms/PVT/libs/rtcm_printer.h  |  8 ++++----
 2 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/src/algorithms/PVT/libs/rtcm_printer.cc b/src/algorithms/PVT/libs/rtcm_printer.cc
index 12b3a4a..b45dd60 100644
--- a/src/algorithms/PVT/libs/rtcm_printer.cc
+++ b/src/algorithms/PVT/libs/rtcm_printer.cc
@@ -84,23 +84,23 @@ Rtcm_Printer::~Rtcm_Printer()
 }
 
 
-bool Rtcm_Printer::Print_Rtcm_M1001(const Gps_Ephemeris& gps_eph, double obs_time, const std::map<int, Gnss_Synchro> & pseudoranges)
+bool Rtcm_Printer::Print_Rtcm_MT1001(const Gps_Ephemeris& gps_eph, double obs_time, const std::map<int, Gnss_Synchro> & pseudoranges)
 {
-    std::string m1001 = rtcm->print_M1001( gps_eph, obs_time, pseudoranges);
+    std::string m1001 = rtcm->print_MT1001( gps_eph, obs_time, pseudoranges);
     Rtcm_Printer::Print_Message(m1001);
     return true;
 }
 
-bool Rtcm_Printer::Print_Rtcm_M1019(const Gps_Ephemeris & gps_eph)
+bool Rtcm_Printer::Print_Rtcm_MT1019(const Gps_Ephemeris & gps_eph)
 {
-    std::string m1019 = rtcm->print_M1019(gps_eph);
+    std::string m1019 = rtcm->print_MT1019(gps_eph);
     Rtcm_Printer::Print_Message(m1019);
     return true;
 }
 
-bool Rtcm_Printer::Print_Rtcm_M1045(const Galileo_Ephemeris & gal_eph)
+bool Rtcm_Printer::Print_Rtcm_MT1045(const Galileo_Ephemeris & gal_eph)
 {
-    std::string m1045 = rtcm->print_M1045(gal_eph);
+    std::string m1045 = rtcm->print_MT1045(gal_eph);
     Rtcm_Printer::Print_Message(m1045);
     return true;
 }
@@ -108,8 +108,8 @@ bool Rtcm_Printer::Print_Rtcm_M1045(const Galileo_Ephemeris & gal_eph)
 
 int Rtcm_Printer::init_serial(std::string serial_device)
 {
-    /*!
-     * Opens the serial device and sets the default baud rate for a NMEA transmission (9600,8,N,1)
+    /*
+     * Opens the serial device and sets the default baud rate for a RTCM transmission (9600,8,N,1)
      */
     int fd = 0;
     struct termios options;
@@ -183,8 +183,8 @@ bool Rtcm_Printer::Print_Message(std::string message)
 }
 
 
-std::string Rtcm_Printer::print_M1005_test()
+std::string Rtcm_Printer::print_MT1005_test()
 {
-    std::string test = rtcm->print_M1005_test();
+    std::string test = rtcm->print_MT1005_test();
     return test;
 }
diff --git a/src/algorithms/PVT/libs/rtcm_printer.h b/src/algorithms/PVT/libs/rtcm_printer.h
index 9a0f136..f342d87 100644
--- a/src/algorithms/PVT/libs/rtcm_printer.h
+++ b/src/algorithms/PVT/libs/rtcm_printer.h
@@ -55,11 +55,11 @@ public:
      */
     ~Rtcm_Printer();
 
-    bool Print_Rtcm_M1001(const Gps_Ephemeris& gps_eph, double obs_time, const std::map<int, Gnss_Synchro> & pseudoranges);
-    bool Print_Rtcm_M1019(const Gps_Ephemeris & gps_eph); //<! GPS Ephemeris, should be broadcast in the event that the IODC does not match the IODE, and every 2 minutes.
-    bool Print_Rtcm_M1045(const Galileo_Ephemeris & gal_eph); //<! Galileo Ephemeris, should be broadcast every 2 minutes
+    bool Print_Rtcm_MT1001(const Gps_Ephemeris& gps_eph, double obs_time, const std::map<int, Gnss_Synchro> & pseudoranges);
+    bool Print_Rtcm_MT1019(const Gps_Ephemeris & gps_eph); //<! GPS Ephemeris, should be broadcast in the event that the IODC does not match the IODE, and every 2 minutes.
+    bool Print_Rtcm_MT1045(const Galileo_Ephemeris & gal_eph); //<! Galileo Ephemeris, should be broadcast every 2 minutes
 
-    std::string print_M1005_test(); //<!  For testing purposes
+    std::string print_MT1005_test(); //<!  For testing purposes
 
 private:
     std::string rtcm_filename; // String with the RTCM log filename

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