Skip to content

Commit

Permalink
put back :tustin for measured distrubances
Browse files Browse the repository at this point in the history
  • Loading branch information
franckgaga committed Sep 12, 2023
1 parent 9be6191 commit 88e870d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/model/linmodel.jl
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ function LinModel(
# manipulated inputs : zero-order hold discretization
sysu_dis = c2d(sysu,Ts,:zoh)
# measured disturbances : tustin discretization (continuous signals with ADCs)
sysd_dis = c2d(sysd,Ts,:zoh)
sysd_dis = c2d(sysd,Ts,:tustin)
else
if !isnothing(Ts) && !(Ts sys.Ts)
@info "LinModel: resampling linear model from Ts = $(sys.Ts) to $Ts s..."
Expand Down

0 comments on commit 88e870d

Please sign in to comment.