[hamradio-commits] [gnss-sdr] 97/251: updating satellite identification

Carles Fernandez carles_fernandez-guest at moszumanska.debian.org
Wed Sep 2 00:22:39 UTC 2015


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 793b628ad2f906bb7bc6ef65f6e8363d46107b91
Author: Carles Fernandez <carles.fernandez at gmail.com>
Date:   Sat May 16 11:53:44 2015 +0200

    updating satellite identification
---
 src/core/system_parameters/gnss_satellite.cc | 46 ++++++++++++++++------------
 1 file changed, 26 insertions(+), 20 deletions(-)

diff --git a/src/core/system_parameters/gnss_satellite.cc b/src/core/system_parameters/gnss_satellite.cc
index 4481337..d2e126f 100644
--- a/src/core/system_parameters/gnss_satellite.cc
+++ b/src/core/system_parameters/gnss_satellite.cc
@@ -243,9 +243,6 @@ std::string Gnss_Satellite::get_block() const
 
 
 
-
-
-
 void Gnss_Satellite::set_block(const std::string& system_, unsigned int PRN_ )
 {
     if (system_.compare("GPS") == 0)
@@ -261,25 +258,25 @@ void Gnss_Satellite::set_block(const std::string& system_, unsigned int PRN_ )
                 block = std::string("IIR");   //Plane D
                 break;
             case 3 :
-                block = std::string("IIA");   //Plane D
+                block = std::string("IIF");   //Plane E
                 break;
             case 4 :
                 block = std::string("IIA");   //Plane D
                 break;
             case 5 :
-                block = std::string("IIR-M"); //Plane F
+                block = std::string("IIR-M"); //Plane E
                 break;
             case 6 :
-                block = std::string("IIA");   //Plane C
+                block = std::string("IIF");   //Plane D
                 break;
             case 7 :
                 block = std::string("IIR-M"); //Plane A
                 break;
             case 8 :
-                block = std::string("IIA");   //Plane A
+                block = std::string("UNKNOWN");   // Decommissioned
                 break;
             case 9 :
-                block = std::string("IIA");   //Plane A
+                block = std::string("IIF");   //Plane F
                 break;
             case 10 :
                 block = std::string("IIA");   //Plane E
@@ -312,7 +309,7 @@ void Gnss_Satellite::set_block(const std::string& system_, unsigned int PRN_ )
                 block = std::string("IIR");   //Plane D
                 break;
             case 20 :
-                block = std::string("IIR");   //Plane E
+                block = std::string("IIR");   //Plane B
                 break;
             case 21 :
                 block = std::string("IIR");   //Plane D
@@ -324,25 +321,25 @@ void Gnss_Satellite::set_block(const std::string& system_, unsigned int PRN_ )
                 block = std::string("IIR");   //Plane F
                 break;
             case 24 :
-                block = std::string("IIA");   //Plane D Decommissioned from active service on 04 Nov 2011
+                block = std::string("IIF");   //Plane A
                 break;
             case 25 :
                 block = std::string("IIF");   //Plane B
                 break;
             case 26 :
-                block = std::string("IIA");   //Plane F
+                block = std::string("IIF");   //Plane B
                 break;
             case 27 :
-                block = std::string("IIA");   //Plane A
+                block = std::string("IIF");   //Plane C
                 break;
             case 28 :
                 block = std::string("IIR");   //Plane B
                 break;
             case 29 :
-                block = std::string("IIR-M"); //Plane D
+                block = std::string("IIR-M"); //Plane C
                 break;
             case 30 :
-                block = std::string("IIA");   //Plane B
+                block = std::string("IIF");   //Plane A
                 break;
             case 31 :
                 block = std::string("IIR-M"); //Plane A
@@ -488,23 +485,32 @@ void Gnss_Satellite::set_block(const std::string& system_, unsigned int PRN_ )
             }
     if (system_.compare("Galileo") == 0)
         {
-            // Check http://igs.org/mgex/Status_GAL.htm
+            // Check http://en.wikipedia.org/wiki/List_of_Galileo_satellites
             switch ( PRN_ )
             {
             case 11 :
-                block = std::string("IOV"); //  PFM, the ProtoFlight Model (GSAT0101), launched from French Guiana at 10:30 GMT on October 21, 2011
+                block = std::string("IOV-PFM"); //  PFM, the ProtoFlight Model (GSAT0101), launched from French Guiana at 10:30 GMT on October 21, 2011
                 break;
             case 12 :
-                block = std::string("IOV"); // Galileo In-Orbit Validation (IOV) satellite FM2 (Flight Model 2) also known as GSAT0102, from French Guiana at 10:30 GMT on October 21, 2011
+                block = std::string("IOV-FM2"); // Galileo In-Orbit Validation (IOV) satellite FM2 (Flight Model 2) also known as GSAT0102, from French Guiana at 10:30 GMT on October 21, 2011
                 break;
             case 19 :
-                block = std::string("IOV"); // Galileo In-Orbit Validation (IOV) satellite FM3 (Flight Model 3), launched on October 12, 2012
+                block = std::string("IOV-FM3"); // Galileo In-Orbit Validation (IOV) satellite FM3 (Flight Model 3), launched on October 12, 2012
                 break;
             case 20 :
-                block = std::string("IOV"); // Galileo In-Orbit Validation (IOV) satellite FM4 (Flight Model 4), launched on October 12, 2012
+                block = std::string("IOV-FM4"); // Galileo In-Orbit Validation (IOV) satellite FM4 (Flight Model 4), launched on October 12, 2012. Unavailable.
                 break;
             case 18 :
-                block = std::string("FOC"); // Galileo Full Operational Capability (FOC) satellite FM1, also known as GSAT020l launched on August 22, 2014.
+                block = std::string("FOC-FM1"); // Galileo Full Operational Capability (FOC) satellite FM1, launched into incorrect orbit on August 22, 2014.
+                break;
+            case 14 :
+                block = std::string("FOC-FM2"); // Galileo Full Operational Capability (FOC) satellite FM2, launched into incorrect orbit on August 22, 2014.
+                break;
+            case 26 :
+                block = std::string("FOC-FM3"); // Galileo Full Operational Capability (FOC) satellite FM3, launched on March 27, 2015.
+                break;
+            case 22 :
+                block = std::string("FOC-FM4"); // Galileo Full Operational Capability (FOC) satellite FM4, launched on March 27, 2015.
                 break;
             default:
                 block = std::string("Unknown(Simulated)");

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