Skip to content

Commit 3d1c279

Browse files
committed
doc change manual tuning nmpc
1 parent d42013d commit 3d1c279

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/src/manual/nonlinmpc.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,11 @@ plot(res, plotu=false, plotxwithx̂=true)
7676

7777
The estimate ``x̂_3`` is the integrator state that compensates for static errors (`nint_ym`
7878
and `σQ_int` parameters of [`UnscentedKalmanFilter`](@ref)). The Kalman filter performance
79-
seems sufficient for control. As the motor torque is limited to -1.5 to 1.5 N m, we
79+
seems sufficient for control. As the motor torque is limited to -1.5 to 1.5 N m, we
8080
incorporate the input constraints in a [`NonLinMPC`](@ref):
8181

8282
```@example 1
83-
mpc = NonLinMPC(estim, Hp=20, Hc=4, Mwt=[0.05], Nwt=[2.5], Cwt=Inf)
83+
mpc = NonLinMPC(estim, Hp=20, Hc=4, Mwt=[0.5], Nwt=[2.5], Cwt=Inf)
8484
mpc = setconstraint!(mpc, umin=[-1.5], umax=[+1.5])
8585
```
8686

0 commit comments

Comments
 (0)