Skip to content

Commit c6a9399

Browse files
committed
test: use Nwt in the controller for AD test
1 parent 760983f commit c6a9399

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎test/3_test_predictive_control.jl‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -736,7 +736,7 @@ end
736736
T = typeof(Nwt)
737737
model = LinModel{T}(A, Bu, C, 0, 0, 0.1)
738738
estim = KalmanFilter(model, nint_ym=0, verify_obsv=false)
739-
mpc = ExplicitMPC(estim; Hp=20, Hc=2)
739+
mpc = ExplicitMPC(estim; Hp=20, Hc=2, Nwt=[Nwt])
740740
preparestate!(mpc, [0.0])
741741
return moveinput!(mpc, [1.0])[1]
742742
end

0 commit comments

Comments
 (0)