diff --git a/robots/little_john/telemetry/code/monitor/version1/main.py b/robots/little_john/telemetry/code/monitor/version1/main.py index 03b7aea..88cfc80 100755 --- a/robots/little_john/telemetry/code/monitor/version1/main.py +++ b/robots/little_john/telemetry/code/monitor/version1/main.py @@ -20,7 +20,7 @@ from series import Series from plot import Plot from getdata import getData -print(' Error: Module Function Message') +print(' Type: Module Function Message') # WHY WON'T THIS PRINT AT THE TOP format_string = '%(levelname)8s:\t%(module)-10s \t%(funcName)s \t%(message)s' logging.basicConfig(format=format_string, level=logging.DEBUG) diff --git a/robots/little_john/telemetry/code/monitor/version1/plot.py b/robots/little_john/telemetry/code/monitor/version1/plot.py index 535d349..cebdfaf 100644 --- a/robots/little_john/telemetry/code/monitor/version1/plot.py +++ b/robots/little_john/telemetry/code/monitor/version1/plot.py @@ -72,14 +72,16 @@ class Plot(pyglet.window.Window): yscale = float(self.series.ylimits[1]-self.series.ylimits[0])/( self.bounds[1][1]-self.bounds[1][0]) lmar = int(self.width * self.margins[0]) - rmar = int(self.width * self.margins[1]) - tmar = int(self.height * self.margins[0]) + # rmar = int(self.width * self.margins[1]) + # tmar = int(self.height * self.margins[0]) bmar = int(self.height * self.margins[1]) - + pyglet.gl.glLineWidth(2) - linecolours = [(255, 0, 0, 255, 0, 0), (0, 220, 0, 0, 220, 0), (0, 0, 255, 0, 0, 255)] - + linecolours = [(255, 0, 0, 255, 0, 0), + (0, 220, 0, 0, 220, 0), + (0, 0, 255, 0, 0, 255)] + try: for m in range(len(series.data[0])-1): for n in range(len(series.data) - 1): -- libgit2 0.21.2