From d510a3f1698d26a768c5f75d6c82357d3291541d Mon Sep 17 00:00:00 2001 From: giuliaghirardini <giuliaghirardini2001@gmail.com> Date: Wed, 29 May 2024 09:30:20 +0200 Subject: [PATCH] [refactoring-ode][functions] Moved quickApogee form OLD to simulations folder --- functions/simulations/{OLD => }/quickApogeeOnly.m | 12 ------------ 1 file changed, 12 deletions(-) rename functions/simulations/{OLD => }/quickApogeeOnly.m (80%) diff --git a/functions/simulations/OLD/quickApogeeOnly.m b/functions/simulations/quickApogeeOnly.m similarity index 80% rename from functions/simulations/OLD/quickApogeeOnly.m rename to functions/simulations/quickApogeeOnly.m index 8f8dda1..a8595a1 100644 --- a/functions/simulations/OLD/quickApogeeOnly.m +++ b/functions/simulations/quickApogeeOnly.m @@ -37,18 +37,6 @@ SPDX-License-Identifier: GPL-3.0-or-later %} %% ERROR CHECKING -% if not(settings.multipleAB) && length(rocket.airbrakes.extension) > 1 -% error('To simulate different airbrakes opening, please set to true settings.multipleAB in config.m'); -% end -% -% if settings.multipleAB && length(rocket.airbrakes.extension) < 2 -% error('In airbrakes smooth opening simulations, airbrakes configuration must be always greater than 2 (from launch), check config.m') -% end -% -% if settings.multipleAB && length(rocket.airbrakes.extension) > 1 && length(settings.dtControl) < length(rocket.airbrakes.extension) - 2 -% error('In airbrakes smooth opening simulations, AB configuration usage time vector must be at least of length length(pCOntrol)-2, check config.m') -% end - if not(rocket.airbrakes.enabled) && length(rocket.airbrakes.extension) > 1 error('To simulate different airbrakes opening, please set to true settings.multipleAB in config.m'); end -- GitLab