From 4dc192d92c2c3110e6909e1036116810481d6b64 Mon Sep 17 00:00:00 2001 From: Uwe Fechner Date: Sun, 14 Apr 2024 18:15:55 +0200 Subject: [PATCH] improve test_lower_force --- test/test_lower_force.jl | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/test/test_lower_force.jl b/test/test_lower_force.jl index d3c705ae..a5f6e6b1 100644 --- a/test/test_lower_force.jl +++ b/test/test_lower_force.jl @@ -10,6 +10,16 @@ using Timers; tic() # input: data/transition.arrow using KiteControllers, ControlPlots, BenchmarkTools +log = load_log("transition.arrow") +sl = log.syslog +dt = 0.05 +t_start = 216 +t_stop = 220 +force = sl.force[Int64(t_start/dt)+1:Int64(t_stop/dt)+1] +set_force = sl.var_04[Int64(t_start/dt)+1:Int64(t_stop/dt)+1] +time = sl.time[Int64(t_start/dt)+1:Int64(t_stop/dt)+1] +display(plot(time, [force, set_force])) + wcs = WCSettings() wcs.test = true wcs.f_low = 350