Skip to content

Commit f233474

Browse files
authored
Merge pull request #99 from JuliaControl/covestim_skf
added: support `SteadyKalmanFilter` for `covestim` argument of `MovingHorizonEstimator`
2 parents cd4294a + 2ba5616 commit f233474

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

docs/src/manual/nonlinmpc.md

-1
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,6 @@ function sim_adapt!(mpc, nonlinmodel, N, ry, plant, x_0, x̂_0, y_step=[0])
359359
setstate!(plant, x_0)
360360
initstate!(mpc, [0], plant())
361361
setstate!(mpc, x̂_0)
362-
x̂ = x̂_0
363362
for i = 1:N
364363
y = plant() + y_step
365364
x̂ = preparestate!(mpc, y)

src/estimator/mhe/construct.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ Construct the estimator from the augmented covariance matrices `P̂_0`, `Q̂` an
395395
This syntax allows nonzero off-diagonal elements in ``\mathbf{P̂_i}, \mathbf{Q̂, R̂}``,
396396
where ``\mathbf{P̂_i}`` is the initial estimation covariance, provided by `P̂_0` argument. The
397397
keyword argument `covestim` also allows specifying a custom [`StateEstimator`](@ref) object
398-
for the estimation of covariance at the arrival ``\mathbf{P̂}_{k-N_k}(k-N_k+1)``. The
398+
for the estimation of covariance at the arrival ``\mathbf{P̂}_{k-N_k}(k-N_k+p)``. The
399399
supported types are [`KalmanFilter`](@ref), [`UnscentedKalmanFilter`](@ref) and
400400
[`ExtendedKalmanFilter`](@ref).
401401
"""

0 commit comments

Comments
 (0)