GNSS-SDR 0.0.21
An Open Source GNSS Software Defined Receiver
Loading...
Searching...
No Matches
pvt_conf.h
Go to the documentation of this file.
1/*!
2 * \file pvt_conf.h
3 * \brief Class that contains all the configuration parameters for the PVT block
4 * \author Carles Fernandez, 2018. cfernandez(at)cttc.es
5 *
6 * -----------------------------------------------------------------------------
7 *
8 * GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
9 * This file is part of GNSS-SDR.
10 *
11 * Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors)
12 * SPDX-License-Identifier: GPL-3.0-or-later
13 *
14 * -----------------------------------------------------------------------------
15 */
16
17#ifndef GNSS_SDR_PVT_CONF_H
18#define GNSS_SDR_PVT_CONF_H
19
20#include <cstdint>
21#include <map>
22#include <string>
23
24/** \addtogroup PVT
25 * \{ */
26/** \addtogroup PVT_libs
27 * \{ */
28
29
31{
32public:
33 std::map<int, int> rtcm_msg_rate_ms;
34
35 std::string rinex_name = std::string("-");
36 std::string dump_filename;
37 std::string nmea_dump_filename;
38 std::string nmea_dump_devname;
39 std::string rtcm_dump_devname;
40 std::string an_dump_devname;
41 std::string output_path = std::string(".");
42 std::string rinex_output_path = std::string(".");
43 std::string gpx_output_path = std::string(".");
44 std::string geojson_output_path = std::string(".");
45 std::string nmea_output_file_path = std::string(".");
46 std::string kml_output_path = std::string(".");
47 std::string xml_output_path = std::string(".");
48 std::string rtcm_output_file_path = std::string(".");
49 std::string has_output_file_path = std::string(".");
50 std::string udp_addresses;
51 std::string udp_ports;
52 std::string udp_eph_addresses;
53 std::string log_source_timetag_file;
54
55 uint32_t signal_enabled_flags = 0;
56 uint32_t observable_interval_ms = 20;
57
58 int32_t output_rate_ms = 0;
59 int32_t display_rate_ms = 0;
60 int32_t kml_rate_ms = 20;
61 int32_t gpx_rate_ms = 20;
62 int32_t geojson_rate_ms = 20;
63 int32_t nmea_rate_ms = 20;
64 int32_t rinex_version = 0;
65 int32_t rinexobs_rate_ms = 0;
66 int32_t an_rate_ms = 20;
67 int32_t max_obs_block_rx_clock_offset_ms = 40;
68 int udp_eph_port = 0;
69 int rtk_trace_level = 0;
70
71 uint16_t rtcm_tcp_port = 0;
72 uint16_t rtcm_station_id = 0;
73
74 bool flag_nmea_tty_port = false;
75 bool flag_rtcm_server = false;
76 bool flag_rtcm_tty_port = false;
77 bool output_enabled = true;
78 bool rinex_output_enabled = true;
79 bool gpx_output_enabled = true;
80 bool geojson_output_enabled = true;
81 bool nmea_output_file_enabled = true;
82 bool an_output_enabled = false;
83 bool kml_output_enabled = true;
84 bool xml_output_enabled = true;
85 bool rtcm_output_file_enabled = true;
86 bool monitor_enabled = false;
87 bool monitor_ephemeris_enabled = false;
88 bool protobuf_enabled = true;
89 bool enable_rx_clock_correction = true;
90 bool show_local_time_zone = false;
91 bool pre_2009_file = false;
92 bool dump = false;
93 bool dump_mat = true;
94 bool log_source_timetag = false;
95 bool use_e6_for_pvt = true;
96 bool use_has_corrections = true;
97 bool use_unhealthy_sats = false;
98 bool osnma_strict = false;
99
100 // PVT KF parameters
101 bool enable_pvt_kf = false;
102 double measures_ecef_pos_sd_m = 1.0;
103 double measures_ecef_vel_sd_ms = 0.1;
104 double system_ecef_pos_sd_m = 0.01;
105 double system_ecef_vel_sd_ms = 0.001;
106
107 // Sensor Data parameters
108 bool kf_use_imu_vel = false;
109};
110
111
112/** \} */
113/** \} */
114#endif // GNSS_SDR_PVT_CONF_H