- Notifications
You must be signed in to change notification settings - Fork445
Open
Description
python-control/control/statefbk.py
Line 1009 in4242976
| D_lqr=np.hstack([Kf,-K]) |
Matrix D_lqr is not correctly constructed if integral action is used in 'refgain' form. The line:
D_lqr = np.hstack([Kf, -K])
should read:
D_lqr = np.hstack([Kf, -K[:, :sys_nstates]])
as K[:, sys_nstates:] is already used in C_lqr, D_lqr is too wide.
Metadata
Metadata
Assignees
Labels
No labels