Skip to content

Commit 2ca708a

Browse files
committed
changed: ε instead of ϵ for MovingHorizonEstimator slack
To use a different symbol than MPC slack variable. Added a deprecated `:ϵ` field in `getinfo(estim)` to avoid breaking changes
1 parent cf7f69d commit 2ca708a

File tree

3 files changed

+108
-106
lines changed

3 files changed

+108
-106
lines changed

src/estimator/mhe.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ print_backends(::IO, ::MovingHorizonEstimator, ::LinModel) = nothing
2525
function print_estim_dim(io::IO, estim::MovingHorizonEstimator, n)
2626
nu, nd = estim.model.nu, estim.model.nd
2727
nx̂, nym, nyu = estim.nx̂, estim.nym, estim.nyu
28-
He, = estim.He, estim.
28+
He, = estim.He, estim.
2929
niu, niym = sum(estim.nint_u), sum(estim.nint_ym)
3030
println(io, "$(lpad(He, n)) estimation steps He")
31-
println(io, "$(lpad(, n)) slack variable ϵ (estimation constraints)")
31+
println(io, "$(lpad(, n)) slack variable ε (estimation constraints)")
3232
println(io, "$(lpad(nu, n)) manipulated inputs u ($niu integrating states)")
3333
println(io, "$(lpad(nx̂, n)) estimated states x̂")
3434
println(io, "$(lpad(nym, n)) measured outputs ym ($niym integrating states)")

0 commit comments

Comments
 (0)