Skip to content

Commit 1c5dfe2

Browse files
div-dev123cclauss
andauthored
Update control_algorithms/adrc.py
Co-authored-by: Christian Clauss <[email protected]>
1 parent ceac158 commit 1c5dfe2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

control_algorithms/adrc.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ def __init__(self, error_correction: float, disturbance: float, acceleration: fl
2727
self.beta3 = beta3
2828
self.setpoint = setpoint
2929

30-
self.z1 = 0.0 # Estimated system output
31-
self.z2 = 0.0 # Estimated system velocity
32-
self.z3 = 0.0 # Estimated total disturbance
30+
self.system_output = 0.0 # Estimated system output
31+
self.system_velocity = 0.0 # Estimated system velocity
32+
self.total_disturbance = 0.0 # Estimated total disturbance
3333

3434
def compute(self, measured_value: float, dt: float) -> float:
3535
"""

0 commit comments

Comments
 (0)