Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Uwe Fechner committed Dec 5, 2024
1 parent c036a9e commit a4879ec
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
Binary file modified data/Test_flight.arrow
Binary file not shown.
2 changes: 1 addition & 1 deletion src/_sysstate.jl
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Base.@kwdef mutable struct SysState{P}
"course angle [rad]"
course::MyFloat = 0
"attractor coordinates (azimuth, elevation) [rad]"
attractor::MVector{2, MyFloat} = 0
attractor::MVector{2, MyFloat} = [0.0, 0.0]
"norm of apparent wind speed [m/s]"
v_app::MyFloat = 0
"wind vector at reference height [m/s]"
Expand Down
2 changes: 2 additions & 0 deletions src/build.jl
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ open(outputfile,"w") do io
default = "= [1.0, 0.0, 0.0, 0.0]"
elseif sysstate[key] == "MVector{3, MyFloat}"
default = "= [0.0, 0.0, 0.0]"
elseif sysstate[key] == "MVector{2, MyFloat}"
default = "= [0.0, 0.0]"
elseif sysstate[key] == "MVector{P, MyFloat}"
default = "= zeros(P)"
end
Expand Down

0 comments on commit a4879ec

Please sign in to comment.