From 577374215beb5807d7522d0c61f2a2021b04d388 Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Mon, 15 May 2023 23:23:55 -0700 Subject: [PATCH] Nissan: set LKA active with latActive (#28055) Update carcontroller.py --- selfdrive/car/nissan/carcontroller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/car/nissan/carcontroller.py b/selfdrive/car/nissan/carcontroller.py index 73493a9746..5064e8c457 100644 --- a/selfdrive/car/nissan/carcontroller.py +++ b/selfdrive/car/nissan/carcontroller.py @@ -61,7 +61,7 @@ class CarController: can_sends.append(nissancan.create_cancel_msg(self.packer, CS.cancel_msg, pcm_cancel_cmd)) can_sends.append(nissancan.create_steering_control( - self.packer, apply_angle, self.frame, CC.enabled, self.lkas_max_torque)) + self.packer, apply_angle, self.frame, CC.latActive, self.lkas_max_torque)) if self.CP.carFingerprint != CAR.ALTIMA: if self.frame % 2 == 0: