20 #ifndef GNSS_SDR_RTCM_PRINTER_H 21 #define GNSS_SDR_RTCM_PRINTER_H 54 bool flag_rtcm_file_dump,
55 bool flag_rtcm_server,
56 bool flag_rtcm_tty_port,
57 uint16_t rtcm_tcp_port,
58 uint16_t rtcm_station_id,
59 const std::string& rtcm_dump_devname,
60 bool time_tag_name =
true,
61 const std::string& base_path =
".");
72 const std::map<int, Gnss_Synchro>& gnss_observables_map,
75 int32_t rtcm_MSM_rate_ms,
76 int32_t rtcm_MT1019_rate_ms,
77 int32_t rtcm_MT1020_rate_ms,
78 int32_t rtcm_MT1045_rate_ms,
79 int32_t rtcm_MT1077_rate_ms,
80 int32_t rtcm_MT1097_rate_ms,
81 bool flag_write_RTCM_MSM_output,
82 bool flag_write_RTCM_1019_output,
83 bool flag_write_RTCM_1020_output,
84 bool flag_write_RTCM_1045_output,
85 bool enable_rx_clock_correction);
104 bool Print_Rtcm_MT1001(
const Gps_Ephemeris& gps_eph,
double obs_time,
const std::map<int32_t, Gnss_Synchro>& observables);
105 bool Print_Rtcm_MT1002(
const Gps_Ephemeris& gps_eph,
double obs_time,
const std::map<int32_t, Gnss_Synchro>& observables);
106 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);
107 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);
118 bool Print_Rtcm_MT1009(
const Glonass_Gnav_Ephemeris& glonass_gnav_eph,
double obs_time,
const std::map<int32_t, Gnss_Synchro>& observables);
129 bool Print_Rtcm_MT1010(
const Glonass_Gnav_Ephemeris& glonass_gnav_eph,
double obs_time,
const std::map<int32_t, Gnss_Synchro>& observables);
168 bool Print_Rtcm_MSM(uint32_t msm_number,
174 const std::map<int32_t, Gnss_Synchro>& observables,
175 uint32_t clock_steering_indicator,
176 uint32_t external_clock_indicator,
178 bool divergence_free,
181 int32_t init_serial(
const std::string& serial_device);
182 void close_serial()
const;
183 bool Print_Message(
const std::string& message);
185 std::unique_ptr<Rtcm> rtcm;
186 std::ofstream rtcm_file_descriptor;
187 std::string rtcm_filename;
188 std::string rtcm_base_path;
189 std::string rtcm_devname;
190 int32_t rtcm_dev_descriptor;
193 bool d_rtcm_writing_started;
194 bool d_rtcm_file_dump;
200 #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 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.