This commit is contained in:
zhongchao
2021-01-27 10:38:02 +08:00
parent b5ef638e74
commit 97c778a14e
7 changed files with 1 additions and 29 deletions

View File

@@ -11,7 +11,6 @@ import java.util.ArrayList;
import java.util.List;
/**
* Ø
* 定位预测纠错策略
*/
public class SimpleLocationCorrectStrategy {
@@ -102,7 +101,6 @@ public class SimpleLocationCorrectStrategy {
anchorTime = SystemClock.elapsedRealtime();
errCount++;
Logger.d(TAG, "异常点纠偏 info: " + lastLocation);
// return lastLocation;
if (recordLocation()) {
correctList.add(nextInfo);
}
@@ -141,7 +139,6 @@ public class SimpleLocationCorrectStrategy {
if (recordLocation()) {
correctList.add(nextInfo);
}
// return lastLocation;
return nextInfo;
} catch (Exception e) {
Logger.e(TAG, e, "纠偏异常");

View File

@@ -26,7 +26,7 @@ public class RealTimeProviderImp implements RealTimeProvider {
}
public RealTimeProviderImp() {
mDelegate = (RealTimeProvider) RealTimeProviderDelegateManager.getInstance();
mDelegate = RealTimeProviderDelegateManager.getInstance().getRealTimeProvider();
}
@Override