Skip to content

Commit

Permalink
Allow for multi-system configurations containing Galileo E6
Browse files Browse the repository at this point in the history
  • Loading branch information
carlesfernandez committed Sep 6, 2022
1 parent 65c7af2 commit 45e1fa3
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/core/receiver/gnss_flowgraph.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 45e1fa3

Please sign in to comment.