Nissan: set LKA active with latActive (#28055)

Update carcontroller.py
pull/28208/head
Shane Smiskol 2 years ago committed by GitHub
parent b7daab0ee0
commit 577374215b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      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:

Loading…
Cancel
Save