Skip to content

Commit 259fc16

Browse files
committed
minor doc correction
1 parent 90369ca commit 259fc16

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

docs/src/manual/nonlinmpc.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,9 @@ The plant model is nonlinear:
3535

3636
in which ``g`` is the gravitational acceleration in m/s², ``L``, the pendulum length in m,
3737
``K``, the friction coefficient at the pivot point in kg/s, and ``m``, the mass attached at
38-
the end of the pendulum in kg. Here, a [fourth order Runge-Kutta method](https://en.wikipedia.org/wiki/Runge%E2%80%93Kutta_methods)
39-
solves the differential equations to construct a [`NonLinModel`](@ref):
38+
the end of the pendulum in kg. The [`NonLinModel`](@ref) constructor assumes by default
39+
that the state function `f` is continuous in time, that is, an ordinary differential
40+
equation system (like here):
4041

4142
```@example 1
4243
using ModelPredictiveControl

src/estimator/mhe/construct.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ N_k = \begin{cases}
187187
The vectors ``\mathbf{Ŵ}`` and ``\mathbf{V̂}`` encompass the estimated process noise
188188
``\mathbf{ŵ}(k-j)`` and sensor noise ``\mathbf{v̂}(k-j)`` from ``j=N_k-1`` to ``0``. The
189189
Extended Help defines the two vectors and the scalar ``ϵ``. See [`UnscentedKalmanFilter`](@ref)
190-
for details on he augmented process model and ``\mathbf{R̂}, \mathbf{Q̂}`` covariances. The
190+
for details on the augmented process model and ``\mathbf{R̂}, \mathbf{Q̂}`` covariances. The
191191
matrix ``\mathbf{P̂}_{k-N_k}(k-N_k+1)`` is estimated with an [`ExtendedKalmanFilter`](@ref).
192192
193193
!!! warning

0 commit comments

Comments
 (0)