1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-14 20:20:35 +00:00

add the identifier E to Galileo PRN numbers

This commit is contained in:
Carles Fernandez 2016-05-02 14:36:26 +02:00
parent d0ddc6e923
commit d4793470a9

View File

@ -77,8 +77,9 @@ void Gnss_Satellite::reset()
std::ostream& operator<<(std::ostream &out, const Gnss_Satellite &sat) // output std::ostream& operator<<(std::ostream &out, const Gnss_Satellite &sat) // output
{ {
//std::string psystem = sat::get_system() std::string tag("");
out << sat.get_system() << " PRN " << sat.get_PRN() << " (Block " << sat.get_block() << ")"; if(sat.get_system().compare("Galileo") == 0) tag = "E";
out << sat.get_system() << " PRN " << tag << sat.get_PRN() << " (Block " << sat.get_block() << ")";
return out; return out;
} }