Allow for multi-system configurations containing Galileo E6

This commit is contained in:
Carles Fernandez 2022-09-06 12:03:17 +02:00
parent 65c7af282a
commit 45e1fa3ade
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D
1 changed files with 6 additions and 2 deletions

View File

@ -814,8 +814,12 @@ int GNSSFlowgraph::connect_galileo_tow_map()
{
for (int i = 0; i < channels_count_; i++)
{
top_block_->msg_connect(channels_.at(i)->get_right_block(), pmt::mp("TOW_from_TLM"), galileo_tow_map_, pmt::mp("TOW_from_TLM"));
top_block_->msg_connect(galileo_tow_map_, pmt::mp("TOW_to_TLM"), channels_.at(i)->get_right_block(), pmt::mp("TOW_to_TLM"));
std::string sig = channels_.at(i)->get_signal().get_signal_str();
if (sig == "1B" || sig == "E6" || sig == "5X" || sig == "7X")
{
top_block_->msg_connect(channels_.at(i)->get_right_block(), pmt::mp("TOW_from_TLM"), galileo_tow_map_, pmt::mp("TOW_from_TLM"));
top_block_->msg_connect(galileo_tow_map_, pmt::mp("TOW_to_TLM"), channels_.at(i)->get_right_block(), pmt::mp("TOW_to_TLM"));
}
}
}
catch (const std::exception& e)