From 368a5e3eb4b3995a89ae75ffbc390621ccd43e96 Mon Sep 17 00:00:00 2001 From: Jason Wen Date: Wed, 7 Aug 2024 07:47:52 -0400 Subject: [PATCH] oops --- selfdrive/controls/controlsd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/controls/controlsd.py b/selfdrive/controls/controlsd.py index f7fab1cb84..9cd50d22bd 100755 --- a/selfdrive/controls/controlsd.py +++ b/selfdrive/controls/controlsd.py @@ -818,7 +818,7 @@ class Controls: curvature = -self.VM.calc_curvature(steer_angle_without_offset, CS.vEgo, lp.roll) lat_plan = self.sm['lateralPlanDEPRECATED'] - long_plan = self.sm['longitudinalPlan'].hasLead + long_plan = self.sm['longitudinalPlan'] dm_state = self.sm['driverMonitoringState'] blinker_svs = lat_plan if self.model_use_lateral_planner else model_v2.meta overtaking_accel_allowed = ((blinker_svs.laneChangeDirection == LaneChangeDirection.right and dm_state.isRHD) or