From 1788d7cf2f84cbc623abfa66bc918387002e8d2b Mon Sep 17 00:00:00 2001 From: weidong Date: Thu, 19 Sep 2024 10:13:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=AE=97=E6=B3=951=E5=92=8C3?= =?UTF-8?q?=E5=9D=8F=E7=82=B9=E5=88=A4=E6=96=AD=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../imdroid/sideslope/calc/SingleLineGNSSCalcService.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sec-beidou-rtcm/src/main/java/com/imdroid/sideslope/calc/SingleLineGNSSCalcService.java b/sec-beidou-rtcm/src/main/java/com/imdroid/sideslope/calc/SingleLineGNSSCalcService.java index 51456e9d..1e5a6736 100644 --- a/sec-beidou-rtcm/src/main/java/com/imdroid/sideslope/calc/SingleLineGNSSCalcService.java +++ b/sec-beidou-rtcm/src/main/java/com/imdroid/sideslope/calc/SingleLineGNSSCalcService.java @@ -233,7 +233,12 @@ public class SingleLineGNSSCalcService implements GNSSDataCalcService { gnssCalcFilterService.calc(device, groupCalc, locationRecord, latestRpos); } else { - gnssCalcFilterService.calc(device, groupCalc, locationRecord, focusCalculator.getReferPoint()); + if(focusCalculator.getVer()==1 || focusCalculator.getVer()==3 || focusCalculator.getVer()==5){ + gnssCalcFilterService.calc(device, groupCalc, locationRecord, null); + } + else { + gnssCalcFilterService.calc(device, groupCalc, locationRecord, focusCalculator.getReferPoint()); + } } // 记录本次位置,作为下次的参考