mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-01-30 02:44:50 +00:00
Fix header and testing in non-interactive environments
This commit is contained in:
parent
838256910f
commit
49beb1241a
@ -1,6 +1,6 @@
|
|||||||
/*!
|
/*!
|
||||||
* \file GPS_L1_CA_KF_Tracking.h
|
* \file gps_l1_ca_kf_tracking.h
|
||||||
* \brief Interface of an adapter of a DLL + Kalman carrier
|
* \brief Interface of an adapter of a DLL + Kalman carrier
|
||||||
* tracking loop block for GPS L1 C/A signals
|
* tracking loop block for GPS L1 C/A signals
|
||||||
* \author Javier Arribas, 2018. jarribas(at)cttc.es
|
* \author Javier Arribas, 2018. jarribas(at)cttc.es
|
||||||
* \author Jordi Vila-Valls 2018. jvila(at)cttc.es
|
* \author Jordi Vila-Valls 2018. jvila(at)cttc.es
|
||||||
|
@ -550,7 +550,14 @@ TEST_F(GpsL1CAKfTrackingTest, ValidationOfResults)
|
|||||||
g1.plot_xy(timevec, late, "Late", decimate);
|
g1.plot_xy(timevec, late, "Late", decimate);
|
||||||
g1.savetops("Correlators_outputs");
|
g1.savetops("Correlators_outputs");
|
||||||
g1.savetopdf("Correlators_outputs", 18);
|
g1.savetopdf("Correlators_outputs", 18);
|
||||||
g1.showonscreen(); // window output
|
if (FLAGS_show_plots)
|
||||||
|
{
|
||||||
|
g1.showonscreen(); // window output
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
g1.disablescreen();
|
||||||
|
}
|
||||||
|
|
||||||
Gnuplot g2("points");
|
Gnuplot g2("points");
|
||||||
g2.set_title("Constellation diagram (satellite PRN #" + std::to_string(FLAGS_test_satellite_PRN) + ")");
|
g2.set_title("Constellation diagram (satellite PRN #" + std::to_string(FLAGS_test_satellite_PRN) + ")");
|
||||||
@ -561,7 +568,14 @@ TEST_F(GpsL1CAKfTrackingTest, ValidationOfResults)
|
|||||||
g2.plot_xy(promptI, promptQ);
|
g2.plot_xy(promptI, promptQ);
|
||||||
g2.savetops("Constellation");
|
g2.savetops("Constellation");
|
||||||
g2.savetopdf("Constellation", 18);
|
g2.savetopdf("Constellation", 18);
|
||||||
g2.showonscreen(); // window output
|
if (FLAGS_show_plots)
|
||||||
|
{
|
||||||
|
g2.showonscreen(); // window output
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
g2.disablescreen();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
catch (const GnuplotException& ge)
|
catch (const GnuplotException& ge)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user