mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-15 04:30:33 +00:00
Enable Galileo E1 in obsdiff tool
This commit is contained in:
parent
b5efbf275d
commit
d4df7f9fe7
@ -1359,9 +1359,9 @@ void RINEX_doublediff_dupli_sat()
|
||||
void RINEX_doublediff(bool remove_rx_clock_error)
|
||||
{
|
||||
// read rinex reference observations
|
||||
std::map<int, arma::mat> ref_obs = ReadRinexObs(FLAGS_ref_rinex_obs, 'G', std::string("1C"));
|
||||
std::map<int, arma::mat> ref_obs = ReadRinexObs(FLAGS_ref_rinex_obs, FLAGS_system.c_str()[0], FLAGS_signal);
|
||||
// read rinex receiver-under-test observations
|
||||
std::map<int, arma::mat> test_obs = ReadRinexObs(FLAGS_test_rinex_obs, 'G', std::string("1C"));
|
||||
std::map<int, arma::mat> test_obs = ReadRinexObs(FLAGS_test_rinex_obs, FLAGS_system.c_str()[0], FLAGS_signal);
|
||||
|
||||
if (ref_obs.empty() or test_obs.empty())
|
||||
{
|
||||
@ -1548,7 +1548,7 @@ void RINEX_doublediff(bool remove_rx_clock_error)
|
||||
void RINEX_singlediff()
|
||||
{
|
||||
// read rinex receiver-under-test observations
|
||||
std::map<int, arma::mat> test_obs = ReadRinexObs(FLAGS_test_rinex_obs, 'G', std::string("1C"));
|
||||
std::map<int, arma::mat> test_obs = ReadRinexObs(FLAGS_test_rinex_obs, FLAGS_system.c_str()[0], FLAGS_signal);
|
||||
|
||||
if (test_obs.empty())
|
||||
{
|
||||
|
@ -33,6 +33,8 @@ DEFINE_string(dupli_sat_prns, "1,2,3,4", "List of duplicated satellites PRN pair
|
||||
DEFINE_string(ref_rinex_obs, "reference.obs", "Filename of reference RINEX observation file");
|
||||
DEFINE_string(rinex_nav, "reference.nav", "Filename of reference RINEX navigation file");
|
||||
DEFINE_string(test_rinex_obs, "test.obs", "Filename of test RINEX observation file");
|
||||
DEFINE_string(system, "G", "GNSS satellite system: G for GPS, E for Galileo");
|
||||
DEFINE_string(signal, "1C", "GNSS signal: 1C for GPS L1 CA, 1B for Galileo E1");
|
||||
DEFINE_bool(remove_rx_clock_error, false, "Compute and remove the receivers clock error prior to compute observable differences (requires a valid RINEX nav file for both receivers)");
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user