Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Uwe Fechner committed Nov 14, 2024
1 parent 7dda549 commit 0d3b31b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions examples/autopilot.jl
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,6 @@ function simulate(integrator, stopped=true)
end

function play(stopped=false)
global flight_log
while isopen(app.viewer.fig.scene)
if ! app.initialized
init(app)
Expand All @@ -301,7 +300,6 @@ function play(stopped=false)
if app.set.log_level > 0
println("Saving log... $(app.logger.index)")
end
flight_log = KiteUtils.sys_log(app.logger)
save_log(app.logger, basename(DEFAULT_LOG); path=dirname(DEFAULT_LOG))
end
if @isdefined __PRECOMPILE__
Expand Down

0 comments on commit 0d3b31b

Please sign in to comment.