Autonomous Racing  1
f1tenth Project Group of Technical University Dortmund, Germany
plotter Namespace Reference

Functions

def update_plot (msg)
 

Variables

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

Function Documentation

def plotter.update_plot (   msg)

Definition at line 12 of file plotter.py.

Variable Documentation

plotter.app = QtGui.QApplication(sys.argv)

Definition at line 31 of file plotter.py.

plotter.app_window = pg.GraphicsWindow(title='Learning Progress')

Definition at line 32 of file plotter.py.

int plotter.episode_count = 0

Definition at line 29 of file plotter.py.

plotter.length_list = deque(maxlen=plot_window)

Definition at line 28 of file plotter.py.

plotter.length_plot = main_plot.plot(pen='g', name='length')

Definition at line 37 of file plotter.py.

plotter.main_plot = app_window.addPlot(title='Episodes')

Definition at line 33 of file plotter.py.

plotter.plot_window = rospy.get_param("~plot_window")

Definition at line 25 of file plotter.py.

plotter.reward_list = deque(maxlen=plot_window)

Definition at line 27 of file plotter.py.

plotter.reward_plot = main_plot.plot(pen='r', name='reward')

Definition at line 38 of file plotter.py.