20 #ifndef GNSS_SDR_RTCM_PRINTER_H 21 #define GNSS_SDR_RTCM_PRINTER_H 56 bool flag_rtcm_file_dump,
57 bool flag_rtcm_server,
58 bool flag_rtcm_tty_port,
59 uint16_t rtcm_tcp_port,
60 uint16_t rtcm_station_id,
61 const std::string& rtcm_dump_devname,
62 uint32_t signal_enabled_flags,
63 bool time_tag_name =
true,
64 const std::string& base_path =
".");
75 const std::map<int, Gnss_Synchro>& gnss_observables_map,
77 bool rtcm_MSM_enabled,
78 bool rtcm_MT1019_enabled,
79 bool rtcm_MT1020_enabled,
80 bool rtcm_MT1045_enabled,
81 bool rtcm_MT1077_enabled,
82 bool rtcm_MT1087_enabled,
83 bool rtcm_MT1097_enabled,
84 bool flag_write_RTCM_MSM_output,
85 bool flag_write_RTCM_1019_output,
86 bool flag_write_RTCM_1020_output,
87 bool flag_write_RTCM_1045_output,
88 bool enable_rx_clock_correction);
109 bool Print_Rtcm_MT1001(
const Gps_Ephemeris& gps_eph,
double obs_time,
const std::map<int32_t, Gnss_Synchro>& observables);
110 bool Print_Rtcm_MT1002(
const Gps_Ephemeris& gps_eph,
double obs_time,
const std::map<int32_t, Gnss_Synchro>& observables);
111 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);
112 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);
123 bool Print_Rtcm_MT1009(
const Glonass_Gnav_Ephemeris& glonass_gnav_eph,
double obs_time,
const std::map<int32_t, Gnss_Synchro>& observables);
134 bool Print_Rtcm_MT1010(
const Glonass_Gnav_Ephemeris& glonass_gnav_eph,
double obs_time,
const std::map<int32_t, Gnss_Synchro>& observables);
173 bool Print_Rtcm_MSM(uint32_t msm_number,
179 const std::map<int32_t, Gnss_Synchro>& observables,
180 uint32_t clock_steering_indicator,
181 uint32_t external_clock_indicator,
183 bool divergence_free,
191 int32_t init_serial(
const std::string& serial_device);
192 void close_serial()
const;
193 bool Print_Message(
const std::string& message);
195 std::unique_ptr<Rtcm> rtcm;
196 std::ofstream rtcm_file_descriptor;
197 std::string rtcm_filename;
198 std::string rtcm_base_path;
199 std::string rtcm_devname;
200 int32_t rtcm_dev_descriptor;
203 bool d_rtcm_has_written_once;
204 bool d_rtcm_file_dump;
211 #endif // GNSS_SDR_RTCM_PRINTER_H void Print_Rtcm_Messages(const Rtklib_Solver *pvt_solver, const std::map< int, Gnss_Synchro > &gnss_observables_map, double rx_time, bool rtcm_MSM_enabled, bool rtcm_MT1019_enabled, bool rtcm_MT1020_enabled, bool rtcm_MT1045_enabled, bool rtcm_MT1077_enabled, bool rtcm_MT1087_enabled, bool rtcm_MT1097_enabled, 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.
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.
Class to check the enabled signals.
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...
~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, uint32_t signal_enabled_flags, bool time_tag_name=true, const std::string &base_path=".")
Default constructor.