1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-14 04:00:34 +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::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;
}