Skip to content
Snippets Groups Projects
Commit 781ee4e2 authored by Sebastian Böttger's avatar Sebastian Böttger
Browse files

Add plot of section type

parent b585243d
Branches
No related tags found
1 merge request!1Development
......@@ -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()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment