Skip to content

Commit 796b487

Browse files
committed
ControllerConstraint struct to handle both LinMPC and NonLinMPC constraints
1 parent 9c8647b commit 796b487

File tree

5 files changed

+157
-134
lines changed

5 files changed

+157
-134
lines changed

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@
3434
"Kalman",
3535
"kron",
3636
"kwargs",
37+
"lastu",
38+
"linconstraint",
3739
"Luenberger",
3840
"mathrm",
3941
"moveinput",
@@ -56,6 +58,7 @@
5658
"umax",
5759
"Ũmax",
5860
"umin",
61+
"Ũmin",
5962
"ŷmax",
6063
"ŷmin",
6164
"Δumax",

docs/src/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# ModelPredictiveControl.jl
22

33
A [model predictive control](https://en.wikipedia.org/wiki/Model_predictive_control) package
4-
for Julia. package for Julia.
4+
for Julia.
55

66
The package depends on [`ControlSystemsBase.jl`](https://github.com/JuliaControl/ControlSystems.jl)
77
for the linear systems and [`JuMP.jl`](https://github.com/jump-dev/JuMP.jl) for the solvers.

docs/src/internals/predictive_control.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,6 @@ ModelPredictiveControl.init_quadprog
1515
ModelPredictiveControl.init_stochpred
1616
ModelPredictiveControl.split_state
1717
ModelPredictiveControl.init_prediction
18-
ModelPredictiveControl.init_constraint
18+
ModelPredictiveControl.init_linconstraint
19+
ModelPredictiveControl.linconstraint
1920
```

0 commit comments

Comments
 (0)