Open lneuhaus opened 6 years ago
Some solution (either atomic switching of multiple registers, triggering PIDs etc.) should be implemented to avoid issues during locking, e.g. as described by Kun's mail today. Options are
something like
with switch_together: pid.i = 1 pid.p = 2 pid.input = 'in2'
which will be executed when the indented block is left.
pid.freeze() pid.i = 32 pid.input= 'in2' pid.unfreeze()
something with two different pids that and pid.on = False, pid.on=True and so on.
pid.on = False
pid.on=True
Other proposals?
A workaround for now: disable gains, switch input, enable gains. e7f99b455872376a20ad71d4b146f92d4493ce92
Some solution (either atomic switching of multiple registers, triggering PIDs etc.) should be implemented to avoid issues during locking, e.g. as described by Kun's mail today. Options are
something like
which will be executed when the indented block is left.
something like
something with two different pids that and
pid.on = False
,pid.on=True
and so on.Other proposals?