2017-02-02 19:37:46 +00:00
/*!
* \ file signal_generator_flags . h
* \ brief Helper file for unit testing
* \ author Carles Fernandez - Prades , 2017. cfernandez ( at ) cttc . es
*
2020-07-28 14:57:15 +00:00
* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2017-02-02 19:37:46 +00:00
*
2020-12-30 12:35:06 +00:00
* GNSS - SDR is a Global Navigation Satellite System software - defined receiver .
2017-02-02 19:37:46 +00:00
* This file is part of GNSS - SDR .
*
2020-12-30 12:35:06 +00:00
* Copyright ( C ) 2010 - 2020 ( see AUTHORS file for a list of contributors )
2020-02-08 00:20:02 +00:00
* SPDX - License - Identifier : GPL - 3.0 - or - later
2017-02-02 19:37:46 +00:00
*
2020-07-28 14:57:15 +00:00
* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2017-02-02 19:37:46 +00:00
*/
2020-02-08 09:10:46 +00:00
# ifndef GNSS_SDR_SIGNAL_GENERATOR_FLAGS_H
# define GNSS_SDR_SIGNAL_GENERATOR_FLAGS_H
2017-02-02 19:07:36 +00:00
# include <gflags/gflags.h>
2018-06-19 07:15:46 +00:00
# include <limits>
2019-08-17 11:56:54 +00:00
# include <string>
2017-02-02 19:07:36 +00:00
2017-04-12 15:04:51 +00:00
DEFINE_bool ( disable_generator , false , " Disable the signal generator (a external signal file must be available for the test) " ) ;
2017-02-02 19:07:36 +00:00
DEFINE_string ( generator_binary , std : : string ( SW_GENERATOR_BIN ) , " Path of software-defined signal generator binary " ) ;
DEFINE_string ( rinex_nav_file , std : : string ( DEFAULT_RINEX_NAV ) , " Input RINEX navigation file " ) ;
DEFINE_int32 ( duration , 100 , " Duration of the experiment [in seconds, max = 300] " ) ;
2018-08-29 16:53:03 +00:00
DEFINE_string ( static_position , " 30.286502,120.032669,100 " , " Static receiver position [latitude,longitude,height] " ) ;
2017-02-02 19:07:36 +00:00
DEFINE_string ( dynamic_position , " " , " Observer positions file, in .csv or .nmea format " ) ;
DEFINE_string ( filename_rinex_obs , " sim.16o " , " Filename of output RINEX navigation file " ) ;
DEFINE_string ( filename_raw_data , " signal_out.bin " , " Filename of output raw data file " ) ;
2017-09-02 09:24:44 +00:00
DEFINE_int32 ( fs_gen_sps , 2600000 , " Sampling frequency [sps] " ) ;
2017-02-02 19:07:36 +00:00
DEFINE_int32 ( test_satellite_PRN , 1 , " PRN of the satellite under test (must be visible during the observation time) " ) ;
2017-04-12 15:04:51 +00:00
DEFINE_int32 ( test_satellite_PRN2 , 2 , " PRN of the satellite under test (must be visible during the observation time) " ) ;
2018-07-26 17:25:10 +00:00
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) " ) ;
2018-06-19 07:15:46 +00:00
DEFINE_double ( CN0_dBHz , std : : numeric_limits < double > : : infinity ( ) , " Enable noise generator and set the CN0 [dB-Hz] " ) ;
2017-02-02 19:37:46 +00:00
# endif