From cc85c30c4fd7e44847c08baf8369fe2c18e1d985 Mon Sep 17 00:00:00 2001 From: Rick Lan Date: Thu, 11 Jul 2019 09:14:26 +1000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E6=89=93=E6=96=B9=E5=90=91?= =?UTF-8?q?=E7=87=88=E5=8F=96=E6=B6=88=E6=96=B9=E5=90=91=E7=9B=A4=E6=8E=A7?= =?UTF-8?q?=E5=88=B6=E7=B5=90=E6=9D=9F=E5=BE=8C=E7=94=A2=E7=94=9F=E7=9A=84?= =?UTF-8?q?=E9=8C=AF=E8=AA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- selfdrive/car/honda/carcontroller.py | 2 +- selfdrive/car/toyota/carcontroller.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/selfdrive/car/honda/carcontroller.py b/selfdrive/car/honda/carcontroller.py index 3fc2915b7..914c579ba 100644 --- a/selfdrive/car/honda/carcontroller.py +++ b/selfdrive/car/honda/carcontroller.py @@ -157,7 +157,7 @@ class CarController(object): if self.turning_signal_timer > 0: self.turning_signal_timer -= 1 - apply_steer = 0 + lkas_active = False # Send steering command. idx = frame % 4 diff --git a/selfdrive/car/toyota/carcontroller.py b/selfdrive/car/toyota/carcontroller.py index 4c80822cc..242d9cd85 100644 --- a/selfdrive/car/toyota/carcontroller.py +++ b/selfdrive/car/toyota/carcontroller.py @@ -209,7 +209,7 @@ class CarController(object): if self.turning_signal_timer > 0: self.turning_signal_timer -= 1 - apply_steer = 0 + apply_steer_req = 0 #*** control msgs *** #print("steer {0} {1} {2} {3}".format(apply_steer, min_lim, max_lim, CS.steer_torque_motor)