diff --git a/src/algorithms/PVT/libs/rinex_printer.cc b/src/algorithms/PVT/libs/rinex_printer.cc index 9d52df333..ff63aede7 100644 --- a/src/algorithms/PVT/libs/rinex_printer.cc +++ b/src/algorithms/PVT/libs/rinex_printer.cc @@ -1170,7 +1170,8 @@ void Rinex_Printer::log_rinex_nav(std::ofstream& out, std::mapsecond.E1B_HS_5 == 0) E1B_HS = "00"; if (galileo_ephemeris_iter->second.E1B_HS_5 == 1) E1B_HS = "01"; if (galileo_ephemeris_iter->second.E1B_HS_5 == 2) E1B_HS = "10"; @@ -1179,10 +1180,12 @@ void Rinex_Printer::log_rinex_nav(std::ofstream& out, std::mapsecond.E5b_HS_5 == 1) E5B_HS = "01"; if (galileo_ephemeris_iter->second.E5b_HS_5 == 2) E5B_HS = "10"; if (galileo_ephemeris_iter->second.E5b_HS_5 == 3) E5B_HS = "11"; - std::string SVhealth_str = boost::lexical_cast(galileo_ephemeris_iter->second.E1B_DVS_5) + /* std::string SVhealth_str = boost::lexical_cast(galileo_ephemeris_iter->second.E1B_DVS_5) + E1B_HS + boost::lexical_cast(galileo_ephemeris_iter->second.E1B_DVS_5) + "1" + "11" + boost::lexical_cast(galileo_ephemeris_iter->second.E5b_DVS_5) - + E5B_HS; + + E5B_HS;*/ + std::string SVhealth_str = E5B_HS + boost::lexical_cast(galileo_ephemeris_iter->second.E5b_DVS_5) + "11" + "1" + boost::lexical_cast(galileo_ephemeris_iter->second.E1B_DVS_5) + E1B_HS + boost::lexical_cast(galileo_ephemeris_iter->second.E1B_DVS_5); + int SVhealth = Rinex_Printer::toInt(SVhealth_str, 9); line += Rinex_Printer::doub2for(static_cast(SVhealth), 18, 2); // line += std::string(1, ' ');