Commit 1998a573 authored by Thomas Levine's avatar Thomas Levine
Browse files

plotter

parent fc17cf5e
import argparse
from threading import Thread
import chiplotle
from plotbot import PlotBot
from reporter import ReporterPlotBot
......@@ -14,7 +16,7 @@ parser.add_argument('reportnickname', help='bot nickname', default = 'Circle')
def main():
args = parser.parse_args()
plotter = chiplotle.instantiate_plotters()[0]
reporter = ReportPlotBot(args.observechannel, args.plotchannel, args.nickname, args.host, args.port, plotter = plotter)
plot = PlotBot(False, plotter, args.plotchannel, args.nickname, args.host, args.port)
Thread(None, reporter.start)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment