Skip to content

Commit 2ec4d36

Browse files
authored
Merge pull request #217 from JuliaControl/test_debug
test: increase Ts of `NonLinMPC` test to avoid out-of-time status
2 parents e7c8c89 + f443457 commit 2ec4d36

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/3_test_predictive_control.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -881,10 +881,10 @@ end
881881

882882
@testitem "NonLinMPC and ManualEstimator v.s. default" setup=[SetupMPCtests] begin
883883
using .SetupMPCtests, ControlSystemsBase, LinearAlgebra
884-
linmodel = LinModel(tf(5, [2, 1]), 3.0)
884+
linmodel = LinModel(tf(5, [200, 1]), 300.0)
885885
f(x,u,_,p) = p.A*x + p.Bu*u
886886
h(x,_,p) = p.C*x
887-
model = setop!(NonLinModel(f, h, 3.0, 1, 1, 1; solver=nothing, p=linmodel), yop=[10])
887+
model = setop!(NonLinModel(f, h, 300.0, 1, 1, 1; solver=nothing, p=linmodel), yop=[10])
888888
r = [15]
889889
outdist = [5]
890890
U_man, U_def = let model=model, r=r, outdist=outdist

0 commit comments

Comments
 (0)