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