#
vincentlu
2025-04-07 ae2f9a18e28a7e223e8831fef82e14fd94e26193
zy-acs-manager/src/main/java/com/zy/acs/manager/core/service/MapService.java
@@ -177,8 +177,8 @@
        return Double.parseDouble(sta.getAngle());
    }
    public AgvDirectionType calculateAgvWorkDirectionByStation(Sta sta, Code code) {
        return AgvDirectionType.FORWARD;
    public Double calculateAgvWorkDirectionByStation(Double staWorkDirection, Double lastDirection) {
        return Math.abs(staWorkDirection - lastDirection) + 90.0D;
    }
    public double calculateDistance(double x1, double y1, double x2, double y2) {