Commit 1aba9343 authored by 虢奥's avatar 虢奥

拥堵条件修改

parent ddaf43d9
......@@ -1048,7 +1048,7 @@ class ReDispatcher:
truck_locate_dict = self.group.truck.get_truck_lane_locate_dict()
congestion_lane_list = []
for key, value in truck_locate_dict.items():
if self.group.truck.truck_current_state[key] == 2:
if self.group.truck.truck_current_state[key] in [2, 6, 7]:
congestion_lane_list.append(value)
print("congestion_lane_list")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment