Skip to content

Commit b8ca4f1

Browse files
committed
Fix warnings
1 parent 9ce99c5 commit b8ca4f1

3 files changed

Lines changed: 2 additions & 3 deletions

File tree

examples/reel_out_1p.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ v_force = zeros(STEPS)
3636

3737
function simulate(integrator, steps, plot=false)
3838
iter = 0
39-
last_label_y = 5.0
4039
for i in 1:steps
4140
if PRINT
4241
lift, drag = KiteModels.lift_drag(kps3)
@@ -64,7 +63,6 @@ function simulate(integrator, steps, plot=false)
6463
y_low = min(y_axis_1, y_axis_2) + 0.5
6564
y_high = max(y_axis_1, y_axis_2) - 0.5
6665
y_label = clamp(z_kite - 14.0, y_low, y_high)
67-
last_label_y = y_label
6866
end
6967
plot2d(kps3.pos, reltime; zoom=ZOOM, front=FRONT_VIEW,
7068
segments=set.segments, fig="side_view", xlim=(0,120), dx=1.0)

examples/rotations.jl

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

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

examples_3d/parking_4p.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ const PLOT = false
3535
ZOOM = true
3636
const FRONT_VIEW = true
3737
SHOW_KITE = true
38+
UPWIND_DIR2 = -pi/2+deg2rad(10) # Zero is at north; clockwise positive
3839
# end of user parameter section #
3940

4041
kcu::KCU = KCU(set)

0 commit comments

Comments
 (0)