nothing new - not necessary upgrade, I just change the API, android >8
Kalman+ is Android Location Manager that delivers location predictions based on a Kalman filter.
Use Kalman+ in Android to receive filtered Location estimates.
It takes advantage of a Kalman filter algorithm to predict fixes (ordinary Android Location objects). Measurement updates are gathered from either the GPS or Network provider (or the combination of both), taking into account the difference of those updates to calculate their contribution to the predicted fix.
Gain accuracy by setting a filter update interval slower than the real provider update interval. Each fix measurement improves the accuracy obtained for a filter estimate.
All results you can see in two files with name "config.txt" and "follow.txt". You can find files in your mobile under the folder DCIM and sub folder "Kalman".
When you start Kalman+ both txt files will be deleted.
- Request location updates with the highest possible frequency
- For the network provider, which gives locations with less accuracy (less reliable), request updates every 5 seconds.
- For the filter-time argument we use a "real" value: the predictions are triggered by a timer.