We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 88bc732 commit 7d7a716Copy full SHA for 7d7a716
control/simulation/taxi_sim.py
@@ -32,7 +32,7 @@ def __init__(self, actors):
32
self.actors = list(actors)
33
self.time = 0
34
35
- def schedule_events(self, end_time):
+ def schedule_events(self):
36
for actor in list(self.actors):
37
try:
38
future_event = next(actor)
@@ -43,7 +43,7 @@ def schedule_events(self, end_time):
43
44
def run(self, end_time):
45
while self.time < end_time:
46
- self.schedule_events(end_time)
+ self.schedule_events()
47
if self.events.empty():
48
print('*** end of events ***')
49
break
0 commit comments