Commit fecdb287524c485d49fac0b5e46d0c341af17206
1 parent
3547c87c
Exists in
master
added logging messages
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
robots/little_john/telemetry/code/monitor/graph_plotter_rewrite.py
@@ -35,6 +35,7 @@ if platform.system()=='Windows': | @@ -35,6 +35,7 @@ if platform.system()=='Windows': | ||
35 | os='Windows' | 35 | os='Windows' |
36 | else: | 36 | else: |
37 | os='Other' | 37 | os='Other' |
38 | +logging.info('OS = ' + os) | ||
38 | 39 | ||
39 | class Series: | 40 | class Series: |
40 | def __init__(self, points=100, title="Series title", xname="x-axis name", yname="y-axis name"): | 41 | def __init__(self, points=100, title="Series title", xname="x-axis name", yname="y-axis name"): |
@@ -157,7 +158,7 @@ class Plot(pyglet.window.Window): | @@ -157,7 +158,7 @@ class Plot(pyglet.window.Window): | ||
157 | tag.draw() | 158 | tag.draw() |
158 | 159 | ||
159 | testseries = Series() | 160 | testseries = Series() |
160 | - | 161 | +logging.info("Series created") |
161 | plots = [] | 162 | plots = [] |
162 | plots.append(Plot(testseries)) | 163 | plots.append(Plot(testseries)) |
163 | 164 |