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/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:a3843a7b-c496-25cb-d450-5f5b64a16cf4 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | D8B8:2BD61D:27ECFF5:35796E4:697AC76D |
| html-safe-nonce | d84c2132df20c8ce835ef4bbca705a5fd817d16b80fb1b4c606c42a5a662822d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOEI4OjJCRDYxRDoyN0VDRkY1OjM1Nzk2RTQ6Njk3QUM3NkQiLCJ2aXNpdG9yX2lkIjoiNjkzMjIwMzI0NDczOTAyMDY1MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 065165a830f09b728cbd9039ae2fe81a672931682c8fedfeaa305438068ad797 |
| hovercard-subject-tag | pull_request:810212471 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,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/checks |
| 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 | 4af1ba0e68200258a80b0c5ab34f12a78bf48372a377a11e14eb668863c03b3a |
| turbo-cache-control | no-preview |
| 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 full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 353b231ffaec2de44db15b2e82887804ede7c21e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width