Skip to content

Commit

Permalink
use env variables
Browse files Browse the repository at this point in the history
  • Loading branch information
ufechner7 committed Dec 20, 2024
1 parent 9154c30 commit b4987f1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion examples/parking_wind_dir.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@ using Timers; tic()

using KiteControllers, KiteViewers, KiteModels, ControlPlots, Rotations, StatsBase

set = deepcopy(load_settings("system_v9.yaml"))
if haskey(ENV, "USE_V9")
set = deepcopy(load_settings("system_v9.yaml"))
else
set = deepcopy(load_settings("system.yaml"))
end
set.abs_tol=0.00006
set.rel_tol=0.0001
set.sample_freq = 20
Expand Down

0 comments on commit b4987f1

Please sign in to comment.