Commit 0cb5899a authored by 虢奥's avatar 虢奥

安全距离置0

parent 9a5b62cd
...@@ -605,7 +605,7 @@ class GroupDispatcher: ...@@ -605,7 +605,7 @@ class GroupDispatcher:
if excavator_prise_location[0] != -1 and \ if excavator_prise_location[0] != -1 and \
truck_prise_location[0] != -1 and \ truck_prise_location[0] != -1 and \
haversine(excavator_prise_location, truck_prise_location) > 0.010 and \ haversine(excavator_prise_location, truck_prise_location) > 0.000 and \
truck_locate in self.gothroghdispatcher.closer_area_backtrack_lanes: truck_locate in self.gothroghdispatcher.closer_area_backtrack_lanes:
self.gothroghdispatcher.redispatch_request(request_truck_id=truck_id, truck=self.group.truck, truck_dispatch=truck_dispatch) self.gothroghdispatcher.redispatch_request(request_truck_id=truck_id, truck=self.group.truck, truck_dispatch=truck_dispatch)
......
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