Skip to content

Fix warning messages in rootlocus_pid_designer unit tests #684

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 31, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion control/sisotool.py
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ def rootlocus_pid_designer(plant, gain='P', sign=+1, input_signal='r',
loop = interconnect((plant, Kpgain, Kigain, Kdgain, prop, integ, deriv,
C_ff, e_summer, u_summer),
inplist=['input', input_signal],
outlist=['output', 'y'])
outlist=['output', 'y'], check_unused=False)
if plot:
sisotool(loop, kvect=(0.,))
cl = loop[1, 1] # closed loop transfer function with initial gains
Expand Down
1 change: 1 addition & 0 deletions control/tests/sisotool_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ def test_pid_designer_1(self, plant, gain, sign, input_signal, Kp0, Ki0, Kd0, ta

# test creation of sisotool plot
# input from reference or disturbance
@pytest.mark.skip("Bode plot is incorrect; generates spurious warnings")
@pytest.mark.parametrize('plant', ('syscont', 'syscont221'), indirect=True)
@pytest.mark.parametrize("kwargs", [
{'input_signal':'r', 'Kp0':0.01, 'derivative_in_feedback_path':True},
Expand Down