project8 / dragonfly

a dripline-based slow-control implementation
Other
0 stars 0 forks source link

make the pid_loop more stateless #175

Open wcpettus opened 5 years ago

wcpettus commented 5 years ago

Currently the PID loop caches the cell heater current value and uses it to calculate the new current setpoint. This violates the design of stateless systems (if it wants to know the old current value, just provider.get), and makes it more involved to tune over the PID loop.

Simple correction:

A consideration: