Skip to content

Commit b783f8e

Browse files
committed
Fix warnings
1 parent f6106a7 commit b783f8e

4 files changed

Lines changed: 2 additions & 4 deletions

File tree

examples/reel_out_1p.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ function simulate(integrator, steps, plot=false)
6262
y_axis_2 = z_max + 5.0
6363
y_low = min(y_axis_1, y_axis_2) + 0.5
6464
y_high = max(y_axis_1, y_axis_2) - 0.5
65-
y_label = clamp(z_kite - 14.0, y_low, y_high)
6665
end
6766
plot2d(kps3.pos, reltime; zoom=ZOOM, front=FRONT_VIEW,
6867
segments=set.segments, fig="side_view", xlim=(0,120), dx=1.0)

examples/rotations.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ if dirname(Pkg.project().path) != @__DIR__
1010
Pkg.activate(@__DIR__)
1111
using StaticArrays
1212
end
13-
using LinearAlgebra, KiteUtils.Rotations
13+
using KiteUtils.Rotations, LinearAlgebra
14+
using KiteUtils: rot3d
1415

1516
# kite reference frame; positions in ENU coordinates
1617
# wind from west, nose to west, kite at zenith

examples/steering_test_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
iter = 0
5959
steering = K*0.1
6060
set_depower_steering(kps3.kcu, kps3.depower, 0)
61-
last_heading = 0.0
6261
heading = 0.0
6362
for i in 1:steps
6463
reltime = i*dt-dt

examples/steering_test_4p.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ function simulate(integrator, steps; plot=false)
6060
iter = 0
6161
steering = 0.1
6262
set_depower_steering(kps4.kcu, kps4.depower, 0)
63-
last_heading = 0.0
6463
heading = 0.0
6564
for i in 1:steps
6665
reltime = i*dt-dt

0 commit comments

Comments
 (0)