diff --git a/gps_tool/TODO b/gps_tool/TODO new file mode 100644 index 0000000..50dace4 --- /dev/null +++ b/gps_tool/TODO @@ -0,0 +1,9 @@ + + gps_tool TODO + +Theta labels wind up inside track, not outside. +Use N, NE, E, SE, S, SW, W, NW labels + +Error running on Raspberry Pi (shiboken2 is broken shit) + +Click on point for more info diff --git a/vid_tool/vid_resol.py b/vid_tool/vid_resol.py new file mode 100755 index 0000000..7feb2ad --- /dev/null +++ b/vid_tool/vid_resol.py @@ -0,0 +1,42 @@ +#!/usr/bin/env python3 + +import math +import sys +import socket +import time +import os.path + +from sys import platform as _platform +from time import sleep +from glob import glob +from socket import * +from struct import * + +#print(socket.gethostname()) + +# pillow, thread +if sys.version_info[0] == 3: + print("Python3") + from tkinter import * + from PIL import Image, ImageTk + try: + import _thread + except ImportError: + import _dummy_thread as _thread +else: + print("Python2") + from Tkinter import * + from PIL import Image + try: + import thread as _thread + except ImportError: + import dummy_thread as _thread + +a_lock = _thread.allocate_lock() + +# tkinter root +root = Tk() +root.title('V2V DVI Display') +w, h = root.winfo_screenwidth(), root.winfo_screenheight() +print("Display resolution = ", w, "x", h) +