diff --git a/race_managment.py b/race_managment.py index ae80b8b20ad556e8da6c405759879caec93b50d1..2db72bbb9816b9685e81b800c73a39e28b4bc6b1 100644 --- a/race_managment.py +++ b/race_managment.py @@ -33,6 +33,7 @@ def main_loop(): # line plotter with time lp_v = Line_Plotter_Time("Linear speed", "s", "mm/s", 1000) lp_w = Line_Plotter_Time("Rotation speed", "s", "rad/s", 1000) + #lp_section_type = Line_Plotter_Time("Filtered rotation speed", "s", "current section type", 1000) # trackplotter background, track = Track_Plotter.get_set_of_trackparts_3() @@ -66,6 +67,7 @@ def main_loop(): # update line plotter lp_v.update(v,t) lp_w.update(w,t) + #lp_section_type.update(localizer.current_section_type if localizer.current_section_type is not None else 0, t) # get section type section_type,_,_,_ = driving_analyser.detect_section_type(w) @@ -95,6 +97,7 @@ def main_loop(): pass lp_w.close() lp_v.close() + #lp_section_type.close(); tp.close()