diff --git a/test/test_steering.jl b/test/test_steering.jl index d013898..5b6f28a 100644 --- a/test/test_steering.jl +++ b/test/test_steering.jl @@ -1,3 +1,8 @@ +using Pkg +if ! ("KiteModels" ∈ keys(Pkg.project().dependencies)) + using TestEnv; TestEnv.activate() +end + using KiteViewers, KiteModels, KitePodModels, Rotations, Timers # change this to KPS3 or KPS4 @@ -16,7 +21,7 @@ STATISTIC = false SHOW_KITE = false # end of user parameter section # -if ! @isdefined viewer; const viewer = Viewer3D(SHOW_KITE); end +viewer::Viewer3D = Viewer3D(SHOW_KITE) function update_system2(kps) sys_state = SysState(kps)