Skip to content

Commit

Permalink
fix autopilot
Browse files Browse the repository at this point in the history
  • Loading branch information
ufechner7 committed Oct 27, 2024
1 parent 5526052 commit b5eee61
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions examples/autopilot.jl
Original file line number Diff line number Diff line change
Expand Up @@ -72,17 +72,13 @@ function init(app::KiteApp; init_viewer=false)
project=(KiteUtils.PROJECT)
app.kps4 = KPS4(app.kcu)
KiteUtils.PROJECT = project
app.wcs = WCSettings()
update(app.wcs)
app.wcs = WCSettings(true; dt=1/app.set.sample_freq)

app.wcs.dt = 1/app.set.sample_freq
app.dt = app.wcs.dt
app.fcs = FPCSettings(dt=app.dt)
update(app.fcs)
app.fcs.dt = app.wcs.dt
app.fcs = FPCSettings(true; dt=app.dt)
app.fcs.log_level = app.set.log_level
app.fpps = FPPSettings()
update(app.fpps)
app.fpps = FPPSettings(true)
app.fpps.log_level = app.set.log_level
u_d0 = 0.01 * se(project).depower_offset
u_d = 0.01 * se(project).depower
Expand Down

0 comments on commit b5eee61

Please sign in to comment.