Skip to content

Commit cad8ea8

Browse files
authored
Update latcontrol_model.py
1 parent d6b140c commit cad8ea8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

selfdrive/controls/lib/latcontrol_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,6 @@ def update(self, active, CS, CP, VM, params, last_actuators, desired_curvature,
6767
model_log.output = output_steer
6868

6969
check_saturation = (CS.vEgo > 10) and not CS.steeringRateLimited and not CS.steeringPressed
70-
model_log.saturated = self._check_saturation(output_steer, check_saturation, steers_max)
70+
model_log.saturated = self._check_saturation(output_steer, check_saturation, self.steer_max)
7171

7272
return output_steer, angle_steers_des, model_log

0 commit comments

Comments
 (0)