bug fixed滤波函数计算结果已经是mm,不用乘以10了
This commit is contained in:
parent
54946fc92c
commit
f5be484563
@ -101,9 +101,9 @@ public class GNSSDeviceLocationRecordServiceImpl implements GNSSDeviceLocationRe
|
|||||||
}
|
}
|
||||||
double[] avgEND = calcFilterLocation(locationRecord, filterCycle);
|
double[] avgEND = calcFilterLocation(locationRecord, filterCycle);
|
||||||
if(avgEND!=null) {
|
if(avgEND!=null) {
|
||||||
locationRecord.setRb562e(NumberUtils.scaleTwo(avgEND[0] * 10));
|
locationRecord.setRb562e(NumberUtils.scaleTwo(avgEND[0]));
|
||||||
locationRecord.setRb562n(NumberUtils.scaleTwo(avgEND[1] * 10));
|
locationRecord.setRb562n(NumberUtils.scaleTwo(avgEND[1]));
|
||||||
locationRecord.setRb562d(NumberUtils.scaleTwo(avgEND[2] * 10));
|
locationRecord.setRb562d(NumberUtils.scaleTwo(avgEND[2]));
|
||||||
}
|
}
|
||||||
|
|
||||||
repository.insert(locationRecord);
|
repository.insert(locationRecord);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user