@@ -608,6 +608,13 @@ def lqr(*args, **kwargs):
608608 State and input weight matrices
609609 N : 2D array, optional
610610 Cross weight matrix
611+ integral_action : ndarray, optional
612+ If this keyword is specified, the controller includes integral action
613+ in addition to state feedback. The value of the `integral_action``
614+ keyword should be an ndarray that will be multiplied by the current to
615+ generate the error for the internal integrator states of the control
616+ law. The number of outputs that are to be integrated must match the
617+ number of additional rows and columns in the ``Q`` matrix.
611618 method : str, optional
612619 Set the method used for computing the result. Current methods are
613620 'slycot' and 'scipy'. If set to None (default), try 'slycot' first
@@ -750,6 +757,17 @@ def dlqr(*args, **kwargs):
750757 State and input weight matrices
751758 N : 2D array, optional
752759 Cross weight matrix
760+ integral_action : ndarray, optional
761+ If this keyword is specified, the controller includes integral action
762+ in addition to state feedback. The value of the `integral_action``
763+ keyword should be an ndarray that will be multiplied by the current to
764+ generate the error for the internal integrator states of the control
765+ law. The number of outputs that are to be integrated must match the
766+ number of additional rows and columns in the ``Q`` matrix.
767+ method : str, optional
768+ Set the method used for computing the result. Current methods are
769+ 'slycot' and 'scipy'. If set to None (default), try 'slycot' first
770+ and then 'scipy'.
753771
754772 Returns
755773 -------
0 commit comments