Public Member Functions | Public Attributes | List of all members
gnss_info::IGSSatelliteMetadataPrivate Struct Reference

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, GNSSBlockblockSignals
 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, SatelliteIdentifiersvnToSatInfo
 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...
 

Detailed Description

PIMPL data holder.

Definition at line 366 of file igs_satellite_metadata.cpp.

Member Function Documentation

◆ downloadMetadata()

bool gnss_info::IGSSatelliteMetadataPrivate::downloadMetadata ( ) const

Download the IGS satellite catalog file to cacheFile.

Returns
Whether the download succeeded.

Definition at line 397 of file igs_satellite_metadata.cpp.

◆ loadSignals()

bool gnss_info::IGSSatelliteMetadataPrivate::loadSignals ( )

Load the mappings of available satellite signals from YAML configs into blockSignals.

Returns
Whether the loading succeeded.

Definition at line 434 of file igs_satellite_metadata.cpp.

Member Data Documentation

◆ blockSignals

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.

◆ cacheFile

std::string gnss_info::IGSSatelliteMetadataPrivate::cacheFile {}

Path to the cache file.

Definition at line 369 of file igs_satellite_metadata.cpp.

◆ cacheValidity

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.

◆ satcatToSvn

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.

◆ svnToSatcat

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.

◆ svnToSatChannel

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.

◆ svnToSatInfo

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.

◆ svnToSatPRN

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.

◆ url

std::string gnss_info::IGSSatelliteMetadataPrivate::url {}

URL to download the metadata from.

Definition at line 368 of file igs_satellite_metadata.cpp.


The documentation for this struct was generated from the following file:


gnss_info
Author(s): Martin Pecka
autogenerated on Fri Nov 24 2023 03:50:35