Skip to content

Commit

Permalink
mark some fields that should not be changed as const
Browse files Browse the repository at this point in the history
  • Loading branch information
baggepinnen committed Mar 7, 2024
1 parent ac422bb commit f051f6c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/DiscretePIDs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,17 @@ mutable struct DiscretePID{T} <: Function
"Reset time"
Tt::T
"Maximum derivative gain"
N::T
const N::T
"Fraction of set point in prop. term"
b::T
"Low output limit"
umin::T
"High output limit"
umax::T
"Sampling period"
Ts::T
const Ts::T
bi::T
ar::T
const ar::T
bd::T
ad::T
"Integral state"
Expand Down

0 comments on commit f051f6c

Please sign in to comment.