Browse Source

send the sequence to euroscope

Sven Czarnian 3 years ago
parent
commit
d6b85b1660
1 changed files with 4 additions and 4 deletions
  1. 4 4
      aman/sys/Worker.py

+ 4 - 4
aman/sys/Worker.py

@@ -141,9 +141,9 @@ class Worker(Thread):
             else:
                 print('No relevant inbounds found for the optimization in ' + self.Icao)
 
-            # send the sequence to the GUI
-            self.WebUi.sendSequence(self.Icao, self.RecedingHorizonControl.sequence())
-
-            # TODO send the sequence to EuroScope
+            # send the sequence to the GUI and Euroscope
+            sequence = self.RecedingHorizonControl.sequence()
+            self.WebUi.sendSequence(self.Icao, sequence)
+            self.Euroscope.sendSequence(self.Icao, sequence)
 
             self.releaseLock()