PIMPL data holder. More...
Public Member Functions | |
bool | downloadMetadata () const |
Download the IGS satellite catalog file to cacheFile. More... | |
bool | loadSignals () |
Load the mappings of available satellite signals from YAML configs into blockSignals. More... | |
Public Attributes | |
std::unordered_map< std::string, GNSSBlock > | blockSignals |
Maps GNSS block name to all signals transmitted by satellites from the block. More... | |
std::string | cacheFile {} |
ros::WallDuration | cacheValidity {ros::WallDuration::DAY * 30} |
Max age of the cache file. If it is older, it is redownloaded. More... | |
std::unordered_map< uint32_t, std::string > | satcatToSvn |
std::unordered_map< std::string, uint32_t > | svnToSatcat |
Maps SVN to Satcat ID. More... | |
std::unordered_map< std::string, std::list< SatelliteFrequencyChannel > > | svnToSatChannel |
Maps SVN to all parsed SATELLITE/FREQUENCY_CHANNEL block entries related to the SVN (GLONASS only). More... | |
std::unordered_map< std::string, SatelliteIdentifier > | svnToSatInfo |
Maps SVN to parsed SATELLITE/IDENTIFIER block entry. More... | |
std::unordered_map< std::string, std::list< SatellitePRN > > | svnToSatPRN |
Maps SVN to all parsed SATELLITE/PRN block entries related to the SVN. More... | |
std::string | url {} |
URL to download the metadata from. More... | |
PIMPL data holder.
Definition at line 366 of file igs_satellite_metadata.cpp.
bool gnss_info::IGSSatelliteMetadataPrivate::downloadMetadata | ( | ) | const |
Download the IGS satellite catalog file to cacheFile.
Definition at line 397 of file igs_satellite_metadata.cpp.
bool gnss_info::IGSSatelliteMetadataPrivate::loadSignals | ( | ) |
Load the mappings of available satellite signals from YAML configs into blockSignals.
Definition at line 434 of file igs_satellite_metadata.cpp.
std::unordered_map<std::string, GNSSBlock> gnss_info::IGSSatelliteMetadataPrivate::blockSignals |
Maps GNSS block name to all signals transmitted by satellites from the block.
Definition at line 382 of file igs_satellite_metadata.cpp.
std::string gnss_info::IGSSatelliteMetadataPrivate::cacheFile {} |
Path to the cache file.
Definition at line 369 of file igs_satellite_metadata.cpp.
ros::WallDuration gnss_info::IGSSatelliteMetadataPrivate::cacheValidity {ros::WallDuration::DAY * 30} |
Max age of the cache file. If it is older, it is redownloaded.
Definition at line 371 of file igs_satellite_metadata.cpp.
std::unordered_map<uint32_t, std::string> gnss_info::IGSSatelliteMetadataPrivate::satcatToSvn |
Maps Satcat ID to SVN.
Definition at line 374 of file igs_satellite_metadata.cpp.
std::unordered_map<std::string, uint32_t> gnss_info::IGSSatelliteMetadataPrivate::svnToSatcat |
Maps SVN to Satcat ID.
Definition at line 373 of file igs_satellite_metadata.cpp.
std::unordered_map<std::string, std::list<SatelliteFrequencyChannel> > gnss_info::IGSSatelliteMetadataPrivate::svnToSatChannel |
Maps SVN to all parsed SATELLITE/FREQUENCY_CHANNEL block entries related to the SVN (GLONASS only).
Definition at line 380 of file igs_satellite_metadata.cpp.
std::unordered_map<std::string, SatelliteIdentifier> gnss_info::IGSSatelliteMetadataPrivate::svnToSatInfo |
Maps SVN to parsed SATELLITE/IDENTIFIER block entry.
Definition at line 376 of file igs_satellite_metadata.cpp.
std::unordered_map<std::string, std::list<SatellitePRN> > gnss_info::IGSSatelliteMetadataPrivate::svnToSatPRN |
Maps SVN to all parsed SATELLITE/PRN block entries related to the SVN.
Definition at line 378 of file igs_satellite_metadata.cpp.
std::string gnss_info::IGSSatelliteMetadataPrivate::url {} |
URL to download the metadata from.
Definition at line 368 of file igs_satellite_metadata.cpp.