-
Notifications
You must be signed in to change notification settings - Fork 65
Added GPSD sensor #76
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
base: master
Are you sure you want to change the base?
Conversation
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).
Thanks @aselafernando . I've ordered a GPS module so I can test this. Will review after. |
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 just got a serial/USB serial GPS module of Amazon, will give it a spin some time next week. |
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