diff --git a/common b/common index 7eab42722e6f7e0576f77383b27bfcd614096e88..59b6c1b09cbd9b1bc1be07e1aa32f18ced11e1bc 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 599b37c96e1002df1624277378889a29731d9757..345c1f51e1b9dec7886fde258fa272b40f900b9e 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));