From c25ccab593b2c06b10cb2090c60e19d958a788b3 Mon Sep 17 00:00:00 2001 From: Davide Basso <davide.basso@skywarder.eu> Date: Tue, 11 Jun 2024 22:18:18 +0200 Subject: [PATCH] [NAS] Catch test: fix gps sat-fix --- simulator/export/exportNAS.m | 2 +- simulator/simulateNAS.m | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/simulator/export/exportNAS.m b/simulator/export/exportNAS.m index 45fa25c3..eb698424 100644 --- a/simulator/export/exportNAS.m +++ b/simulator/export/exportNAS.m @@ -308,7 +308,7 @@ function export_steps(data, file, target, algorithm) end write(content, cpp_file); write("};", cpp_file); - end + end disp(" Done exporting steps to: " + file); end diff --git a/simulator/simulateNAS.m b/simulator/simulateNAS.m index fa3f0f44..20099313 100644 --- a/simulator/simulateNAS.m +++ b/simulator/simulateNAS.m @@ -109,7 +109,7 @@ function nas_result = simulateNAS(sim_output, settings, algorithm) [x_lin, P_lin, ~] = correctionGPS(x_lin, ... P_lin, sim_gps_data(index_gps, 2:3), ... sim_gps_data(index_gps, 5:6), nas_struct.sigma_GPS, ... - 16, settings.lat0, settings.lon0, nas_struct.GPS.a, nas_struct.GPS.b); + 1, settings.lat0, settings.lon0, nas_struct.GPS.a, nas_struct.GPS.b); end end gps_lin = x_lin; -- GitLab