From 8403bbe10d4dcb299b3bbc38fb7f61560f1afbbc Mon Sep 17 00:00:00 2001 From: JulienThevenoz Date: Fri, 2 Feb 2024 14:46:54 +0100 Subject: [PATCH] final cleanup --- systemtests/plotter_class.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/systemtests/plotter_class.py b/systemtests/plotter_class.py index dbb8f605c..4b34d461c 100644 --- a/systemtests/plotter_class.py +++ b/systemtests/plotter_class.py @@ -27,7 +27,7 @@ def __init__(self, sim_backend = False): self.ALLOWED_DEV_POINTS = 0.05 #allowed percentage of datapoints whose deviation > EPSILON while still passing test (currently % for fig8 and 10% for mt) self.DELAY_CONST_FIG8 = 4.75 #this is the delay constant which I found by adding up all the time.sleep() etc in the figure8.py file. 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.18 + 4 #for an unknown reason, the delay constant with the sim_backend is different + self.DELAY_CONST_FIG8 = -0.18 #for an unknown reason, the delay constant with the sim_backend is different 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):