remove some debugging todos

This commit is contained in:
Sven Czarnian
2021-11-10 22:50:00 +01:00
parent 97a2f24f28
commit 3d87c3918b
3 changed files with 2 additions and 13 deletions

View File

@@ -101,9 +101,7 @@ class RecedingHorizonControl:
earliestArrivalTime = None
# check the overlapping windows
# TODO use this commented for loop after developing to use the correct windows
#for i in range(self.FreezedIndex + 1, min(len(self.Windows), self.FreezedIndex + 1 + self.Configuration.WindowOverlap)):
for i in range(0, len(self.Windows)):
for i in range(self.FreezedIndex + 1, min(len(self.Windows), self.FreezedIndex + 1 + self.Configuration.WindowOverlap)):
if None == earliestArrivalTime:
earliestArrivalTime = self.Windows[i].StartTime
for inbound in self.Windows[i].Inbounds: