From 24ce8216688ea2cddbc1de65010291977b87366b Mon Sep 17 00:00:00 2001 From: Uwe Fechner Date: Tue, 30 Apr 2024 11:49:29 +0200 Subject: [PATCH] fix tests --- data/system.yaml | 2 +- test/runtests.jl | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/data/system.yaml b/data/system.yaml index 5a7736b..0ee4aae 100644 --- a/data/system.yaml +++ b/data/system.yaml @@ -1,3 +1,3 @@ system: - project: "settings.yaml" # simulator settings + sim_settings: "settings.yaml" # simulator settings \ No newline at end of file diff --git a/test/runtests.jl b/test/runtests.jl index 8477ba1..b00df77 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -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