From 86bfb5447a6721d2f4ffa618dc7b1c9e845d512b Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Tue, 19 May 2015 17:15:18 +0200 Subject: [PATCH] Reporting Galileo satellite in CRC result at the terminal output --- .../gnuradio_blocks/galileo_e1b_telemetry_decoder_cc.cc | 8 ++++---- .../gnuradio_blocks/galileo_e5a_telemetry_decoder_cc.cc | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/algorithms/telemetry_decoder/gnuradio_blocks/galileo_e1b_telemetry_decoder_cc.cc b/src/algorithms/telemetry_decoder/gnuradio_blocks/galileo_e1b_telemetry_decoder_cc.cc index 3b82940c2..ec6ee8e3c 100644 --- a/src/algorithms/telemetry_decoder/gnuradio_blocks/galileo_e1b_telemetry_decoder_cc.cc +++ b/src/algorithms/telemetry_decoder/gnuradio_blocks/galileo_e1b_telemetry_decoder_cc.cc @@ -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; } diff --git a/src/algorithms/telemetry_decoder/gnuradio_blocks/galileo_e5a_telemetry_decoder_cc.cc b/src/algorithms/telemetry_decoder/gnuradio_blocks/galileo_e5a_telemetry_decoder_cc.cc index 53a8eb825..8f9ee1419 100644 --- a/src/algorithms/telemetry_decoder/gnuradio_blocks/galileo_e5a_telemetry_decoder_cc.cc +++ b/src/algorithms/telemetry_decoder/gnuradio_blocks/galileo_e5a_telemetry_decoder_cc.cc @@ -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