Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Uwe Fechner committed Apr 30, 2024
1 parent a551e00 commit 24ce821
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion data/system.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
system:
project: "settings.yaml" # simulator settings
sim_settings: "settings.yaml" # simulator settings

6 changes: 3 additions & 3 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ include("test_steering.jl")
segments=se().segments
pos_kite = kps4.pos[segments+1] # well, this is the position of the pod...
elevation = calc_elevation(pos_kite)
@test isapprox(rad2deg(elevation), 69.49651592080296, rtol=1e-3)
@test isapprox(rad2deg(elevation), 69.29496863407165, rtol=1e-3)
azimuth = azimuth_east(pos_kite)
@test isapprox(rad2deg(azimuth), 2.2941958048609155, rtol=2e-2, atol=1)
@test isapprox(rad2deg(azimuth), 8.108681940337314, rtol=2e-2, atol=1)
force = winch_force(kps4)
@test isapprox(force, 461.637574830213, rtol=1e-2)
@test isapprox(force, 467.76002941588166, rtol=1e-2)
end

0 comments on commit 24ce821

Please sign in to comment.