08-23-2020, 02:52 PM
(08-20-2020, 06:50 PM)bcnaz Wrote: This seems to only function with internet access, ( cell data, or wifi seems to work )There is a true GPS in the modem, but without AGPS data it needs a very good sky view or lucky positioning of satellites in order to get a fix. Enhancement request with link to proof-of-concept AGPS loading script:
is that only for the map(s) or is there a true GPS within the modem ?
The refresh periods will determine if you can use this for distance calculations such as speed.
Would it be possible to pre-load maps ? ( Like my old Garmin hand held GPS used to do )
So far when I attempt to use the app on my phone, it sometimes shows my exact location within my house
While it also sometimes shows me 5 miles away on the side of a mountain. ? Very Inconsistent !
https://gitlab.com/mobian1/devices/pinep...-/issues/3
Note that to get the AGPS data you need an internet connection, but the necessary file is small.
You may also need to use mmcli to enable the location reporting - I haven't tried it with geoclue so not sure which reporting you need to enable, if any.
GPS reports speed and heading directly, not just location, and all are available to anything using gpsd. Not sure about with geoclue.
I've only ever used navit with pre-loaded maps - I don't think it does online maps. In theory they could be packaged, but so far they haven't been so far as I know. I think most people use the online map extractor for the openstreetmap data.
I'd guess you've rarely, or never, had a GPS fix, and that mostly it's geoclue giving a rough position estimate based on cell or wifi data. See the comment about AGPS vs. lucky satellite positioning earlier.