From 2844d61fad55d3e2243090a40cbe2e51e41abc35 Mon Sep 17 00:00:00 2001 From: JulienThevenozIMRC Date: Tue, 2 Apr 2024 11:59:03 +0200 Subject: [PATCH] changed the SIM delay constants --- systemtests/plotter_class.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/systemtests/plotter_class.py b/systemtests/plotter_class.py index d33521d4e..af35a0cf4 100644 --- a/systemtests/plotter_class.py +++ b/systemtests/plotter_class.py @@ -28,8 +28,8 @@ def __init__(self, sim_backend = False): self.DELAY_CONST_FIG8 = 1.3 #4.75 #this is the delay constant which I found by adding up all the time.sleep() etc in the figure8.py file. self.DELAY_CONST_MT = 5.5 if self.SIM : #It allows to temporally adjust the ideal and real trajectories on the graph. Could this be implemented in a better (not hardcoded) way ? - self.DELAY_CONST_FIG8 = -0.35 #for an unknown reason, the delay constants with the sim_backend is different - self.DELAY_CONST_MT = -0.2 + self.DELAY_CONST_FIG8 = -0.45 #for an unknown reason, the delay constants with the sim_backend is different + self.DELAY_CONST_MT = -0.3 self.ALTITUDE_CONST_FIG8 = 1 #this is the altitude given for the takeoff in figure8.py. I should find a better solution than a symbolic constant ? def file_guard(self, pdf_path):