Skip to content

Commit 65b067b

Browse files
authored
Merge pull request #56 from JuliaControl/doc_correction
doc: correct mistake in MPC prediction matrices
2 parents dc8681a + 805c331 commit 65b067b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/controller/construct.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ The ``\mathbf{F}`` and ``\mathbf{f_x̂}`` vectors are recalculated at each contr
447447
\mathbf{Ĉ W}(0) \\
448448
\mathbf{Ĉ W}(1) \\
449449
\vdots \\
450-
\mathbf{Ĉ W}(H_p-1) \end{bmatrix} \mathbf{\big(x̂_{op} + f̂_{op}\big)}
450+
\mathbf{Ĉ W}(H_p-1) \end{bmatrix} \mathbf{f̂_{op} - \big(x̂_{op}\big)}
451451
\end{aligned}
452452
```
453453
For the terminal constraints, the matrices are computed with:

0 commit comments

Comments
 (0)