2018-02-18 11:23:55 +00:00
|
|
|
/*!
|
|
|
|
* \file gnss_sdr_flags.cc
|
|
|
|
* \brief Helper file for gnss-sdr commandline flags
|
|
|
|
* \author Carles Fernandez-Prades, 2018. cfernandez(at)cttc.es
|
|
|
|
*
|
|
|
|
* -------------------------------------------------------------------------
|
|
|
|
*
|
|
|
|
* Copyright (C) 2010-2018 (see AUTHORS file for a list of contributors)
|
|
|
|
*
|
|
|
|
* GNSS-SDR is a software defined Global Navigation
|
|
|
|
* Satellite Systems receiver
|
|
|
|
*
|
|
|
|
* This file is part of GNSS-SDR.
|
|
|
|
*
|
|
|
|
* GNSS-SDR is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* GNSS-SDR is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with GNSS-SDR. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*
|
|
|
|
* -------------------------------------------------------------------------
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
#include <gnss_sdr_flags.h>
|
|
|
|
|
|
|
|
|
|
|
|
DEFINE_string(c, "-", "Path to the configuration file (if set, overrides --config_file)");
|
|
|
|
|
|
|
|
DEFINE_string(s, "-",
|
|
|
|
"If defined, path to the file containing the signal samples (overrides the configuration file and --signal_source)");
|
|
|
|
|
|
|
|
DEFINE_string(signal_source, "-",
|
|
|
|
"If defined, path to the file containing the signal samples (overrides the configuration file)");
|
|
|
|
|
2018-02-18 17:37:38 +00:00
|
|
|
DEFINE_uint32(doppler_max, 0, "If defined, maximum Doppler value in the search grid, in Hz (overrides the configuration file)");
|
|
|
|
|
2018-02-18 12:55:04 +00:00
|
|
|
DEFINE_uint32(cn0_samples, 20, "Number of correlator outputs used for CN0 estimation");
|
|
|
|
|
|
|
|
DEFINE_uint32(cn0_min, 25, "Minimum valid CN0 (in dB-Hz)");
|
|
|
|
|
|
|
|
DEFINE_uint32(max_lock_fail, 50, "Number number of lock failures before dropping satellite");
|
|
|
|
|
|
|
|
DEFINE_double(carrier_lock_th, 0.85, "Carrier lock threshold (in rad)");
|
|
|
|
|
2018-02-18 11:23:55 +00:00
|
|
|
DEFINE_string(RINEX_version, "3.02", "Specifies the RINEX version (2.11 or 3.02)");
|
2018-02-18 12:55:04 +00:00
|
|
|
|
2018-02-18 18:28:21 +00:00
|
|
|
DEFINE_double(dll_bw_hz, 0.0, "If defined, bandwidth of the DLL low pass filter, in Hz (overrides the configuration file)");
|
|
|
|
|
|
|
|
DEFINE_double(pll_bw_hz, 0.0, "If defined, bandwidth of the PLL low pass filter, in Hz (overrides the configuration file)");
|