Change regulation parameters

This commit is contained in:
Jean-Marc Collin
2023-10-30 16:43:21 +00:00
parent 6886dd6fb5
commit 49377de248

View File

@@ -231,21 +231,21 @@ class RegulationParamLight:
class RegulationParamMedium:
""" Medium parameters for regulation"""
kp:float = 0.5
ki:float = 0.1
kp:float = 0.4
ki:float = 0.08
k_ext:float = 0.1
offset_max:float = 3
stabilization_threshold:float = 0.1
accumulated_error_threshold:float = 30
accumulated_error_threshold:float = 25
class RegulationParamStrong:
""" Strong parameters for regulation"""
kp:float = 0.6
ki:float = 0.2
ki:float = 0.1
k_ext:float = 0.2
offset_max:float = 4
stabilization_threshold:float = 0.1
accumulated_error_threshold:float = 40
accumulated_error_threshold:float = 30
class EventType(Enum):
"""The event type that can be sent"""