def getActualPosition(): if (Debug.GPSDebugOutput() == 1): print 'dummy getActualPosition()' global gpsIndex #result = '151956.999,4542.8100N,01344.2665E,1.4,207.5,3,11.78,0.46,0.25,141206,05' #return '053053.000,4223.5412N,07106.9411W,1.2,49.4,3,184.24,3.60,1.94,141108,06' if (gpsIndex >= len(gpsDilutionLock)): gpsIndex = 0 t = gpsDilutionLock[gpsIndex] lock = '053053.000,4223.5412N,07106.9411W,' + t[0] + ',49.4,' + t[ 1] + ',184.24,3.60,1.94,141108,06' if (Debug.GPSDebugOutput() == 1): print 'DummyGPS= \'' + lock + '\'' gpsIndex = gpsIndex + 1 return lock
def getPosition(): if (Debug.GPSDebugOutput() == 1): print 'dummy getPosition()' return 0, 'N', 0, 'E'