Skip to content

Commit 9ce99c5

Browse files
committed
Fix warnings
1 parent 58dffd6 commit 9ce99c5

6 files changed

Lines changed: 5 additions & 6 deletions

File tree

examples/calc_spectrum.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ using Pkg
2525
if dirname(Pkg.project().path) != @__DIR__
2626
Pkg.activate(@__DIR__)
2727
end
28-
using MakieControlPlots, DSP, JLD2
28+
using DSP, JLD2, MakieControlPlots
2929

3030
set.abs_tol=0.0006
3131
set.rel_tol=0.00001

examples/plot_cl_cd.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ for depower in DEPOWER
9595
integrator = KiteModels.init!(kps4; delta=0.03, stiffness_factor=0.05, prn=STATISTIC)
9696
if ! isnothing(integrator)
9797
try
98-
cl, cd = simulate(kps4, integrator, logger, STEPS)
98+
simulate(kps4, integrator, logger, STEPS)
9999
catch e
100100
println("Error: $e")
101101
if PLOT

examples/plot_cl_cd_plate.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ using Pkg
1717
if dirname(Pkg.project().path) != @__DIR__
1818
Pkg.activate(@__DIR__)
1919
end
20-
using MakieControlPlots, LaTeXStrings
20+
using LaTeXStrings, MakieControlPlots
2121

2222
set.v_wind = 14.0 # 25
2323
kcu::KCU = KCU(set)

examples/plot_parking_test.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ for depower in DEPOWER
123123
integrator = KiteModels.init!(kps4; delta=0.001, stiffness_factor=0.04, prn=STATISTIC)
124124
if ! isnothing(integrator)
125125
try
126-
cl, cd = simulate(kps4, integrator, logger, STEPS)
126+
simulate(kps4, integrator, logger, STEPS)
127127
catch e
128128
println("Error: $e")
129129
if PLOT

examples/plot_spectrum.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ using Pkg
1919
if dirname(Pkg.project().path) != @__DIR__
2020
Pkg.activate(@__DIR__)
2121
end
22-
using MakieControlPlots, DSP, JLD2, StatsBase
22+
using DSP, JLD2, MakieControlPlots, StatsBase
2323

2424
#if !@isdefined Spectrum begin
2525
mutable struct Spectrum

examples/reel_out_1p.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ function simulate(integrator, steps, plot=false)
5858
if mod(i, 5) == 1
5959
z_kite = kps3.pos[end][3]
6060
z_max = maximum(pos[3] for pos in kps3.pos)
61-
y_label = last_label_y
6261
if isfinite(z_kite) && isfinite(z_max)
6362
y_axis_1 = 0.0
6463
y_axis_2 = z_max + 5.0

0 commit comments

Comments
 (0)