20 #ifndef GNSS_SDR_RTCM_PRINTER_H 21 #define GNSS_SDR_RTCM_PRINTER_H 55 bool flag_rtcm_file_dump,
56 bool flag_rtcm_server,
57 bool flag_rtcm_tty_port,
58 uint16_t rtcm_tcp_port,
59 uint16_t rtcm_station_id,
60 const std::string& rtcm_dump_devname,
61 bool time_tag_name =
true,
62 const std::string& base_path =
".");
73 const std::map<int, Gnss_Synchro>& gnss_observables_map,
76 int32_t rtcm_MSM_rate_ms,
77 int32_t rtcm_MT1019_rate_ms,
78 int32_t rtcm_MT1020_rate_ms,
79 int32_t rtcm_MT1045_rate_ms,
80 int32_t rtcm_MT1077_rate_ms,
81 int32_t rtcm_MT1097_rate_ms,
82 bool flag_write_RTCM_MSM_output,
83 bool flag_write_RTCM_1019_output,
84 bool flag_write_RTCM_1020_output,
85 bool flag_write_RTCM_1045_output,
86 bool enable_rx_clock_correction);
107 bool Print_Rtcm_MT1001(
const Gps_Ephemeris& gps_eph,
double obs_time,
const std::map<int32_t, Gnss_Synchro>& observables);
108 bool Print_Rtcm_MT1002(
const Gps_Ephemeris& gps_eph,
double obs_time,
const std::map<int32_t, Gnss_Synchro>& observables);
109 bool Print_Rtcm_MT1003(
const Gps_Ephemeris& gps_eph,
const Gps_CNAV_Ephemeris& cnav_eph,
double obs_time,
const std::map<int32_t, Gnss_Synchro>& observables);
110 bool Print_Rtcm_MT1004(
const Gps_Ephemeris& gps_eph,
const Gps_CNAV_Ephemeris& cnav_eph,
double obs_time,
const std::map<int32_t, Gnss_Synchro>& observables);
121 bool Print_Rtcm_MT1009(
const Glonass_Gnav_Ephemeris& glonass_gnav_eph,
double obs_time,
const std::map<int32_t, Gnss_Synchro>& observables);
132 bool Print_Rtcm_MT1010(
const Glonass_Gnav_Ephemeris& glonass_gnav_eph,
double obs_time,
const std::map<int32_t, Gnss_Synchro>& observables);
171 bool Print_Rtcm_MSM(uint32_t msm_number,
177 const std::map<int32_t, Gnss_Synchro>& observables,
178 uint32_t clock_steering_indicator,
179 uint32_t external_clock_indicator,
181 bool divergence_free,
189 int32_t init_serial(
const std::string& serial_device);
190 void close_serial()
const;
191 bool Print_Message(
const std::string& message);
193 std::unique_ptr<Rtcm> rtcm;
194 std::ofstream rtcm_file_descriptor;
195 std::string rtcm_filename;
196 std::string rtcm_base_path;
197 std::string rtcm_devname;
198 int32_t rtcm_dev_descriptor;
201 bool d_rtcm_writing_started;
202 bool d_rtcm_file_dump;
208 #endif // GNSS_SDR_RTCM_PRINTER_H This is a storage class for the GPS CNAV ephemeris data as described in IS-GPS-200M.
This class is a storage and orbital model functions for the GPS SV ephemeris data as described in IS-...
This class is a storage for Galileo HAS message type 1, as defined in Galileo High Accuracy Service S...
This class provides a implementation of a subset of the RTCM Standard 10403.2 messages.
This class is a storage and orbital model functions for the GLONASS SV ephemeris data as described in...
This class implements a PVT solution based on RTKLIB.
std::string print_MT1005_test()
For testing purposes.
This is the class that contains the information that is shared by the processing blocks.
This class implements the generation and reading of some Message Types defined in the RTCM 3...
This class is a storage and orbital model functions for the Galileo SV ephemeris data as described in...
This class is a storage for the GLONASS GNAV UTC MODEL data as described in GLONASS ICD (Edition 5...
void Print_Rtcm_Messages(const Rtklib_Solver *pvt_solver, const std::map< int, Gnss_Synchro > &gnss_observables_map, double rx_time, int32_t type_of_rx, int32_t rtcm_MSM_rate_ms, int32_t rtcm_MT1019_rate_ms, int32_t rtcm_MT1020_rate_ms, int32_t rtcm_MT1045_rate_ms, int32_t rtcm_MT1077_rate_ms, int32_t rtcm_MT1097_rate_ms, bool flag_write_RTCM_MSM_output, bool flag_write_RTCM_1019_output, bool flag_write_RTCM_1020_output, bool flag_write_RTCM_1045_output, bool enable_rx_clock_correction)
Print RTCM messages.
~Rtcm_Printer()
Default destructor.
Rtcm_Printer(const std::string &filename, bool flag_rtcm_file_dump, bool flag_rtcm_server, bool flag_rtcm_tty_port, uint16_t rtcm_tcp_port, uint16_t rtcm_station_id, const std::string &rtcm_dump_devname, bool time_tag_name=true, const std::string &base_path=".")
Default constructor.