LatControlAngle: fix setting saturation check speed (#26752)

set in init function
This commit is contained in:
Shane Smiskol
2022-12-09 23:29:56 -08:00
committed by GitHub
parent f3a711953a
commit 84340f07ab
+3 -1
View File
@@ -7,7 +7,9 @@ STEER_ANGLE_SATURATION_THRESHOLD = 2.5 # Degrees
class LatControlAngle(LatControl):
sat_check_min_speed = 5.
def __init__(self, CP, CI):
super().__init__(CP, CI)
self.sat_check_min_speed = 5.
def update(self, active, CS, VM, params, last_actuators, steer_limited, desired_curvature, desired_curvature_rate, llk):
angle_log = log.ControlsState.LateralAngleState.new_message()