#
vincentlu
2025-04-02 cedb12de87ac799582eed01f66c2f6b698585a69
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) {