Title: Fix warning messages in rootlocus_pid_designer unit tests by murrayrm · Pull Request #684 · python-control/python-control · GitHub
Open Graph Title: Fix warning messages in rootlocus_pid_designer unit tests by murrayrm · Pull Request #684 · python-control/python-control
X Title: Fix warning messages in rootlocus_pid_designer unit tests by murrayrm · Pull Request #684 · python-control/python-control
Description: This PR gets rid of warning messages introduced in PR #662: Since rootlocus_pid_designer leaves either r or d disconnected, the interconnect function was generating warnings (76 of them...). This was fixed by using check_unused=False. Calling rootlocus_pid_designer with plot=True seems to generate a Bode plot that is -1 and this creates a warning: control/ctrlutil.py:75: RuntimeWarning: invalid value encountered in remainder dangle_desired = (dangle + period/2.) % period - period/2. For now this latter problem is fixed by skipping this test. @sawyerbfuller I'm not quite sure how to fix this error. If I try running the test by hand using ct.rootlocus_pid_designer(syscont, input_signal='r', Kp0=0.01, derivative_in_feedback_path=True, gain='P') then I get the following plot:
Open Graph Description: This PR gets rid of warning messages introduced in PR #662: Since rootlocus_pid_designer leaves either r or d disconnected, the interconnect function was generating warnings (76 of them...). This...
X Description: This PR gets rid of warning messages introduced in PR #662: Since rootlocus_pid_designer leaves either r or d disconnected, the interconnect function was generating warnings (76 of them...). This...
Opengraph URL: https://github.com/python-control/python-control/pull/684
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:15ab5a47-4121-6c2f-4ce7-52f2f4e44f3c |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A698:1C1FF4:E4CA68:13A3A5A:697A7E5F |
| html-safe-nonce | 123b28f1a240986bb3d42ff4c9a11c4a996b3d3eb6487eb0c79d9e9c051547fc |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNjk4OjFDMUZGNDpFNENBNjg6MTNBM0E1QTo2OTdBN0U1RiIsInZpc2l0b3JfaWQiOiI2MTA5OTA5MTUxNTA2OTIzMTAzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | dffa3e374662023e093172202e412b07e771d1fcbee579b34f3bc41e0e583357 |
| hovercard-subject-tag | pull_request:810212471 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python-control/python-control/pull/684/files |
| twitter:image | https://avatars.githubusercontent.com/u/293362?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/293362?s=400&v=4 |
| og:image:alt | This PR gets rid of warning messages introduced in PR #662: Since rootlocus_pid_designer leaves either r or d disconnected, the interconnect function was generating warnings (76 of them...). This... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | f6192227ebb08ae3d66e887f7363efea6f1ba29abe280990e1f6ad2d2962b6c8 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python-control/python-control git https://github.com/python-control/python-control.git |
| octolytics-dimension-user_id | 2285872 |
| octolytics-dimension-user_login | python-control |
| octolytics-dimension-repository_id | 22791752 |
| octolytics-dimension-repository_nwo | python-control/python-control |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 22791752 |
| octolytics-dimension-repository_network_root_nwo | python-control/python-control |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7f58967b50cdccb4b617fbacac94376e17eef59e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width