-
-
Notifications
You must be signed in to change notification settings - Fork 213
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doesn't work well ? #105
Comments
Here is some more logs
|
By the way I'm on CM11 (Razr i) with UnifiedNlp 1.6.7 from Fdroid |
It seem that UnifiedNlp 1.6.6 works much better. I will make more tests. |
Ok v1.6.6 worked well this morning but failed this afternoon.
|
FWIW, the backend(s) are the real provider of location. UnifiedNLP pulls together the location estimates for all installed and enabled backends and then gives you the one with the smallest estimated error. So this bug should be placed against the IchnaeaNlpBackend backend instead of UnifiedNLP. And there are other backends that you can install and use which might give better results for you. Also, several of the backends use open source mobile/cell tower location estimates. You can improve the accuracy of most of the backends by contributing to projects like Open Cell ID or Mozilla Location Services. |
The last time it was UnifiedNLP that wasn't working #80 I live in Bordeaux, France and there is plenty of wifi and 2G, 3G around. The thing is that at a given location sometimes that work, sometimes not. |
Is there something I can do to found if the problem is in UnifiedNLP ? |
Use an app like SatStat that shows both the GPS location and the "network" location. Then try different backends. You may find that different backends perform differently. FWIW, I've played with all the backends and they do return different results. And when writing my own backends I've never noticed UnifiedNLP corrupting the data my backends created: If there was a position problem it was with the backend not UnifiedNLP. |
By the way I meant that doesn't work well with GPS disabled (disabled or in buildings). With GPS the location is found quickly. When GPS is not available UnifiedNLP should locate me, not accurately but I think in a range of 100m to 1km based on wifi and gsm, and that often not the case. As I said in the first post and I repeat without GPS:
Here is the backend I tried:
|
As I said there microg/IchnaeaNlpBackend#27
|
@Paviluf I'd expect to see at least a log message from NlpLocationBackendFuser that will show what backend(s) were called and what the various backend(s) returned. I don't see that in your log so it is not possible to say what is happening. Perhaps another log file captured using something like:
would help. |
For me it look like that NlpLocationBackendFuser doesn't show up because UnifiedNlp or LocalGsmNlpBackend kind of hanged or crashed. |
Maybe. While I haven't seen LocalGsmNlpBackend crash on a version I've released, I would not rule it out. But I've never seen UnifiedNlp crash so that would surprise me a lot. |
I don't know if it can be related but my phone is a x86 (Motorola Razr i). |
LocalGsmNlpBackend or Local-GSM-Backend? I can't help much on LocalGsmNlpBackend which looks like it was last updated three years ago and probably does not have current mobile/cell tower information. The Local-GSM-Backend is the one I support and allows you to download current data from a couple of different sources. |
I use the more recent one Local-GSM-Backend with the data for France. |
And what is the output from the logcat command I suggested earlier. I would expect something like
(I've munged the lat/lon for privacy. I don't have a SIM card in the phone I've got microG installed on so I don't get any mobile/cell towers but NlpLocationBackendFuser should still show something just different than what mine is showing). |
Here is the output of
|
It seem the problem is in IchnaeaNlpBackend. microg/IchnaeaNlpBackend#27 (comment) |
If I use LocalGsmNlpBackend for 2G/3G and IchnaeaNlpBackend for wifi it work very well. So it really don't seem to be a UnifiedNlp problem but more a IchnaeaNlpBackend one. |
Hello,
I don't know if it's UnifiedNlp or the backend (IchnaeaNlpBackend) that doesn't work well but often my map apps can't find my location. I use maps.me and osmand. Here are the problems I have :
Here is a log that show that osmand find me, then lost the location, and find me again. I will provide more logs if needed when problems appears.
2016-12-13-07-25-14.txt
Thanks !
The text was updated successfully, but these errors were encountered: