LatControlAngle: fix setting saturation check speed (#26752)

set in init function
old-commit-hash: 84340f07ab
taco
Shane Smiskol 2 years ago committed by GitHub
parent 44098cc024
commit a98e7d49cc
  1. 4
      selfdrive/controls/lib/latcontrol_angle.py

@ -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()

Loading…
Cancel
Save