Skip to content

Commit ee24faf

Browse files
committed
minor doc correction
1 parent a34030e commit ee24faf

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/src/manual/linmpc.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,10 @@ These are the integrators for the unmeasured plant disturbances, and they are au
8080
added to the model outputs by default if feasible (see [`SteadyKalmanFilter`](@ref)
8181
for details).
8282

83-
[^1]: We could have use an [`InternalModel`](@ref) structure to avoid state estimator design.
84-
It was tested on the example of this page and it gives similar results.
83+
[^1]: We could have use an [`InternalModel`](@ref) structure with
84+
`mpc = LinMPC(InternalModel(model), Hp=15, Hc=2, Mwt=[1, 1], Nwt=[0.1, 0.1])` to avoid
85+
state estimator design . It was tested on the example of this page and it gives similar
86+
results.
8587

8688
Before closing the loop, we call [`initstate!`](@ref) with the actual plant inputs and
8789
measurements to ensure a bumpless transfer. Since `model` simulates our plant here, its

0 commit comments

Comments
 (0)