From 6f5f8f86f2c549b288f2e1be6696cd14b1a33545 Mon Sep 17 00:00:00 2001 From: JulienThevenoz Date: Fri, 2 Feb 2024 10:50:55 +0100 Subject: [PATCH] time delay --- 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 e8fff0fc8..dc25cf508 100644 --- a/systemtests/plotter_class.py +++ b/systemtests/plotter_class.py @@ -27,7 +27,7 @@ def __init__(self, sim_backend = False): self.DELAY_CONST_MT = 0 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 #for an unknown reason, the delay constant with the sim_backend is different - self.DELAY_CONST_MT = 5.8 + self.DELAY_CONST_MT = 0 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 ? self.ALTITUDE_CONST_MULTITRAJ = 0 #takeoff altitude for traj0 in multi_trajectory.py self.X_OFFSET_CONST_MULTITRAJ = 0 #offest on the x axis between ideal and real trajectory. Reason: ideal trajectory (traj0.csv) starts with offset of 0.3m and CrazyflieServer.startTrajectory() is relative to start position