Lightweight GPS tracker for busses/cars

Status
Not open for further replies.
A small school project: a GPS based tracker to allow people to see where a shuttle bus is located.

Hardware:
USB GPS reciever supporting NNEMA
RPi Second generation
Not shown: cellular receiver for mobile connectivity[/list]

All software for the server is hosted on github under BSD 3 clause.
The server side of the project (the only part currently completed) is a python server using the built in socket, gps and threading libraries. It accepts a connection, spawns a new process to handle it, and in that new process sends the client the current data by referencing a global variable that is continually updated by a child thread talking to the GPS. This is my first time using python so I'm certain this was written without any best practices (testing has consisted of using the client.py file to print a single query's worth of data). Have a look!
 
Status
Not open for further replies.