Commit 211c1252 authored by 虢奥's avatar 虢奥

更新车辆位置

parent 6a1d33c8
...@@ -551,7 +551,9 @@ class GroupDispatcher: ...@@ -551,7 +551,9 @@ class GroupDispatcher:
# 获取车辆位置信息 # 获取车辆位置信息
try: try:
truck_locate = self.group.truck.get_truck_lane_locate_dict()[truck_id] # truck_locate = self.group.truck.get_truck_lane_locate_dict()[truck_id]
truck_locate = self.group.truck.update_trucks_lane_locate()[truck_id]
except Exception as es: except Exception as es:
self.logger.error(f'车辆位置信息丢失 {es}') self.logger.error(f'车辆位置信息丢失 {es}')
truck_locate = None truck_locate = None
......
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