Skip to content

Conversation

aselafernando
Copy link
Contributor

@aselafernando aselafernando commented Oct 11, 2023

Added a plugin that can read location data from a GPSD daemon. This can be used by subsequent plugins to make location aware decisions. There is also a simple geofence implemented that can identify and notify when the co-ordinate is within the closed shape formed by the nominated points.

Requires libgps-dev to compile

aselafernando and others added 10 commits October 10, 2023 23:47
0 can be a valid co-ordinate, now setting to -91 and -181 for latitude and longitude respectively to mark invalid values
Messages are now only sent on change, default values for lat/lon are now invalid values (0 is a valid coordinate).
@viktorgino
Copy link
Owner

Thanks @aselafernando . I've ordered a GPS module so I can test this. Will review after.
BTW I have a working QML interface for navit here: https://github.com/navit-gps/navit/tree/qml-gui-wip , but the performance of the map rendering is pretty bad, so it needs way more work.

@aselafernando
Copy link
Contributor Author

I use a Globalsat BU353 USB GPS receiver I had left over from when I used to have a CarPC in the car running windows haha
I modified the android auto module and libheadunit to accept location updates from this plugin which I will submit in another pull request.

@viktorgino
Copy link
Owner

I use a Globalsat BU353 USB GPS receiver I had left over from when I used to have a CarPC in the car running windows haha I modified the android auto module and libheadunit to accept location updates from this plugin which I will submit in another pull request.

I just got a serial/USB serial GPS module of Amazon, will give it a spin some time next week.
Good idea to add it to AA as an active antenna could provide a more accurate GPS location than the phone's built in on :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants