Skip to content

Commit

Permalink
improve test_lower_force
Browse files Browse the repository at this point in the history
  • Loading branch information
Uwe Fechner committed Apr 14, 2024
1 parent c822069 commit 4dc192d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions test/test_lower_force.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4dc192d

Please sign in to comment.