Open abhishek-sankar opened 4 years ago
Presently, used the accuracy parameter to cut out most of the coarse location logs in the DB
Add option to set accuracy? If so, how do we keep the app from aggregating incorrect data over a period of time, which may lead to wrong results when we implement thee contact tracing feature?
Get a window of 3 logs. Let it be A, B, C. If Distance(A, C) is low, and Distance(A, B) and Distance(C, B) are high, check timestamps to see if 2*Distance(A, B)/DeltaTimestamp(A, C) comes up to a high value. If yes, consider the chance of it being inaccurate.