background-geolocation-android icon indicating copy to clipboard operation
background-geolocation-android copied to clipboard

Added kalman filter to reduce noice in geo locations

Open GrishmaM opened this issue 6 years ago • 9 comments

Added kalman filter for Activity provider to reduce the noice in the geolocation, this filter is configurable.

GrishmaM avatar Nov 06 '18 10:11 GrishmaM

Thank you for this commit. Will review and eventually merge it. However I'm thinking about making Kalman filtering available for all providers. What do you think?

mauron85 avatar Nov 08 '18 09:11 mauron85

Sorry. Accidently closed. Reopening

mauron85 avatar Nov 08 '18 09:11 mauron85

yah, we can add it to all the providers. I will add and update the pull request

GrishmaM avatar Nov 08 '18 12:11 GrishmaM

Hey, @mauron85 I have added the filter to all the 3 providers, please verify.

GrishmaM avatar Nov 08 '18 13:11 GrishmaM

Unfortunately there are merge conflicts. (I know nobody likes them). However it should be pretty easy to resolve them. Will you do it?

mauron85 avatar Nov 08 '18 14:11 mauron85

@mauron85 updated please check

GrishmaM avatar Nov 09 '18 06:11 GrishmaM

Ok thanks. I'm in process of reviewing/trying to understand the whole PR. I'll add comments as I go.

The first would be:

  1. Please Move Tracker1D.java to separate package (maybe with your name or preferred namespace). First it will give you credit for you work and second it wasn't written or contributed to, by me in any way.

  2. What about licensing Tracker1d.java. Is it code you've written? If not what is the source and it's license?

mauron85 avatar Nov 09 '18 08:11 mauron85

@mauron85 I have moved the filters to the new package, and the code is not completely written by me, I have used some open source references which has free MIT Licence.

GrishmaM avatar Nov 09 '18 12:11 GrishmaM

Ok. I'll take some time to review this. Merge eventually. Thank you for your contribution.

mauron85 avatar Nov 09 '18 18:11 mauron85