Autonomous Racing  1
f1tenth Project Group of Technical University Dortmund, Germany
plotter.py File Reference

Go to the source code of this file.

Namespaces

 plotter
 

Functions

def plotter.update_plot (msg)
 

Variables

 plotter.plot_window = rospy.get_param("~plot_window")
 
 plotter.reward_list = deque(maxlen=plot_window)
 
 plotter.length_list = deque(maxlen=plot_window)
 
int plotter.episode_count = 0
 
 plotter.app = QtGui.QApplication(sys.argv)
 
 plotter.app_window = pg.GraphicsWindow(title='Learning Progress')
 
 plotter.main_plot = app_window.addPlot(title='Episodes')
 
 plotter.length_plot = main_plot.plot(pen='g', name='length')
 
 plotter.reward_plot = main_plot.plot(pen='r', name='reward')