From 2ce9d412a0f6ec9eea4912277559303e07f7e891 Mon Sep 17 00:00:00 2001 From: Uwe Fechner Date: Sat, 23 Mar 2024 17:36:57 +0100 Subject: [PATCH] bugfix --- examples/autopilot.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/autopilot.jl b/examples/autopilot.jl index 5ec8aa9c..8489dd10 100644 --- a/examples/autopilot.jl +++ b/examples/autopilot.jl @@ -121,7 +121,7 @@ function simulate(integrator, stopped=true) i += 1 end if ! isopen(viewer.fig.scene) break end - if KiteViewers.status[] == "Stopped" && i > 1 break end + if KiteViewers.status[] == "Stopped" && i > 10 break end if i*dt > MAX_TIME break end end misses = j/k * 100