Skip to content

Commit

Permalink
patching expected results refs #21, #14737
Browse files Browse the repository at this point in the history
  • Loading branch information
namdre committed Apr 18, 2024
1 parent 051c739 commit 9262bfd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Retrying in 1 seconds
set logic type= ()
set logic type=static
34.0 phase=1 nextSwitch=36.0
37.0 phase=2 nextSwitch=69.0
70.0 phase=3 nextSwitch=72.0
73.0 phase=0 nextSwitch=105.0
set logic type= ()
set logic type=delay_based
151.0 phase=2 nextSwitch=155.0
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,7 @@

for logic in logics:
traci.trafficlight.setProgramLogic(tlsID, logic)
print("set logic type=%s (%s)" % (
traci.trafficlight.getParameter(tlsID, "type"),
traci.trafficlight.getParameter(tlsID, "typeName")))
print("set logic type=%s" % traci.trafficlight.getParameter(tlsID, "typeName"))
phase = traci.trafficlight.getPhase(tlsID)
for step in range(100):
traci.simulationStep()
Expand Down

0 comments on commit 9262bfd

Please sign in to comment.