We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6b140c commit cad8ea8Copy full SHA for cad8ea8
selfdrive/controls/lib/latcontrol_model.py
@@ -67,6 +67,6 @@ def update(self, active, CS, CP, VM, params, last_actuators, desired_curvature,
67
model_log.output = output_steer
68
69
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)
+ model_log.saturated = self._check_saturation(output_steer, check_saturation, self.steer_max)
71
72
return output_steer, angle_steers_des, model_log
0 commit comments