#
whycq
2025-02-06 318bd727e2fe02e4f541dfe943f77606af41d509
app/src/main/java/com/example/agvcontroller/protocol/AGV_F0_UP.java
@@ -24,6 +24,10 @@
        // type
        this.type = Utils.sliceWithReverse(bytes, 4, 1)[0];
        this.battery = Utils.sliceWithReverse(bytes, 32, 1)[0];
    }
@@ -36,5 +40,10 @@
    private byte type;
    private int battery;
    public int getBattery() {
        return battery;
    }
}