2018-10-27 22:42:28 +00:00
|
|
|
/*!
|
|
|
|
* \file pvt_conf.h
|
|
|
|
* \brief Class that contains all the configuration parameters for the 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
|
|
|
*/
|
|
|
|
|
2020-02-08 09:10:46 +00:00
|
|
|
#ifndef GNSS_SDR_PVT_CONF_H
|
|
|
|
#define GNSS_SDR_PVT_CONF_H
|
2018-10-27 22:42:28 +00:00
|
|
|
|
|
|
|
#include <cstdint>
|
|
|
|
#include <map>
|
2018-12-09 21:00:09 +00:00
|
|
|
#include <string>
|
2018-10-27 22:42:28 +00:00
|
|
|
|
|
|
|
class Pvt_Conf
|
|
|
|
{
|
|
|
|
public:
|
2020-06-23 07:47:58 +00:00
|
|
|
Pvt_Conf();
|
|
|
|
|
|
|
|
std::map<int, int> rtcm_msg_rate_ms;
|
|
|
|
|
|
|
|
std::string rinex_name;
|
|
|
|
std::string dump_filename;
|
|
|
|
std::string nmea_dump_filename;
|
|
|
|
std::string nmea_dump_devname;
|
|
|
|
std::string rtcm_dump_devname;
|
|
|
|
std::string 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 udp_addresses;
|
|
|
|
|
2018-10-27 22:42:28 +00:00
|
|
|
uint32_t type_of_receiver;
|
|
|
|
int32_t output_rate_ms;
|
|
|
|
int32_t display_rate_ms;
|
2019-06-16 18:27:00 +00:00
|
|
|
int32_t kml_rate_ms;
|
|
|
|
int32_t gpx_rate_ms;
|
|
|
|
int32_t geojson_rate_ms;
|
|
|
|
int32_t nmea_rate_ms;
|
2018-10-27 22:42:28 +00:00
|
|
|
int32_t rinex_version;
|
|
|
|
int32_t rinexobs_rate_ms;
|
2020-06-23 07:47:58 +00:00
|
|
|
int32_t max_obs_block_rx_clock_offset_ms;
|
|
|
|
int udp_port;
|
2018-10-27 22:42:28 +00:00
|
|
|
|
2020-06-23 07:47:58 +00:00
|
|
|
uint16_t rtcm_tcp_port;
|
|
|
|
uint16_t rtcm_station_id;
|
2018-10-27 22:42:28 +00:00
|
|
|
|
|
|
|
bool flag_nmea_tty_port;
|
|
|
|
bool flag_rtcm_server;
|
|
|
|
bool flag_rtcm_tty_port;
|
|
|
|
bool output_enabled;
|
|
|
|
bool rinex_output_enabled;
|
|
|
|
bool gpx_output_enabled;
|
|
|
|
bool geojson_output_enabled;
|
|
|
|
bool nmea_output_file_enabled;
|
|
|
|
bool kml_output_enabled;
|
|
|
|
bool xml_output_enabled;
|
|
|
|
bool rtcm_output_file_enabled;
|
2019-01-21 10:59:29 +00:00
|
|
|
bool monitor_enabled;
|
2019-04-21 11:30:59 +00:00
|
|
|
bool protobuf_enabled;
|
2019-09-06 16:02:40 +00:00
|
|
|
bool enable_rx_clock_correction;
|
2019-03-15 12:31:18 +00:00
|
|
|
bool show_local_time_zone;
|
2019-09-18 16:25:07 +00:00
|
|
|
bool pre_2009_file;
|
2020-06-23 07:47:58 +00:00
|
|
|
bool dump;
|
|
|
|
bool dump_mat;
|
2018-10-27 22:42:28 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|