From f76c555659e50a803a8e02a6f68cb36e18e948c8 Mon Sep 17 00:00:00 2001 From: Uwe Fechner Date: Sat, 7 Sep 2024 18:46:42 +0200 Subject: [PATCH] fix tune_1p_glb --- examples/tune_1p_glb.jl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/tune_1p_glb.jl b/examples/tune_1p_glb.jl index 812e44b7..7d06f366 100644 --- a/examples/tune_1p_glb.jl +++ b/examples/tune_1p_glb.jl @@ -2,6 +2,7 @@ using Pkg if ! ("ControlPlots" ∈ keys(Pkg.project().dependencies)) using TestEnv; TestEnv.activate() + Pkg.add("BlackBoxOptim") end using KiteUtils @@ -15,7 +16,7 @@ using KiteControllers, KiteModels, ControlPlots, BlackBoxOptim kcu::KCU = KCU(set) kps::KPS3 = KPS3(kcu) wcs::WCSettings = WCSettings(); wcs.dt = 1/set.sample_freq -fcs::FPCSettings = FPCSettings(wcs.dt) +fcs::FPCSettings = FPCSettings(dt=wcs.dt) fpps::FPPSettings = FPPSettings() u_d0 = 0.01 * set.depower_offset u_d = 0.01 * set.depower