21eb13ed6f
ctrl_panel: Keep i_set visible when PID engaged
...
Since i_set is also plotted, we would also want to see its precise value
too.
2024-07-19 15:14:19 +08:00
646452f559
ctrl_panel: Remove MutexParameter
...
Use the standard ListParamenter instead, and hook up UI changes
elsewhere.
2024-07-19 15:14:19 +08:00
46a22a9c32
ctrl_panel: Limits fixes
...
* PID Autotune test current should be positive
* Maximum absolute voltage should be 4 V not 5 V
2024-07-19 15:14:19 +08:00
8ec7bb833a
ctrl_panel: Code cleanup
...
* Remove unnecessary duplication of `THERMOSTAT_PARAMETERS`
* i -> ch
* Separate ParameterTree and Parameter initiation
* Remove extra "channel" option to root parameters, as the "value"
option is already the channel number
2024-07-19 15:14:19 +08:00
02d04dbae5
ctrl_panel: PID Auto Tune -> PID Autotune
2024-07-19 15:14:19 +08:00
85ff340b6f
ctrl_panel: Stop crushing spinboxes
...
It might not be the case on some themes, but on the default Qt theme the
spinbox are a bit too short for the containing numbers. See
https://github.com/pyqtgraph/pyqtgraph/issues/701 .
2024-07-19 15:14:19 +08:00
d844c02a3a
ctrl_panel: Approriate units for measured current
...
Allow the readonly display of current to vary its SI prefix in the unit,
since as a display entry it won't have the unit adjustment problem.
2024-07-19 15:13:49 +08:00