Skip to content

Commit 65058bc

Browse files
authored
Update latcontrol_model.py
1 parent 637d11e commit 65058bc

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
@@ -68,6 +68,6 @@ def update(self, active, CS, CP, VM, params, last_actuators, desired_curvature,
6868
model_log.output = output_steer
6969

7070
check_saturation = (CS.vEgo > 10) and not CS.steeringRateLimited and not CS.steeringPressed
71-
model_log.saturated = pself._check_saturation(self.steer_max - abs(output_steer) < 1e-3, CS)
71+
model_log.saturated = self._check_saturation(self.steer_max - abs(output_steer) < 1e-3, CS)
7272

7373
return output_steer, angle_steers_des, model_log

0 commit comments

Comments
 (0)