From 35da6ca18e54149140d67f51a17ce885e60f40bd Mon Sep 17 00:00:00 2001 From: Uwe Fechner Date: Mon, 8 Jul 2024 16:19:53 +0200 Subject: [PATCH] Fix for Windows --- examples/plots.jl | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/plots.jl b/examples/plots.jl index 696640d..2f26c04 100644 --- a/examples/plots.jl +++ b/examples/plots.jl @@ -51,6 +51,7 @@ function plot_control(log=nothing) display(plotx(log.syslog.time, rad2deg.(sl.elevation), rad2deg.(sl.azimuth), rad2deg.(sl.heading), sl.force, 100*sl.depower, 100*sl.steering, sl.sys_state, sl.var_01, sl.var_02; ylabels=["elevation [°]", "azimuth [°]", "heading [°]", "force [N]", "depower [%]", "steering [%]", "fpp_state", "cycle", "fig8"], fig="control", ysize=10)) + sleep(0.05) display(plotx(log.syslog.time, rad2deg.(sl.elevation), rad2deg.(sl.azimuth), -rad2deg.(wrap2pi.(sl.heading)), 100*sl.depower, 100*sl.steering, rad2deg.(sl.var_07), sl.var_06, sl.sys_state, sl.var_01; ylabels=["elevation [°]", "azimuth [°]", "psi [°]", "depower [%]", "steering [%]", "chi_set", "ndi_gain", "fpp_state", "cycle"], fig="fpc", ysize=10))