| set.properties | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| src/Mqttmessage/PushCallback.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| src/gecaoji/Getgecaojiimu_data.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
set.properties
@@ -1,5 +1,5 @@ #Mower Configuration Properties - Updated #Thu Dec 25 19:34:03 CST 2025 #Fri Dec 26 12:48:50 CST 2025 appVersion=-1 boundaryLengthVisible=false currentWorkLandNumber=LAND1 @@ -8,9 +8,9 @@ handheldMarkerId=1872 idleTrailDurationSeconds=60 manualBoundaryDrawingMode=false mapScale=5.20 mapScale=7.48 measurementModeEnabled=false mowerId=6288 mowerId=6258 serialAutoConnect=true serialBaudRate=115200 serialPortName=COM15 src/Mqttmessage/PushCallback.java
@@ -1,5 +1,6 @@ package Mqttmessage; import Mqttmessage.Util.DeviceMessageParser; import gecaoji.Getgecaojiimu_data; import gecaoji.gecaojistatus; import Mqttmessage.Entity.GPSData; import Mqttmessage.Entity.GPSData.StatusInfo; @@ -112,7 +113,7 @@ String gpsRaw = gpsData.getGps_raw(); UDPServer.processSerialData(gpsRaw); gecaojistatus.parseStatus(gpsData.getStatus()); gpsData.getImu_data(); Getgecaojiimu_data.parseStatus(gpsData.getImu_data()); } } src/gecaoji/Getgecaojiimu_data.java
对比新文件 @@ -0,0 +1,23 @@ package gecaoji; import Mqttmessage.Entity.GPSData.IMUData; public class Getgecaojiimu_data { public static void parseStatus(IMUData status) { if (status != null) { Device device = Device.getGecaoji(); if (device == null) { return; } if (status.getPitch() != null) { device.setPitch(String.valueOf(status.getPitch())); } if (status.getRoll() != null) { device.setRoll(String.valueOf(status.getRoll())); } if (status.getYaw() != null) { device.setYaw(String.valueOf(status.getYaw())); } } } }