Skip to content

Commit 42fe519

Browse files
committed
minor doc correction
1 parent 96b14f8 commit 42fe519

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

docs/src/manual/installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
To install the `ModelPredictiveControl` package, run this command in the Julia REPL:
44

55
```julia
6-
using Pkg; Pkg.add("ModelPredictiveControl")
6+
using Pkg; Pkg.activate(); Pkg.add("ModelPredictiveControl")
77
```
88

99
Doing so will install the package to default Julia environnement, that is, accessible

docs/src/manual/linmpc.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,10 @@ We design our [`LinMPC`](@ref) controllers by including the linear level constra
6969
mpc = setconstraint!(LinMPC(model, Hp=15, Hc=2, Mwt=[1, 1], Nwt=[0.1, 0.1]), ymin=[45, -Inf])
7070
```
7171

72-
in which `Hp`, `Hc` keyword arguments are respectively the predictive and control horizons,
73-
and `Mwt` and `Nwt`, the output setpoint tracking and move suppression weights. By default,
74-
[`LinMPC`](@ref) controllers use [`OSQP`](https://osqp.org/) to solve the problem, soft
75-
constraints on output predictions ``\mathbf{ŷ}`` to ensure feasibility, and a
72+
in which `Hp` and `Hc` keyword arguments are respectively the predictive and control
73+
horizons, and `Mwt` and `Nwt`, the output setpoint tracking and move suppression weights. By
74+
default, [`LinMPC`](@ref) controllers use [`OSQP`](https://osqp.org/) to solve the problem,
75+
soft constraints on output predictions ``\mathbf{ŷ}`` to ensure feasibility, and a
7676
[`SteadyKalmanFilter`](@ref) to estimate the plant states. An attentive reader will also
7777
notice that the Kalman filter estimates two additional states compared to the plant model.
7878
These are the integrating states for the unmeasured plant disturbances, and they are

0 commit comments

Comments
 (0)