From 3bad9f3136c60693c8b7611be7fa2bde31e60293 Mon Sep 17 00:00:00 2001 From: dragonpilot Date: Wed, 31 Jul 2019 22:31:52 +1000 Subject: [PATCH] =?UTF-8?q?=E5=8E=9F=E5=BB=A0=20LKAS=20=E5=8F=AA=E5=9C=A8?= =?UTF-8?q?=E9=97=9C=E9=96=89=E4=B8=8B=E8=A7=B8=E7=99=BC=EF=BC=8C=E4=B8=8D?= =?UTF-8?q?=E7=84=B6=E6=9C=83=E6=9C=89=20steering=20error?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- selfdrive/car/toyota/carcontroller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/car/toyota/carcontroller.py b/selfdrive/car/toyota/carcontroller.py index 7bc38491a..15df9a30b 100644 --- a/selfdrive/car/toyota/carcontroller.py +++ b/selfdrive/car/toyota/carcontroller.py @@ -222,7 +222,7 @@ class CarController(object): if not self.dragon_lat_ctrl: apply_steer_req = 0 - if CS.v_ego > 12.5 and (not self.dragon_lat_ctrl or not enabled): + if CS.v_ego > 12.5 and not enabled: if right_lane_depart and not CS.right_blinker_on: apply_steer = self.last_steer + 3 apply_steer = min(apply_steer , 800)