1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-09-27 06:38:23 +00:00

Reporting Galileo satellite in CRC result at the terminal output

This commit is contained in:
Carles Fernandez 2015-05-19 17:15:18 +02:00
parent 0fa39f6e3b
commit 86bfb5447a
2 changed files with 8 additions and 8 deletions

View File

@ -225,13 +225,13 @@ void galileo_e1b_telemetry_decoder_cc::decode_word(double *page_part_symbols,int
d_nav.split_page(page_String, flag_even_word_arrived);
if(d_nav.flag_CRC_test == true)
{
LOG(INFO) << "Galileo CRC correct on channel " << d_channel;
std::cout << "Galileo CRC correct on channel " << d_channel << std::endl;
LOG(INFO) << "Galileo CRC correct on channel " << d_channel << " from satellite " << d_satellite;
std::cout << "Galileo CRC correct on channel " << d_channel << " from satellite " << d_satellite << std::endl;
}
else
{
std::cout << "Galileo CRC error on channel " << d_channel << std::endl;
LOG(INFO) << "Galileo CRC error on channel " << d_channel;
std::cout << "Galileo CRC error on channel " << d_channel << " from satellite " << d_satellite << std::endl;
LOG(INFO) << "Galileo CRC error on channel " << d_channel << " from satellite " << d_satellite;
}
flag_even_word_arrived = 0;
}

View File

@ -158,13 +158,13 @@ void galileo_e5a_telemetry_decoder_cc::decode_word(double *page_symbols,int fram
d_nav.split_page(page_String);
if(d_nav.flag_CRC_test == true)
{
LOG(INFO) << "Galileo CRC correct on channel " << d_channel;
std::cout << "Galileo CRC correct on channel " << d_channel << std::endl;
LOG(INFO) << "Galileo CRC correct on channel " << d_channel << " from satellite " << d_satellite;
std::cout << "Galileo CRC correct on channel " << d_channel << " from satellite " << d_satellite << std::endl;
}
else
{
std::cout << "Galileo CRC error on channel " << d_channel << std::endl;
LOG(INFO)<< "Galileo CRC error on channel " << d_channel;
std::cout << "Galileo CRC error on channel " << d_channel << " from satellite " << d_satellite << std::endl;
LOG(INFO)<< "Galileo CRC error on channel " << d_channel << " from satellite " << d_satellite;
}
// 4. Push the new navigation data to the queues