mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-13 19:50:34 +00:00
Using wrong ephemeris map for GLONASS satellites
This commit is contained in:
parent
875b622cd1
commit
2792aafe19
@ -510,9 +510,9 @@ bool Gnss_Sdr_Supl_Client::load_gnav_ephemeris_xml(const std::string& file_name)
|
||||
{
|
||||
ifs.open(file_name.c_str(), std::ifstream::binary | std::ifstream::in);
|
||||
boost::archive::xml_iarchive xml(ifs);
|
||||
gps_cnav_ephemeris_map.clear();
|
||||
glonass_gnav_ephemeris_map.clear();
|
||||
xml >> boost::serialization::make_nvp("GNSS-SDR_gnav_ephemeris_map", this->glonass_gnav_ephemeris_map);
|
||||
LOG(INFO) << "Loaded GLONASS ephemeris map data with " << this->gps_cnav_ephemeris_map.size() << " satellites";
|
||||
LOG(INFO) << "Loaded GLONASS ephemeris map data with " << this->glonass_gnav_ephemeris_map.size() << " satellites";
|
||||
}
|
||||
catch (std::exception& e)
|
||||
{
|
||||
|
@ -144,7 +144,7 @@ public:
|
||||
/*!
|
||||
* \brief Save GLONASS GNAV ephemeris map to XML file.
|
||||
*/
|
||||
bool save_gnav_ephemeris_map_xml(const std::string &file_name,
|
||||
bool save_gnav_ephemeris_map_xml(const std::string& file_name,
|
||||
std::map<int, Glonass_Gnav_Ephemeris> eph_map);
|
||||
|
||||
/*!
|
||||
|
Loading…
Reference in New Issue
Block a user