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