修改算法1和3坏点判断的bug
This commit is contained in:
parent
aa818ee8c0
commit
1788d7cf2f
@ -232,9 +232,14 @@ public class SingleLineGNSSCalcService implements GNSSDataCalcService {
|
|||||||
if(latestRpos != null) {
|
if(latestRpos != null) {
|
||||||
gnssCalcFilterService.calc(device, groupCalc, locationRecord, latestRpos);
|
gnssCalcFilterService.calc(device, groupCalc, locationRecord, latestRpos);
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
if(focusCalculator.getVer()==1 || focusCalculator.getVer()==3 || focusCalculator.getVer()==5){
|
||||||
|
gnssCalcFilterService.calc(device, groupCalc, locationRecord, null);
|
||||||
|
}
|
||||||
else {
|
else {
|
||||||
gnssCalcFilterService.calc(device, groupCalc, locationRecord, focusCalculator.getReferPoint());
|
gnssCalcFilterService.calc(device, groupCalc, locationRecord, focusCalculator.getReferPoint());
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// 记录本次位置,作为下次的参考
|
// 记录本次位置,作为下次的参考
|
||||||
if(focusCalculator.getVer()==6) {
|
if(focusCalculator.getVer()==6) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user