fix a referencing bug
This commit is contained in:
@@ -125,7 +125,7 @@ class RecedingHorizonControl:
|
||||
return None, None
|
||||
|
||||
inbounds = []
|
||||
earliestArrivalTime = self.Windows[self.FreezedIndex].StartTime
|
||||
earliestArrivalTime = self.Windows[self.FreezedIndex + 1].StartTime
|
||||
|
||||
# check the overlapping windows
|
||||
for i in range(self.FreezedIndex + 1, len(self.Windows)):
|
||||
|
||||
Reference in New Issue
Block a user