Skip to content

Instantly share code, notes, and snippets.

@rlaager
Created November 11, 2017 03:06
Show Gist options
  • Save rlaager/b5303c85e2b00dd722129a1afe8447cd to your computer and use it in GitHub Desktop.
Save rlaager/b5303c85e2b00dd722129a1afe8447cd to your computer and use it in GitHub Desktop.
gpsd TDOP test
import gps
gpsd = gps.gps(mode=gps.WATCH_ENABLE)
while True:
x = gpsd.next()
tdop = 0
if 'tdop' in x:
tdop = x['tdop']
print(tdop, gpsd.tdop)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment