2018-10-27 22:42:28 +00:00
|
|
|
/*!
|
|
|
|
* \file pvt_conf.cc
|
|
|
|
* \brief Class that contains all the configuration parameters for a PVT block
|
|
|
|
* \author Carles Fernandez, 2018. cfernandez(at)cttc.es
|
|
|
|
*
|
2020-07-28 14:57:15 +00:00
|
|
|
* -----------------------------------------------------------------------------
|
2018-10-27 22:42:28 +00:00
|
|
|
*
|
2020-07-28 14:57:15 +00:00
|
|
|
* Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors)
|
2018-10-27 22:42:28 +00:00
|
|
|
*
|
|
|
|
* GNSS-SDR is a software defined Global Navigation
|
|
|
|
* Satellite Systems receiver
|
|
|
|
*
|
|
|
|
* This file is part of GNSS-SDR.
|
|
|
|
*
|
2020-02-08 00:20:02 +00:00
|
|
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
2018-10-27 22:42:28 +00:00
|
|
|
*
|
2020-07-28 14:57:15 +00:00
|
|
|
* -----------------------------------------------------------------------------
|
2018-10-27 22:42:28 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#include "pvt_conf.h"
|
|
|
|
|
|
|
|
Pvt_Conf::Pvt_Conf()
|
|
|
|
{
|
|
|
|
type_of_receiver = 0U;
|
|
|
|
output_rate_ms = 0;
|
|
|
|
display_rate_ms = 0;
|
2019-06-16 18:27:00 +00:00
|
|
|
kml_rate_ms = 1000;
|
|
|
|
gpx_rate_ms = 1000;
|
|
|
|
geojson_rate_ms = 1000;
|
|
|
|
nmea_rate_ms = 1000;
|
2018-10-27 22:42:28 +00:00
|
|
|
|
2019-08-01 16:11:36 +00:00
|
|
|
max_obs_block_rx_clock_offset_ms = 40;
|
2018-10-27 22:42:28 +00:00
|
|
|
rinex_version = 0;
|
|
|
|
rinexobs_rate_ms = 0;
|
2020-02-25 13:43:15 +00:00
|
|
|
rinex_name = "-";
|
2018-10-27 22:42:28 +00:00
|
|
|
|
|
|
|
dump = false;
|
2018-10-31 13:56:59 +00:00
|
|
|
dump_mat = true;
|
2018-10-27 22:42:28 +00:00
|
|
|
|
|
|
|
flag_nmea_tty_port = false;
|
|
|
|
|
|
|
|
flag_rtcm_server = false;
|
|
|
|
flag_rtcm_tty_port = false;
|
|
|
|
rtcm_tcp_port = 0U;
|
|
|
|
rtcm_station_id = 0U;
|
|
|
|
|
|
|
|
output_enabled = true;
|
|
|
|
rinex_output_enabled = true;
|
|
|
|
gpx_output_enabled = true;
|
|
|
|
geojson_output_enabled = true;
|
|
|
|
nmea_output_file_enabled = true;
|
|
|
|
kml_output_enabled = true;
|
|
|
|
xml_output_enabled = true;
|
|
|
|
rtcm_output_file_enabled = true;
|
|
|
|
|
|
|
|
output_path = std::string(".");
|
|
|
|
rinex_output_path = std::string(".");
|
|
|
|
gpx_output_path = std::string(".");
|
|
|
|
geojson_output_path = std::string(".");
|
|
|
|
nmea_output_file_path = std::string(".");
|
|
|
|
kml_output_path = std::string(".");
|
|
|
|
xml_output_path = std::string(".");
|
|
|
|
rtcm_output_file_path = std::string(".");
|
2019-02-14 21:49:36 +00:00
|
|
|
|
2019-09-11 22:31:34 +00:00
|
|
|
enable_rx_clock_correction = true;
|
2019-02-14 21:49:36 +00:00
|
|
|
monitor_enabled = false;
|
2019-04-21 11:30:59 +00:00
|
|
|
protobuf_enabled = true;
|
2019-02-14 21:49:36 +00:00
|
|
|
udp_port = 0;
|
2019-09-18 16:25:07 +00:00
|
|
|
pre_2009_file = false;
|
2019-03-15 12:31:18 +00:00
|
|
|
show_local_time_zone = false;
|
2018-10-27 22:42:28 +00:00
|
|
|
}
|