Reorganized things quite a bit. Much cleaner output interface.

Made a single registry of output plugins which gets populated on init with classes to output on a socket, print to screen, database, etc. Next step is to implement a SQLite database class.
This commit is contained in:
Nick Foster
2010-10-17 19:45:19 -07:00
parent 7727b7c902
commit 33b04c292c
9 changed files with 442 additions and 357 deletions

View File

@@ -6,11 +6,11 @@ import math, time
latz = 15
nbits = 17
#my_lat = 37.76225 #update these later!
#my_lon = -122.44254
my_lat = 37.76225 #update these later!
my_lon = -122.44254
#ER
my_lat = 37.40889176297184
my_lon = -122.07765340805054
#my_lat = 37.40889176297184
#my_lon = -122.07765340805054
def nz(ctype):