Skip to content

Commit d0036ed

Browse files
committed
doc: minor correction
1 parent e71817e commit d0036ed

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/controller/linmpc.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ arguments. This controller allocates memory at each time step for the optimizati
147147
# Arguments
148148
- `model::LinModel` : model used for controller predictions and state estimations.
149149
- `Hp::Int=10+nk` : prediction horizon ``H_p``, `nk` is the number of delays in `model`.
150-
- `Hc::Union{Int, Vector{Int}}=2` : control horizon ``H_c``, custom move blocking is
150+
- `Hc::Union{Int, Vector{Int}}=2` : control horizon ``H_c``, custom move blocking pattern is
151151
specified with a vector of integers (see [`move_blocking`](@ref) for details).
152152
- `Mwt=fill(1.0,model.ny)` : main diagonal of ``\mathbf{M}`` weight matrix (vector).
153153
- `Nwt=fill(0.1,model.nu)` : main diagonal of ``\mathbf{N}`` weight matrix (vector).

src/controller/nonlinmpc.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ This controller allocates memory at each time step for the optimization.
191191
- `model::SimModel` : model used for controller predictions and state estimations.
192192
- `Hp::Int=10+nk` : prediction horizon ``H_p``, `nk` is the number of delays if `model` is a
193193
[`LinModel`](@ref) (must be specified otherwise).
194-
- `Hc::Union{Int, Vector{Int}}=2` : control horizon ``H_c``, custom move blocking is
194+
- `Hc::Union{Int, Vector{Int}}=2` : control horizon ``H_c``, custom move blocking pattern is
195195
specified with a vector of integers (see [`move_blocking`](@ref) for details).
196196
- `Mwt=fill(1.0,model.ny)` : main diagonal of ``\mathbf{M}`` weight matrix (vector).
197197
- `Nwt=fill(0.1,model.nu)` : main diagonal of ``\mathbf{N}`` weight matrix (vector).

0 commit comments

Comments
 (0)