Add Interactive Root Locus GUI with High-Resolution Catmull-Rom Interpolation #1175
+1,021
−0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The python-control library currently lacks interactive plotting capabilities that are essential for modern control system analysis and education. While the library provides excellent static root locus plots, users often need to:
** The problem **
Real-time GUI's can be tricky for high-order polynomials such as a complex root locus plot. I have experience building precomputed lookup tables and implementing more advanced interpolation techniques for smoothing out resolution issues with real-time followers like the one I proposed.
What This Contribution Adds
Why it is efficient and novel?
This improvement uses:
You can test it through my fork by running:
Then run:
Now you can hover over the curve to see real-time gain changes.
I find this real-time tool very helpful, I hope this helps and is considered for the control package!
The readme is AI generated so I can delete that if needed. Thanks!