Compare commits

..

1 Commits

Author SHA1 Message Date
Jean-Marc Collin
49377de248 Change regulation parameters 2023-10-30 16:43:21 +00:00

View File

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