You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
self.SIM=sim_backend#indicates if we are plotting data from real life test or from a simulated test. Default is false (real life test)
26
-
self.EPSILON=0.1# euclidian distance in [m] between ideal and recorded trajectory under which the drone has to stay to pass the test (NB : epsilon is doubled for multi_trajectory test)
26
+
self.EPSILON=0.15# euclidian distance in [m] between ideal and recorded trajectory under which the drone has to stay to pass the test (NB : epsilon is doubled for multi_trajectory test)
27
27
self.ALLOWED_DEV_POINTS=0.05#allowed percentage of datapoints whose deviation > EPSILON while still passing test (currently % for fig8 and 10% for mt)
28
-
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.
28
+
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.
29
+
self.DELAY_CONST_MT=5.5
29
30
ifself.SIM : #It allows to temporally adjust the ideal and real trajectories on the graph. Could this be implemented in a better (not hardcoded) way ?
30
-
self.DELAY_CONST_FIG8=-0.18#for an unknown reason, the delay constant with the sim_backend is different
31
+
self.DELAY_CONST_FIG8=-0.45#for an unknown reason, the delay constants with the sim_backend is different
32
+
self.DELAY_CONST_MT=-0.3
31
33
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 ?
0 commit comments