mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-15 20:50:33 +00:00
Fix Telemetry test
This commit is contained in:
parent
5c283c0643
commit
5b39cc05f6
@ -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));
|
||||||
|
Loading…
Reference in New Issue
Block a user