mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-14 20:20:35 +00:00
Add --num_channels parameter to position_test
This commit is contained in:
parent
8c400d1377
commit
e0d41e96e9
@ -54,6 +54,8 @@ using namespace google;
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
DEFINE_int32(num_channels, 11, "Number of channels");
|
||||||
|
|
||||||
// For GPS NAVIGATION (L1)
|
// For GPS NAVIGATION (L1)
|
||||||
Concurrent_Queue<Gps_Acq_Assist> global_gps_acq_assist_queue;
|
Concurrent_Queue<Gps_Acq_Assist> global_gps_acq_assist_queue;
|
||||||
Concurrent_Map<Gps_Acq_Assist> global_gps_acq_assist_map;
|
Concurrent_Map<Gps_Acq_Assist> global_gps_acq_assist_map;
|
||||||
@ -177,7 +179,7 @@ int PositionSystemTest::configure_receiver()
|
|||||||
const int grid_density = 16;
|
const int grid_density = 16;
|
||||||
|
|
||||||
const float zero = 0.0;
|
const float zero = 0.0;
|
||||||
const int number_of_channels = 11;
|
const int number_of_channels = FLAGS_num_channels;
|
||||||
const int in_acquisition = 1;
|
const int in_acquisition = 1;
|
||||||
|
|
||||||
const float threshold = 2.5;
|
const float threshold = 2.5;
|
||||||
@ -205,7 +207,7 @@ int PositionSystemTest::configure_receiver()
|
|||||||
{
|
{
|
||||||
config->set_property("GNSS-SDR.use_acquisition_resampler", "true");
|
config->set_property("GNSS-SDR.use_acquisition_resampler", "true");
|
||||||
}
|
}
|
||||||
|
config->set_property("GNSS-SDR.GPS_banned_prns", std::to_string(1));
|
||||||
// Set the assistance system parameters
|
// Set the assistance system parameters
|
||||||
config->set_property("GNSS-SDR.SUPL_read_gps_assistance_xml", "false");
|
config->set_property("GNSS-SDR.SUPL_read_gps_assistance_xml", "false");
|
||||||
config->set_property("GNSS-SDR.SUPL_gps_enabled", "false");
|
config->set_property("GNSS-SDR.SUPL_gps_enabled", "false");
|
||||||
@ -322,7 +324,7 @@ int PositionSystemTest::configure_receiver()
|
|||||||
config->set_property("PVT.iono_model", "OFF");
|
config->set_property("PVT.iono_model", "OFF");
|
||||||
config->set_property("PVT.trop_model", "OFF");
|
config->set_property("PVT.trop_model", "OFF");
|
||||||
config->set_property("PVT.AR_GPS", "PPP-AR");
|
config->set_property("PVT.AR_GPS", "PPP-AR");
|
||||||
config->set_property("PVT.elevation_mask", std::to_string(15));
|
config->set_property("PVT.elevation_mask", std::to_string(5));
|
||||||
|
|
||||||
config_f = nullptr;
|
config_f = nullptr;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user