计算车辆是否冲突起终点bug修改
这个提交包含在:
lgh 2022-08-06 00:15:42 +08:00
父节点 40f44f57d9
当前提交 c19066792c

查看文件

@ -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());