Created
November 11, 2017 03:06
-
-
Save rlaager/b5303c85e2b00dd722129a1afe8447cd to your computer and use it in GitHub Desktop.
gpsd TDOP test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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