Skip to content

Commit 01d67d1

Browse files
committed
minor doc correction
1 parent 228a191 commit 01d67d1

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/estimator/kalman.jl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ struct SteadyKalmanFilter <: StateEstimator
3636
catch my_error
3737
if isa(my_error, ErrorException)
3838
error("Cannot compute the optimal Kalman gain K for the "*
39-
"SteadyKalmanFilter. You may try to remove integrators with nint_ym "*
40-
"parameter or use the time-varying KalmanFilter.")
39+
"SteadyKalmanFilter. You may try to remove integrators with "*
40+
"nint_u/nint_ym parameter or use the time-varying KalmanFilter.")
4141
else
4242
rethrow()
4343
end
@@ -236,7 +236,7 @@ The process model is identical to [`SteadyKalmanFilter`](@ref). The matrix
236236
``\mathbf{P̂}_k(k+1)`` is the estimation error covariance of `model` states augmented with
237237
the stochastic ones (specified by `nint_ym`). Three keyword arguments modify its initial
238238
value with ``\mathbf{P̂}_{-1}(0) =
239-
\mathrm{diag}\{ \mathbf{Q}(0), \mathbf{Q_{int_{u}}}(0), \mathbf{Q_{int_{ym}}} \}``.
239+
\mathrm{diag}\{ \mathbf{P}(0), \mathbf{P_{int_{u}}}(0), \mathbf{P_{int_{ym}}} \}``.
240240
241241
# Arguments
242242
- `model::LinModel` : (deterministic) model for the estimations.
@@ -245,8 +245,8 @@ value with ``\mathbf{P̂}_{-1}(0) =
245245
- `σP0int_u=fill(1,sum(nint_u))` : same than `σP0` but for the unmeasured disturbances at
246246
manipulated inputs ``\mathbf{P_{int_u}}`` (composed of integrators).
247247
covariance ``\mathbf{P_{int}}(0)`` (composed of output integrators).
248-
- `σQint_ym=fill(1,sum(nint_u))` : same than `σP0` but for the unmeasured disturbances at
249-
measured outputs ``\mathbf{Q_{int_{ym}}}`` (composed of integrators).
248+
- `σP0int_ym=fill(1,sum(nint_ym))` : same than `σP0` but for the unmeasured disturbances at
249+
measured outputs ``\mathbf{P_{int_{ym}}}`` (composed of integrators).
250250
- `<keyword arguments>` of [`SteadyKalmanFilter`](@ref) constructor.
251251
252252
# Examples

src/state_estim.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ end
200200
augment_model(::SimModel, _ , _ , _ ) = nothing
201201

202202
@doc raw"""
203-
default_nint(model::LinModel, i_ym=1:model.ny, nint_u)
203+
default_nint(model::LinModel, i_ym=1:model.ny, nint_u=0)
204204
205205
Get default integrator quantity per measured outputs `nint_ym` for [`LinModel`](@ref).
206206

0 commit comments

Comments
 (0)