1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-11-12 21:10:03 +00:00

Make Galileo FNAV epehemeris less verbose in terminal

This commit is contained in:
Carles Fernandez 2019-03-03 10:56:07 +01:00
parent c4d9a3631c
commit 5cbafa276f
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D

View File

@ -487,13 +487,13 @@ bool Galileo_Fnav_Message::have_new_ephemeris() // Check if we have a new ephem
// if all ephemeris pages have the same IOD, then they belong to the same block
if ((FNAV_IODnav_1 == FNAV_IODnav_2) and (FNAV_IODnav_3 == FNAV_IODnav_4) and (FNAV_IODnav_1 == FNAV_IODnav_3))
{
std::cout << "Ephemeris (1, 2, 3) have been received and belong to the same batch" << std::endl;
DLOG(INFO) << "Ephemeris (1, 2, 3) have been received and belong to the same batch";
flag_ephemeris_1 = false; // clear the flag
flag_ephemeris_2 = false; // clear the flag
flag_ephemeris_3 = false; // clear the flag
flag_all_ephemeris = true;
IOD_ephemeris = FNAV_IODnav_1;
std::cout << "Batch number: " << IOD_ephemeris << std::endl;
DLOG(INFO) << "Batch number: " << IOD_ephemeris;
return true;
}
}