headunit-desktop icon indicating copy to clipboard operation
headunit-desktop copied to clipboard

Added GPSD sensor

Open aselafernando opened this issue 2 years ago • 3 comments

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 avatar Oct 11 '23 04:10 aselafernando

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.

viktorgino avatar Oct 26 '23 22:10 viktorgino

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.

aselafernando avatar Oct 29 '23 02:10 aselafernando

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

viktorgino avatar Oct 29 '23 22:10 viktorgino