Skip to content

Commit

Permalink
refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
ufechner7 committed Oct 27, 2024
1 parent 453e193 commit b649285
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions examples/parking_1p.jl
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,9 @@ using KiteControllers, KiteViewers, KiteModels, ControlPlots, Rotations

kcu::KCU = KCU(set)
kps::KPS3 = KPS3(kcu)
wcs::WCSettings = WCSettings(dt = 1/set.sample_freq)
update(wcs); wcs.dt = 1/set.sample_freq
fcs::FPCSettings = FPCSettings(dt = wcs.dt)
update(fcs); fcs.dt = wcs.dt
fpps::FPPSettings = FPPSettings()
update(fpps)
wcs::WCSettings = WCSettings(true, dt = 1/set.sample_freq)
fcs::FPCSettings = FPCSettings(true, dt = wcs.dt)
fpps::FPPSettings = FPPSettings(true)
u_d0 = 0.01 * set.depower_offset
u_d = 0.01 * set.depower
ssc::SystemStateControl = SystemStateControl(wcs, fcs, fpps; u_d0, u_d, v_wind = set.v_wind)
Expand Down

0 comments on commit b649285

Please sign in to comment.