viktorgino / headunit-desktop

HeadUnit Desktop is a car PC software built with Qt 5 and QML
https://github.com/viktorgino/headunit-desktop/wiki
GNU General Public License v3.0
292 stars 64 forks source link

Added GPSD sensor #76

Open aselafernando opened 1 year ago

aselafernando commented 1 year ago

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

viktorgino commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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 :)