Skip to content

Commit 7cc694d

Browse files
committed
Fix warnings
1 parent a530053 commit 7cc694d

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

test/test_flightpathcalculator.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# activate the test environment if needed
22
using Pkg
33
if ! ("KiteModels" keys(Pkg.project().dependencies))
4-
using TestEnv; TestEnv.activate()
4+
Pkg.activate(@__DIR__)
55
end
66
using Timers; tic()
77

test/test_flightpathcontroller2.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ TIME = range(0.0, DURATION, SAMPLES)
1818
# in diagram docs/flight_path_controller_test1.png. Steer towards an
1919
# attractor point.
2020
u_d0 = 0.01 * set.depower_offset
21-
u_d = 0.01 * set.depower
21+
u_d = 0.01 * set.depowers[1]
2222
fpc = FlightPathController(fcs; u_d0, u_d)
2323
kite = KiteModel(fcs)
2424
kite.omega = 0.08

test/test_flightpathcontroller3.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ attractor=[55.73, 56.95]
2525
# attractor=[0, 90] # zenith
2626

2727
u_d0 = 0.01 * set.depower_offset
28-
u_d = 0.01 * set.depower
28+
u_d = 0.01 * set.depowers[1]
2929
fpc = FlightPathController(fcs; u_d0, u_d)
3030
fpca = FlightPathCalculator(fpc, fpps)
3131
kite = KiteModel(fcs)

test/test_fpc_low_right.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ attractor=[55.73, 56.95]
2727
# attractor=[0, 90] # zenith
2828

2929
u_d0 = 0.01 * set.depower_offset
30-
u_d = 0.01 * set.depower
30+
u_d = 0.01 * set.depowers[1]
3131
fpc = FlightPathController(fcs; u_d0, u_d)
3232
fpca = FlightPathCalculator(fpc, fpps)
3333
kite = KiteModel(fcs)

test/test_wrap2pi.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# activate the test environment if needed
22
using Pkg
33
if ! ("ControlPlots" keys(Pkg.project().dependencies))
4-
using TestEnv; TestEnv.activate()
4+
Pkg.activate(@__DIR__)
55
end
66
using Timers; tic()
77

0 commit comments

Comments
 (0)