mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-11-15 14:25:00 +00:00
Fix test if gnuplot is not present
This commit is contained in:
parent
b61bbbb346
commit
9b91404ecb
@ -265,7 +265,8 @@ int PositionSystemTest::configure_receiver()
|
|||||||
config->set_property("Tracking_1C.pll_bw_narrow_hz", std::to_string(pll_bw_narrow_hz));
|
config->set_property("Tracking_1C.pll_bw_narrow_hz", std::to_string(pll_bw_narrow_hz));
|
||||||
config->set_property("Tracking_1C.dll_bw_narrow_hz", std::to_string(dll_bw_narrow_hz));
|
config->set_property("Tracking_1C.dll_bw_narrow_hz", std::to_string(dll_bw_narrow_hz));
|
||||||
config->set_property("Tracking_1C.extend_correlation_symbols", std::to_string(extend_correlation_ms));
|
config->set_property("Tracking_1C.extend_correlation_symbols", std::to_string(extend_correlation_ms));
|
||||||
|
config->set_property("Tracking_1C.high_dyn", "true");
|
||||||
|
config->set_property("Tracking_1C.smoother_length", "200");
|
||||||
// Set Telemetry
|
// Set Telemetry
|
||||||
config->set_property("TelemetryDecoder_1C.implementation", "GPS_L1_CA_Telemetry_Decoder");
|
config->set_property("TelemetryDecoder_1C.implementation", "GPS_L1_CA_Telemetry_Decoder");
|
||||||
config->set_property("TelemetryDecoder_1C.dump", "false");
|
config->set_property("TelemetryDecoder_1C.dump", "false");
|
||||||
@ -277,7 +278,7 @@ int PositionSystemTest::configure_receiver()
|
|||||||
|
|
||||||
// Set PVT
|
// Set PVT
|
||||||
config->set_property("PVT.implementation", "RTKLIB_PVT");
|
config->set_property("PVT.implementation", "RTKLIB_PVT");
|
||||||
config->set_property("PVT.positioning_mode", "Single");
|
config->set_property("PVT.positioning_mode", "PPP_Static");
|
||||||
config->set_property("PVT.output_rate_ms", std::to_string(output_rate_ms));
|
config->set_property("PVT.output_rate_ms", std::to_string(output_rate_ms));
|
||||||
config->set_property("PVT.display_rate_ms", std::to_string(display_rate_ms));
|
config->set_property("PVT.display_rate_ms", std::to_string(display_rate_ms));
|
||||||
config->set_property("PVT.dump_filename", "./PVT");
|
config->set_property("PVT.dump_filename", "./PVT");
|
||||||
@ -642,7 +643,12 @@ void PositionSystemTest::check_results()
|
|||||||
<< " [m/s]" << std::endl;
|
<< " [m/s]" << std::endl;
|
||||||
std::cout.precision(ss);
|
std::cout.precision(ss);
|
||||||
|
|
||||||
//plots
|
// plots
|
||||||
|
if (FLAGS_plot_position_test == true)
|
||||||
|
{
|
||||||
|
const std::string gnuplot_executable(FLAGS_gnuplot_executable);
|
||||||
|
if (!gnuplot_executable.empty())
|
||||||
|
{
|
||||||
Gnuplot g1("points");
|
Gnuplot g1("points");
|
||||||
if (FLAGS_show_plots)
|
if (FLAGS_show_plots)
|
||||||
{
|
{
|
||||||
@ -737,6 +743,8 @@ void PositionSystemTest::check_results()
|
|||||||
g4.savetops("Velocity_3d_error_" + config_filename_no_extension);
|
g4.savetops("Velocity_3d_error_" + config_filename_no_extension);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user