Skip to content

Commit

Permalink
add missing values to update_sys_state!
Browse files Browse the repository at this point in the history
  • Loading branch information
ufechner7 committed Apr 1, 2024
1 parent 1e55a41 commit 5c95697
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/KiteModels.jl
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,12 @@ function update_sys_state!(ss::SysState, s::AKM, zoom=1.0)
ss.heading = calc_heading(s)
ss.course = calc_course(s)
ss.v_app = norm(s.v_apparent)
ss.l_tether = s.l_tether
ss.v_reelout = s.v_reel_out
ss.depower = s.depower
ss.steering = s.steering
ss.vel_kite .= s.vel_kite
nothing
end

"""
Expand Down

0 comments on commit 5c95697

Please sign in to comment.