mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-15 12:40:35 +00:00
Add high dyn and smoother length flags for testing purposes
This commit is contained in:
parent
48b98165b4
commit
aff13c9a52
@ -41,7 +41,7 @@ DEFINE_bool(enable_external_signal_file, false, "Use an external signal file cap
|
|||||||
DEFINE_double(external_signal_acquisition_threshold, 2.5, "Threshold for satellite acquisition when external file is used");
|
DEFINE_double(external_signal_acquisition_threshold, 2.5, "Threshold for satellite acquisition when external file is used");
|
||||||
DEFINE_int32(external_signal_acquisition_dwells, 5, "Maximum dwells count for satellite acquisition when external file is used");
|
DEFINE_int32(external_signal_acquisition_dwells, 5, "Maximum dwells count for satellite acquisition when external file is used");
|
||||||
DEFINE_double(external_signal_acquisition_doppler_max_hz, 5000.0, "Doppler max for satellite acquisition when external file is used");
|
DEFINE_double(external_signal_acquisition_doppler_max_hz, 5000.0, "Doppler max for satellite acquisition when external file is used");
|
||||||
DEFINE_double(external_signal_acquisition_doppler_step_hz, 125, "Doppler step for satellite acquisition when external file is used");
|
DEFINE_double(external_signal_acquisition_doppler_step_hz, 125.0, "Doppler step for satellite acquisition when external file is used");
|
||||||
|
|
||||||
DEFINE_string(signal_file, std::string("signal_out.bin"), "Path of the external signal capture file");
|
DEFINE_string(signal_file, std::string("signal_out.bin"), "Path of the external signal capture file");
|
||||||
DEFINE_double(CN0_dBHz_start, std::numeric_limits<double>::infinity(), "Enable noise generator and set the CN0 start sweep value [dB-Hz]");
|
DEFINE_double(CN0_dBHz_start, std::numeric_limits<double>::infinity(), "Enable noise generator and set the CN0 start sweep value [dB-Hz]");
|
||||||
@ -77,6 +77,8 @@ DEFINE_double(skip_trk_transitory_s, 1.0, "Skip the initial tracking output sign
|
|||||||
|
|
||||||
//Tracking configuration
|
//Tracking configuration
|
||||||
DEFINE_int32(extend_correlation_symbols, 1, "Set the tracking coherent correlation to N symbols (up to 20 for GPS L1 C/A)");
|
DEFINE_int32(extend_correlation_symbols, 1, "Set the tracking coherent correlation to N symbols (up to 20 for GPS L1 C/A)");
|
||||||
|
DEFINE_uint32(smoother_length, 10, "Set the moving average size for the carrier phase and code phase in case of high dynamics");
|
||||||
|
DEFINE_bool(high_dyn, false, "Activates the code resampler and NCO generator for high dynamics");
|
||||||
|
|
||||||
//Test output configuration
|
//Test output configuration
|
||||||
DEFINE_bool(plot_gps_l1_tracking_test, false, "Plots results of GpsL1CADllPllTrackingTest with gnuplot");
|
DEFINE_bool(plot_gps_l1_tracking_test, false, "Plots results of GpsL1CADllPllTrackingTest with gnuplot");
|
||||||
|
@ -255,7 +255,9 @@ public:
|
|||||||
double DLL_wide_bw_hz,
|
double DLL_wide_bw_hz,
|
||||||
double PLL_narrow_bw_hz,
|
double PLL_narrow_bw_hz,
|
||||||
double DLL_narrow_bw_hz,
|
double DLL_narrow_bw_hz,
|
||||||
int extend_correlation_symbols);
|
int extend_correlation_symbols,
|
||||||
|
uint32_t smoother_length,
|
||||||
|
bool high_dyn);
|
||||||
|
|
||||||
gr::top_block_sptr top_block;
|
gr::top_block_sptr top_block;
|
||||||
std::shared_ptr<GNSSBlockFactory> factory;
|
std::shared_ptr<GNSSBlockFactory> factory;
|
||||||
@ -535,10 +537,17 @@ void HybridObservablesTest::configure_receiver(
|
|||||||
double DLL_wide_bw_hz,
|
double DLL_wide_bw_hz,
|
||||||
double PLL_narrow_bw_hz,
|
double PLL_narrow_bw_hz,
|
||||||
double DLL_narrow_bw_hz,
|
double DLL_narrow_bw_hz,
|
||||||
int extend_correlation_symbols)
|
int extend_correlation_symbols,
|
||||||
|
uint32_t smoother_length,
|
||||||
|
bool high_dyn)
|
||||||
{
|
{
|
||||||
config = std::make_shared<InMemoryConfiguration>();
|
config = std::make_shared<InMemoryConfiguration>();
|
||||||
config->set_property("Tracking.dump", "true");
|
config->set_property("Tracking.dump", "true");
|
||||||
|
if (high_dyn)
|
||||||
|
config->set_property("Tracking.high_dyn", "true");
|
||||||
|
else
|
||||||
|
config->set_property("Tracking.high_dyn", "false");
|
||||||
|
config->set_property("Tracking.smoother_length", std::to_string(smoother_length));
|
||||||
config->set_property("Tracking.dump_filename", "./tracking_ch_");
|
config->set_property("Tracking.dump_filename", "./tracking_ch_");
|
||||||
config->set_property("Tracking.implementation", implementation);
|
config->set_property("Tracking.implementation", implementation);
|
||||||
config->set_property("Tracking.item_type", "gr_complex");
|
config->set_property("Tracking.item_type", "gr_complex");
|
||||||
@ -1293,7 +1302,9 @@ TEST_F(HybridObservablesTest, ValidationOfResults)
|
|||||||
FLAGS_DLL_bw_hz_start,
|
FLAGS_DLL_bw_hz_start,
|
||||||
FLAGS_PLL_narrow_bw_hz,
|
FLAGS_PLL_narrow_bw_hz,
|
||||||
FLAGS_DLL_narrow_bw_hz,
|
FLAGS_DLL_narrow_bw_hz,
|
||||||
FLAGS_extend_correlation_symbols);
|
FLAGS_extend_correlation_symbols,
|
||||||
|
FLAGS_smoother_length,
|
||||||
|
FLAGS_high_dyn);
|
||||||
|
|
||||||
|
|
||||||
for (unsigned int n = 0; n < gnss_synchro_vec.size(); n++)
|
for (unsigned int n = 0; n < gnss_synchro_vec.size(); n++)
|
||||||
|
Loading…
Reference in New Issue
Block a user