Namespaces | Functions
constellations.cpp File Reference
#include <string>
#include <utility>
#include <gnsstk/SatID.hpp>
#include <cras_cpp_common/optional.hpp>
#include <cras_cpp_common/string_utils.hpp>
#include <gnsstk_ros/constellations.h>
#include <gnss_info_msgs/Enums.h>
#include <gnss_info_msgs/SatelliteInfo.h>
Include dependency graph for constellations.cpp:

Go to the source code of this file.

Namespaces

 gnsstk_ros
 

Functions

cras::optional< std::string > gnsstk_ros::getRosConstellationFromPRN (const std::string &prn)
 Get constellation name from the given PRN string like E03. More...
 
cras::optional< std::string > gnsstk_ros::getRosConstellationFromSVN (const std::string &svn)
 Get constellation name from the given SVN string like E203. More...
 
cras::optional< std::string > gnsstk_ros::gnsstkSatelliteSystemRosConstellation (const gnsstk::SatelliteSystem &constellation)
 Convert the gnsstk constellation enum to gnss_info_msgs constellation string. More...
 
cras::optional< std::string > gnsstk_ros::prnIntToString (int32_t prn, const std::string &constellation)
 Convert the given numeric PRN and constellation to string PRN like E03. More...
 
cras::optional< std::pair< int32_t, std::string > > gnsstk_ros::prnStringToInt (const std::string &prn)
 Convert the given PRN string like E03 to integer like 3 and constellation name. More...
 
cras::optional< gnsstk::SatelliteSystemgnsstk_ros::rosConstellationToGnsstkSatelliteSystem (const std::string &constellation)
 Convert the gnss_info_msgs constellation string to gnsstk constellation enum. More...
 
cras::optional< gnsstk::SatIDgnsstk_ros::satelliteInfoToSatID (const gnss_info_msgs::SatelliteInfo &info)
 Convert the given satellite info to non-wildcard gnsstk SatID. More...
 


gnsstk_ros
Author(s): Martin Pecka
autogenerated on Fri Nov 24 2023 03:50:23