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

Public Member Functions

cras::expected< bool, std::string > download (const DayIndex &day)
 
fs::path getCacheFile (const DayIndex &day) const
 

Public Attributes

fs::path cacheDir
 
std::unordered_set< std::string > constellations
 
std::unordered_set< DayIndexloadedDays
 
size_t maxDownloadDays {1000u}
 
std::unordered_map< std::string, std::string > satdbConstellations
 
std::pair< ros::Time, ros::TimetimeRange
 
std::string urlFormat
 

Detailed Description

Definition at line 272 of file ethz_satdb_datasource.cpp.

Member Function Documentation

◆ download()

cras::expected< bool, std::string > gnss_info::EthzSatdbDataSourcePrivate::download ( const DayIndex day)

Definition at line 302 of file ethz_satdb_datasource.cpp.

◆ getCacheFile()

fs::path gnss_info::EthzSatdbDataSourcePrivate::getCacheFile ( const DayIndex day) const

Definition at line 296 of file ethz_satdb_datasource.cpp.

Member Data Documentation

◆ cacheDir

fs::path gnss_info::EthzSatdbDataSourcePrivate::cacheDir

Definition at line 283 of file ethz_satdb_datasource.cpp.

◆ constellations

std::unordered_set<std::string> gnss_info::EthzSatdbDataSourcePrivate::constellations

Definition at line 275 of file ethz_satdb_datasource.cpp.

◆ loadedDays

std::unordered_set<DayIndex> gnss_info::EthzSatdbDataSourcePrivate::loadedDays

Definition at line 276 of file ethz_satdb_datasource.cpp.

◆ maxDownloadDays

size_t gnss_info::EthzSatdbDataSourcePrivate::maxDownloadDays {1000u}

Definition at line 282 of file ethz_satdb_datasource.cpp.

◆ satdbConstellations

std::unordered_map<std::string, std::string> gnss_info::EthzSatdbDataSourcePrivate::satdbConstellations
Initial value:
{
{gnss_info_msgs::Enums::CONSTELLATION_GPS, "NAVSTAR"},
{gnss_info_msgs::Enums::CONSTELLATION_GALILEO, "GSAT0"},
{gnss_info_msgs::Enums::CONSTELLATION_BEIDOU, "BEIDOU"},
{gnss_info_msgs::Enums::CONSTELLATION_GLONASS, "COSMOS"}
}

Definition at line 285 of file ethz_satdb_datasource.cpp.

◆ timeRange

std::pair<ros::Time, ros::Time> gnss_info::EthzSatdbDataSourcePrivate::timeRange

Definition at line 274 of file ethz_satdb_datasource.cpp.

◆ urlFormat

std::string gnss_info::EthzSatdbDataSourcePrivate::urlFormat
Initial value:
{"https://satdb.ethz.ch/api/satellitedata/?object-name=%s&"
"start-datetime=%sT0000&end-datetime=%sT0000&before=3&after=3&"
"without-frequency-data=True"}

Definition at line 278 of file ethz_satdb_datasource.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