From af56520798c91b1fbad1a969ef08ec1096e94acd Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Mon, 9 May 2016 19:24:29 +0200 Subject: [PATCH] Fix Galileo MSM message numbers --- src/algorithms/PVT/adapters/galileo_e1_pvt.cc | 2 +- src/algorithms/PVT/gnuradio_blocks/galileo_e1_pvt_cc.cc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/algorithms/PVT/adapters/galileo_e1_pvt.cc b/src/algorithms/PVT/adapters/galileo_e1_pvt.cc index 72b2bb4b4..e2c75df27 100644 --- a/src/algorithms/PVT/adapters/galileo_e1_pvt.cc +++ b/src/algorithms/PVT/adapters/galileo_e1_pvt.cc @@ -83,7 +83,7 @@ GalileoE1Pvt::GalileoE1Pvt(ConfigurationInterface* configuration, int rtcm_MSM_rate_ms = boost::math::lcm(configuration->property(role + ".rtcm_MSM_rate_ms", 1000), output_rate_ms); std::map rtcm_msg_rate_ms; rtcm_msg_rate_ms[1045] = rtcm_MT1045_rate_ms; - for (int k = 1071; k < 1078; k++) // All GPS MSM + for (int k = 1091; k < 1098; k++) // All Galileo MSM { rtcm_msg_rate_ms[k] = rtcm_MSM_rate_ms; } diff --git a/src/algorithms/PVT/gnuradio_blocks/galileo_e1_pvt_cc.cc b/src/algorithms/PVT/gnuradio_blocks/galileo_e1_pvt_cc.cc index cfb45580e..a9717e568 100644 --- a/src/algorithms/PVT/gnuradio_blocks/galileo_e1_pvt_cc.cc +++ b/src/algorithms/PVT/gnuradio_blocks/galileo_e1_pvt_cc.cc @@ -152,9 +152,9 @@ galileo_e1_pvt_cc::galileo_e1_pvt_cc(unsigned int nchannels, bool dump, std::str { d_rtcm_MT1045_rate_ms = boost::math::lcm(5000, d_output_rate_ms); // default value if not set } - if(rtcm_msg_rate_ms.find(1071) != rtcm_msg_rate_ms.end()) // whatever between 1071 and 1077 + if(rtcm_msg_rate_ms.find(1091) != rtcm_msg_rate_ms.end()) // whatever between 1091 and 1097 { - d_rtcm_MSM_rate_ms = rtcm_msg_rate_ms[1071]; + d_rtcm_MSM_rate_ms = rtcm_msg_rate_ms[1091]; } else {