1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-16 05:00:35 +00:00

Fix Telemetry test

This commit is contained in:
Carles Fernandez 2018-06-28 16:31:09 +02:00
parent 5c283c0643
commit 5b39cc05f6

View File

@ -293,7 +293,7 @@ void GpsL1CATelemetryDecoderTest::check_results(arma::vec& true_time_s,
//2. RMSE //2. RMSE
//arma::vec err = meas_value - true_value_interp + 0.001; //arma::vec err = meas_value - true_value_interp + 0.001;
arma::vec err = meas_value - true_value_interp - 0.001; arma::vec err = meas_value - true_value_interp; // - 0.001;
arma::vec err2 = arma::square(err); arma::vec err2 = arma::square(err);
double rmse = sqrt(arma::mean(err2)); double rmse = sqrt(arma::mean(err2));