Classic PID controller with maximum integral thresholding to prevent windup. More...
Public Member Functions | |
def | __init__ |
def | reset_controller |
def | update_state |
Updates the controller state and returns the current output. | |
Public Attributes | |
diag_pub | |
err_last | |
err_pub | |
feed_forward | |
i_max | |
integral | |
k_d | |
k_i | |
k_p | |
name | |
out_pub | |
rate | |
saturation | |
y |
Classic PID controller with maximum integral thresholding to prevent windup.
Definition at line 13 of file pid_controller.py.
def pid_controller.PIDController.__init__ | ( | self, | |
rate = 100. , |
|||
k_p = 0. , |
|||
k_i = 0. , |
|||
k_d = 0. , |
|||
i_max = None , |
|||
feed_forward = 0. , |
|||
init_integ = 0. , |
|||
saturation = None , |
|||
name = None |
|||
) |
Definition at line 14 of file pid_controller.py.
def pid_controller.PIDController.reset_controller | ( | self | ) |
Definition at line 59 of file pid_controller.py.
def pid_controller.PIDController.update_state | ( | self, | |
err | |||
) |
Updates the controller state and returns the current output.
Definition at line 34 of file pid_controller.py.
Definition at line 14 of file pid_controller.py.
Definition at line 14 of file pid_controller.py.
Definition at line 14 of file pid_controller.py.
Definition at line 14 of file pid_controller.py.
Definition at line 14 of file pid_controller.py.
Definition at line 14 of file pid_controller.py.
Definition at line 14 of file pid_controller.py.
Definition at line 14 of file pid_controller.py.
Definition at line 14 of file pid_controller.py.
Definition at line 14 of file pid_controller.py.
Definition at line 14 of file pid_controller.py.
Definition at line 14 of file pid_controller.py.
Definition at line 14 of file pid_controller.py.
Definition at line 14 of file pid_controller.py.