vincentlu
2025-03-21 507d28f90ec6772b3e4d73a57aad59263031112b
zy-acs-manager/src/main/java/com/zy/acs/manager/core/service/MainService.java
@@ -667,7 +667,7 @@
            List<Action> actionList = new ArrayList<>();
            // start node
            Code lastCode = codeService.getCacheById(agvDetail.getRecentCode());
            Double lastDirection = agvDetail.getAgvAngle();
            Double lastDirection = MapService.mapToNearest(agvDetail.getAgvAngle());
            if (!lastCode.getData().equals(pathList.get(0))) {
                throw new CoolException("AGV[" + agvNo + "]定位偏移...");
            }