From 5f813f0b1515458ecd24568f9e6878d821ff51c5 Mon Sep 17 00:00:00 2001 From: Mauco03 <marco.gaibotti@skywarder.eu> Date: Tue, 6 May 2025 22:11:51 +0200 Subject: [PATCH] [updates] Removed longitudinal and lateral xcps from prints --- common | 2 +- simulator/src/prints.m | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/common b/common index 7eab4272..59b6c1b0 160000 --- a/common +++ b/common @@ -1 +1 @@ -Subproject commit 7eab42722e6f7e0576f77383b27bfcd614096e88 +Subproject commit 59b6c1b09cbd9b1bc1be07e1aa32f18ced11e1bc diff --git a/simulator/src/prints.m b/simulator/src/prints.m index 599b37c9..345c1f51 100644 --- a/simulator/src/prints.m +++ b/simulator/src/prints.m @@ -66,9 +66,7 @@ maxTemperature = (externalTemp*(1+(((gamma-1)/2)*(mach(iMaxV)^2))))-273.15; % XCPor = ascent.coeff.XCPor(~isnan(ascent.coeff.XCPor)); % keeping the NaN elements in ascent.coeff.XCPor, but not in XCPor % end -% longitudinal XCPs -lonXCPs = -ascent.coeff.XCPlon(~isnan(ascent.coeff.XCPlon)); -latXCPs = -ascent.coeff.XCPlat(~isnan(ascent.coeff.XCPlat)); +% XCP totXCPs = ascent.coeff.XCPtot(~isnan(ascent.coeff.XCPtot)); % DATA RECORD (display) @@ -101,7 +99,7 @@ fprintf('speed at launch pad exit: %g [m/s] \n', absV(iExit)) % else % fprintf('Stability margin at launchpad exit [-]:\n Lon: %g\n Lat: %g\n Tot: %g\n', lonXCPs(1), latXCPs(1), totXCPs(1)) % end -fprintf('Stability margin at launchpad exit [-]:\n Lon: %g\n Lat: %g\n Tot: %g\n', lonXCPs(1), latXCPs(1), totXCPs(1)) +fprintf('Stability margin at launchpad exit [-]:\n Lon: %g\n Lat: %g\n Tot: %g\n', totXCPs(1)) fprintf('time: %g [sec] \n\n', time(iExit)) fprintf('latitude of landing point: %10.8f [deg] \n', lat(end)); -- GitLab