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

Report HAS message test mode in terminal

This commit is contained in:
Carles Fernandez 2021-06-02 16:57:23 +02:00
parent dde6f8f44a
commit ab6a774f4a
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D

View File

@ -539,7 +539,9 @@ void galileo_telemetry_decoder_gs::decode_CNAV_word(float *page_symbols, int32_t
if (is_page_dummy != d_cnav_dummy_page)
{
d_cnav_dummy_page = is_page_dummy;
std::cout << TEXT_MAGENTA << "Receiving Galileo E6 CNAV dummy pages in channel " << d_channel << " from satellite " << d_satellite << TEXT_RESET << '\n';
std::cout << TEXT_MAGENTA << "Receiving Galileo E6 CNAV dummy pages in channel "
<< d_channel << " from satellite " << d_satellite
<< TEXT_RESET << '\n';
}
}
else
@ -547,7 +549,10 @@ void galileo_telemetry_decoder_gs::decode_CNAV_word(float *page_symbols, int32_t
const std::shared_ptr<Galileo_HAS_page> tmp_obj = std::make_shared<Galileo_HAS_page>(d_cnav_nav.get_HAS_encoded_page());
// TODO: send to the decoder
// this->message_port_pub(pmt::mp("telemetry"), pmt::make_any(tmp_obj));
std::cout << TEXT_MAGENTA << "New Galileo E6 HAS page received in channel " << d_channel << " from satellite " << d_satellite << TEXT_RESET << '\n';
std::cout << TEXT_MAGENTA << "New Galileo E6 HAS page received in channel "
<< d_channel << " from satellite " << d_satellite
<< (d_cnav_nav.is_HAS_in_test_mode() == true ? " (test mode)" : "")
<< TEXT_RESET << '\n';
}
}
}