Skip to content

Commit 5df38dc

Browse files
modified delay
1 parent eb616f2 commit 5df38dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

systemtests/plotter_class.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def __init__(self, sim_backend = False):
2525
self.EPSILON = 0.05 # euclidian distance in [m] between ideal and recorded trajectory under which the drone has to stay to pass the test
2626
self.DELAY_CONST_FIG8 = 0 #4.75 #this is the delay constant which I found by adding up all the time.sleep() etc in the figure8.py file.
2727
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 ?
28-
self.DELAY_CONST_FIG8 = 1.35 #5.45 #for an unknown reason, the delay constant with the sim_backend is slightly different
28+
self.DELAY_CONST_FIG8 = 0 #1.35 #5.45 #for an unknown reason, the delay constant with the sim_backend is slightly different
2929
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 ?
3030
self.ALTITUDE_CONST_MULTITRAJ = 1 #takeoff altitude for traj0 in multi_trajectory.py
3131
self.X_OFFSET_CONST_MULTITRAJ = -0.3 #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

0 commit comments

Comments
 (0)