Skip to content

Commit 1a90c8e

Browse files
committed
Add PID controller implementation
1 parent 8b6dc3d commit 1a90c8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

control_algorithms/pid.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313

1414
class PID:
15-
def __init__(self, Kp: float, Ki: float, Kd: float, setpoint: float = 0):
15+
def __init__(self, kp: float, ki: float, kd: float, setpoint: float = 0):
1616
"""
1717
Initialize the PID controller.
1818

0 commit comments

Comments
 (0)