Open 13rac1 opened 8 years ago
@eosrei how has this library been working for you? Does it improve upon location updates?
thanks
@sirvon I have a project I want to use it for, but haven't worked on that recently. So, I cannot say yet.
@eosrei sure! I suppose the sample activity will not be included.
Things that I'd like to check before publishing it (but can't do immediately, due to tight deadlines coding for a living):
1) Check those new runtime permissions, and how to handle them (if rejected). They should be on the client side, affects only the sample activity.
2) Check if the math is ok, when calculating the residual covariance using Location.getAccuracy() during the update step here. Perhaps someone could chime in here.
@sirvon i wrote it mainly to have updates in fixed arbitrary intervals, unlike the sdk's which typically uses a one second interval. That's the improvement i have been looking for.
For instance: If i set the interval to 1/24 seconds, i can have a 'smooth' animation when displaying the location in a map.
And the other way around: Suppose i set it up to receive updates every 5 seconds. So, the filter is going to receive ~5 updates while i'm getting only 1 in that period. That one i'm receiving is more likely to represent my actual position than those raw 5 taken individually.
ppl like you are priceless....ty for sharing this hidden gem!
@sirvon thank Student Dave for teaching the math!
Great work on this!
Could you publish it as a library on jCenter? I know it's not necessary for use...
build.gradle:
With a simplified import:
Thank you!