From d4793470a9d9c97d8c8542ff662770bdca2127d5 Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Mon, 2 May 2016 14:36:26 +0200 Subject: [PATCH] add the identifier E to Galileo PRN numbers --- src/core/system_parameters/gnss_satellite.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/core/system_parameters/gnss_satellite.cc b/src/core/system_parameters/gnss_satellite.cc index fb57fad3c..ea1598e3f 100644 --- a/src/core/system_parameters/gnss_satellite.cc +++ b/src/core/system_parameters/gnss_satellite.cc @@ -77,8 +77,9 @@ void Gnss_Satellite::reset() std::ostream& operator<<(std::ostream &out, const Gnss_Satellite &sat) // output { - //std::string psystem = sat::get_system() - out << sat.get_system() << " PRN " << sat.get_PRN() << " (Block " << sat.get_block() << ")"; + std::string tag(""); + if(sat.get_system().compare("Galileo") == 0) tag = "E"; + out << sat.get_system() << " PRN " << tag << sat.get_PRN() << " (Block " << sat.get_block() << ")"; return out; }