Skip to content

Commit ccd4ba9

Browse files
committed
minor doc correction
1 parent 84f3145 commit ccd4ba9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/src/manual/nonlinmpc.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ pendulum. Here, the explicit Euler method discretizes the system to construct a
3030
```@example 1
3131
using ModelPredictiveControl
3232
function pendulum(par, x, u)
33-
g, L, K, m = par # [m/s], [m], [kg/s], [kg]
33+
g, L, K, m = par # [m/s²], [m], [kg/s], [kg]
3434
θ, ω = x[1], x[2] # [rad], [rad/s]
3535
τ = u[1] # [N m]
3636
dθ = ω

src/state_estim.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ Get default integrator quantity per measured outputs `nint_ym` for [`LinModel`](
203203
204204
The measured output ``\mathbf{y^m}`` indices are specified by `i_ym` argument. By default,
205205
one integrator is added on each measured outputs. If ``\mathbf{Â, Ĉ}`` matrices of the
206-
augmented model becomes unobservable, the integrator is removed. This approach works well
206+
augmented model become unobservable, the integrator is removed. This approach works well
207207
for stable, integrating and unstable `model` (see Examples).
208208
209209
# Examples

0 commit comments

Comments
 (0)