Skip to content

Commit

Permalink
bugfixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Uwe Fechner committed Mar 26, 2024
1 parent 88a5f15 commit 4b1d607
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/autopilot.jl
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,8 @@ end
include("logging.jl")

function plot_timing()
log=load_log(PARTICLES, KiteViewers.plot_file[])
sl = log.syslog
log = load_log(PARTICLES, basename(KiteViewers.plot_file[]))
sl = log.syslog
display(ControlPlots.plotx(sl.time, sl.t_sim, 100*sl.steering, 100*sl.depower;
ylabels=["t_sim [ms]", "steering [%]","depower [%]"]))
println("Mean time per timestep: $(mean(sl.t_sim)) ms")
Expand Down

0 comments on commit 4b1d607

Please sign in to comment.