@@ -119,6 +119,7 @@ julia> model = LinModel([tf(3, [30, 1]); tf(-2, [5, 1])], 0.5);
119119julia> estim = SteadyKalmanFilter(model, i_ym=[2], σR=[1], σQint_ym=[0.01])
120120SteadyKalmanFilter estimator with a sample time Ts = 0.5 s:
121121├ model: LinModel
122+ ├ direct: true
122123└ dimensions:
123124 ├ 1 manipulated inputs u (0 integrating states)
124125 ├ 3 estimated states x̂
@@ -410,6 +411,7 @@ julia> model = LinModel([tf(3, [30, 1]); tf(-2, [5, 1])], 0.5);
410411julia> estim = KalmanFilter(model, i_ym=[2], σR=[1], σP_0=[100, 100], σQint_ym=[0.01])
411412KalmanFilter estimator with a sample time Ts = 0.5 s:
412413├ model: LinModel
414+ ├ direct: true
413415└ dimensions:
414416 ├ 1 manipulated inputs u (0 integrating states)
415417 ├ 3 estimated states x̂
@@ -656,6 +658,7 @@ julia> model = NonLinModel((x,u,_,_)->0.1x+u, (x,_,_)->2x, 10.0, 1, 1, 1, solver
656658julia> estim = UnscentedKalmanFilter(model, σR=[1], nint_ym=[2], σPint_ym_0=[1, 1])
657659UnscentedKalmanFilter estimator with a sample time Ts = 10.0 s:
658660├ model: NonLinModel
661+ ├ direct: true
659662└ dimensions:
660663 ├ 1 manipulated inputs u (0 integrating states)
661664 ├ 3 estimated states x̂
@@ -1023,6 +1026,7 @@ julia> estim = ExtendedKalmanFilter(model, σQ=[2], σQint_ym=[2], σP_0=[0.1],
10231026ExtendedKalmanFilter estimator with a sample time Ts = 5.0 s:
10241027├ model: NonLinModel
10251028├ jacobian: AutoForwardDiff
1029+ ├ direct: true
10261030└ dimensions:
10271031 ├ 1 manipulated inputs u (0 integrating states)
10281032 ├ 2 estimated states x̂
@@ -1190,8 +1194,10 @@ function update_estimate!(estim::ExtendedKalmanFilter{NT}, y0m, d0, u0) where NT
11901194 return predict_estimate_kf! (estim, u0, d0, F̂)
11911195end
11921196
1197+ " Print the `jacobian` backend and `direct` flag for [`ExtendedKalmanFilter`](@ref)."
11931198function print_details (io:: IO , estim:: ExtendedKalmanFilter )
11941199 println (io, " ├ jacobian: $(backend_str (estim. jacobian)) " )
1200+ println (io, " ├ direct: $(estim. direct) " )
11951201end
11961202
11971203" Set `estim.cov.P̂` to `estim.cov.P̂_0` for the time-varying Kalman Filters."
0 commit comments