Sluggish Plots
The PyQtGraph-related plots in the GUI (objective, constraints, actors) are extremely sluggish in their updates. This is of little concern if there is only one update every few seconds. But below ~500 ms per update, the slowdown becomes noticeable.
The main cause for this slowdown is the updating of the X-axis. Using a fixed-scale X-axis dramatically reduces CPU usage. We need to look into one of these:
- Can we fix this issue upstream?
- Can we use a fixed-scale X-axis, e.g. ScrollingPlotWidget?
- Can we switch off of PyQtGraph+AccWidgets.Graph?