From b40fd819e26f86aef22b9453642db5bd64a83084 Mon Sep 17 00:00:00 2001 From: Uwe Fechner Date: Tue, 26 Mar 2024 14:06:35 +0100 Subject: [PATCH] small fix --- examples/autopilot.jl | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/examples/autopilot.jl b/examples/autopilot.jl index ac04e8b4..fe50daa0 100644 --- a/examples/autopilot.jl +++ b/examples/autopilot.jl @@ -247,7 +247,7 @@ function plot_main() log=load_log(PARTICLES, KiteViewers.plot_file[]) sl = log.syslog println(length(log.syslog.time)) - display(plotx(log.syslog.time, log.z, rad2deg.(sl.elevation), sl.azimuth, sl.l_tether, sl.force, sl.v_reelout; + display(plotx(log.syslog.time, log.z, rad2deg.(sl.elevation), rad2deg.(sl.azimuth), sl.l_tether, sl.force, sl.v_reelout; ylabels=["height [m]", "elevation [°]", "azimuth [°]", "length [m]", "force [N]", "v_ro [m/s]"])) plt.pause(0.01) plt.show(block=false) @@ -255,8 +255,6 @@ function plot_main() end on(viewer.btn_OK.clicks) do c - println(viewer.menu.i_selected[]) - println(viewer.menu.selection[]) if viewer.menu.i_selected[] == 1 plot_main() elseif viewer.menu.i_selected[] == 2 @@ -290,7 +288,7 @@ stop_() KiteViewers.GLMakie.closeall() GC.enable(true) - +nothing # GC disabled, Ryzen 7950X, 4x realtime, GMRES # abs_tol: 0.0006, rel_tol: 0.001