GNSS-SDR  0.0.13
An Open Source GNSS Software Defined Receiver
signal_generator_flags.h
Go to the documentation of this file.
1 /*!
2  * \file signal_generator_flags.h
3  * \brief Helper file for unit testing
4  * \author Carles Fernandez-Prades, 2017. cfernandez(at)cttc.es
5  *
6  * -----------------------------------------------------------------------------
7  *
8  * Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors)
9  *
10  * GNSS-SDR is a software defined Global Navigation
11  * Satellite Systems receiver
12  *
13  * This file is part of GNSS-SDR.
14  *
15  * SPDX-License-Identifier: GPL-3.0-or-later
16  *
17  * -----------------------------------------------------------------------------
18  */
19 
20 #ifndef GNSS_SDR_SIGNAL_GENERATOR_FLAGS_H
21 #define GNSS_SDR_SIGNAL_GENERATOR_FLAGS_H
22 
23 #include <gflags/gflags.h>
24 #include <limits>
25 #include <string>
26 
27 DEFINE_bool(disable_generator, false, "Disable the signal generator (a external signal file must be available for the test)");
28 DEFINE_string(generator_binary, std::string(SW_GENERATOR_BIN), "Path of software-defined signal generator binary");
29 DEFINE_string(rinex_nav_file, std::string(DEFAULT_RINEX_NAV), "Input RINEX navigation file");
30 DEFINE_int32(duration, 100, "Duration of the experiment [in seconds, max = 300]");
31 DEFINE_string(static_position, "30.286502,120.032669,100", "Static receiver position [latitude,longitude,height]");
32 DEFINE_string(dynamic_position, "", "Observer positions file, in .csv or .nmea format");
33 DEFINE_string(filename_rinex_obs, "sim.16o", "Filename of output RINEX navigation file");
34 DEFINE_string(filename_raw_data, "signal_out.bin", "Filename of output raw data file");
35 DEFINE_int32(fs_gen_sps, 2600000, "Sampling frequency [sps]");
36 DEFINE_int32(test_satellite_PRN, 1, "PRN of the satellite under test (must be visible during the observation time)");
37 DEFINE_int32(test_satellite_PRN2, 2, "PRN of the satellite under test (must be visible during the observation time)");
38 DEFINE_string(test_satellite_PRN_list, "1,2,3,6,9,10,12,17,20,23,28", "List of PRN of the satellites under test (must be visible during the observation time)");
39 DEFINE_double(CN0_dBHz, std::numeric_limits<double>::infinity(), "Enable noise generator and set the CN0 [dB-Hz]");
40 
41 #endif