Skip to content

Commit eebe19f

Browse files
committed
Modifications in NonLinMP manual
1 parent ba1ff1b commit eebe19f

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Project.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "ModelPredictiveControl"
22
uuid = "61f9bdb8-6ae4-484a-811f-bbf86720c31c"
33
authors = ["Francis Gagnon"]
4-
version = "0.5.6"
4+
version = "0.5.7"
55

66
[deps]
77
ControlSystemsBase = "aaaaaaaa-a6ca-5380-bf3e-84a91bcd477e"

docs/src/manual/nonlinmpc.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
## Nonlinear Model
44

55
In this example, the goal is to control the angular position ``θ`` of a pendulum
6-
attached to a motor. If the manipulated input is the motor torque ``τ``, the vectors
7-
are:
6+
attached to a motor. Knowing that the manipulated input is the motor torque ``τ``, the I/O
7+
vectors are:
88

99
```math
1010
\begin{aligned}
@@ -45,8 +45,8 @@ nu, nx, ny = 1, 2, 1
4545
model = NonLinModel(f, h, Ts, nu, nx, ny)
4646
```
4747

48-
The output function ``\mathbf{h}`` converts the angular position ``θ`` to degrees. It
49-
is good practice to first simulate `model` using [`sim!`](@ref) as a quick sanity check:
48+
The output function ``\mathbf{h}`` converts the ``θ`` angle to degrees. It is good practice
49+
to first simulate `model` using [`sim!`](@ref) as a quick sanity check:
5050

5151
```@example 1
5252
using Plots

0 commit comments

Comments
 (0)