Skip to content

Commit 908b371

Browse files
committed
test: increase Ts to avoid "TIME_LIMIT" status
1 parent e22a523 commit 908b371

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

test/test_predictive_control.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
Ts = 4.0
2-
sys = [ tf(1.90,[18.0,1]) tf(1.90,[18.0,1]) tf(1.90,[18.0,1]);
3-
tf(-0.74,[8.0,1]) tf(0.74,[8.0,1]) tf(-0.74,[8.0,1]) ]
1+
Ts = 400.0
2+
sys = [ tf(1.90,[1800.0,1]) tf(1.90,[1800.0,1]) tf(1.90,[1800.0,1]);
3+
tf(-0.74,[800.0,1]) tf(0.74,[800.0,1]) tf(-0.74,[800.0,1]) ]
44

55
@testset "LinMPC construction" begin
66
model = LinModel(sys, Ts, i_d=[3])

test/test_state_estim.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
Ts = 4.0
2-
sys = [ tf(1.90,[18.0,1]) tf(1.90,[18.0,1]) tf(1.90,[18.0,1]);
3-
tf(-0.74,[8.0,1]) tf(0.74,[8.0,1]) tf(-0.74,[8.0,1]) ]
1+
Ts = 400.0
2+
sys = [ tf(1.90,[1800.0,1]) tf(1.90,[1800.0,1]) tf(1.90,[1800.0,1]);
3+
tf(-0.74,[800.0,1]) tf(0.74,[800.0,1]) tf(-0.74,[800.0,1]) ]
44

55
@testset "SteadyKalmanFilter construction" begin
66
linmodel1 = LinModel(sys,Ts,i_u=[1,2])

0 commit comments

Comments
 (0)