7
0
计算车辆是否冲突起终点bug修改
Dieser Commit ist enthalten in:
lgh 2022-08-06 00:15:42 +08:00
Ursprung 40f44f57d9
Commit c19066792c

Datei anzeigen

@ -1390,7 +1390,7 @@ public class AsynRunTaskService extends BaseService {
//获取RGV1当前位置
Double rgv1CurrPosition = RGVCurrPosition(1);
//两辆小车是否冲突
Boolean conflictBoolean = taskDistanceUtils.conflictForVehicle(vehicleId, currTask.getStartPosition(), currTask.getTargetPosition(), rgv1CurrPosition);
Boolean conflictBoolean = taskDistanceUtils.conflictForVehicle(vehicleId, startPosition, targetPosition, rgv1CurrPosition);
if (conflictBoolean){
Integer status = moveRgv(1, currTaskId, 12,0);
logger.info(status.toString());