Skip to content

Instantly share code, notes, and snippets.

View rlaager's full-sized avatar

Richard Laager rlaager

View GitHub Profile
@rlaager
rlaager / tdop.py
Created November 11, 2017 03:06
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)