diff --git a/src/algorithms/PVT/libs/rtcm_printer.cc b/src/algorithms/PVT/libs/rtcm_printer.cc index c96577a01..2c8adcff6 100644 --- a/src/algorithms/PVT/libs/rtcm_printer.cc +++ b/src/algorithms/PVT/libs/rtcm_printer.cc @@ -1471,10 +1471,8 @@ void Rtcm_Printer::Print_Rtcm_Messages(const Rtklib_Solver* pvt_solver, } if (rtcm_MSM_rate_ms != 0) { - auto gal_eph_iter = pvt_solver->galileo_ephemeris_map.cbegin(); auto gps_eph_iter = pvt_solver->gps_ephemeris_map.cbegin(); int gps_channel = 0; - int gal_channel = 0; for (const auto& gnss_observables_iter : gnss_observables_map) { const std::string system(gnss_observables_iter.second.System, 1); @@ -1490,26 +1488,11 @@ void Rtcm_Printer::Print_Rtcm_Messages(const Rtklib_Solver* pvt_solver, } } } - if (gal_channel == 0) - { - if (system == "E") - { - gal_eph_iter = pvt_solver->galileo_ephemeris_map.find(gnss_observables_iter.second.PRN); - if (gal_eph_iter != pvt_solver->galileo_ephemeris_map.cend()) - { - gal_channel = 1; - } - } - } } if (gps_eph_iter != pvt_solver->gps_ephemeris_map.cend()) { Print_Rtcm_MSM(7, gps_eph_iter->second, {}, {}, {}, rx_time, gnss_observables_map, enable_rx_clock_correction, 0, 0, false, false); } - if (gal_eph_iter != pvt_solver->galileo_ephemeris_map.cend()) - { - Print_Rtcm_MSM(7, {}, {}, gal_eph_iter->second, {}, rx_time, gnss_observables_map, enable_rx_clock_correction, 0, 0, false, false); - } } d_rtcm_writing_started = true; break;