Skip to content

Commit 07ee3f4

Browse files
committed
Fix test
1 parent 1ce17f0 commit 07ee3f4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/test_flightpathcontroller1.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ using ControlPlots, KiteControllers, Timers; tic()
77
using KiteUtils: Settings, load_settings
88

99
set::Settings = deepcopy(load_settings("system.yaml"))
10-
fcs = FPCSettings(dt=1/set.sample_freq)
10+
fcs::FPCSettings = FPCSettings(dt=1/set.sample_freq)
1111
DURATION = 100.0
1212
SAMPLES = Int(DURATION / fcs.dt + 1)
1313
TIME = range(0.0, DURATION, SAMPLES)
1414

1515
# Test the flight path controller against the simplified kite model as shown
1616
# in diagram docs/flight_path_controller_test1.png .
1717
u_d0 = 0.01 * set.depower_offset
18-
u_d = 0.01 * set.depower
18+
u_d = 0.01 * set.depowers[1]
1919
fpc = FlightPathController(fcs; u_d0, u_d)
2020
kite = KiteModel(fcs)
2121
kite.omega = 0.08

0 commit comments

Comments
 (0)