From ac246ea7e1d29e829757b8229887fc43b4523018 Mon Sep 17 00:00:00 2001 From: Arne Schwarck Date: Sun, 29 Mar 2020 18:54:57 +0200 Subject: [PATCH] remove v_ego --- 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 8e6144df23d440..eac4093b19bcec 100644 --- a/selfdrive/car/toyota/carcontroller.py +++ b/selfdrive/car/toyota/carcontroller.py @@ -160,7 +160,7 @@ def update(self, enabled, CS, frame, actuators, pcm_cancel_cmd, hud_alert, #print (apply_steer) apply_steer_req = 1 - if not enabled and self.leftLaneDepart and CS.v_ego > 12.5 and not CS.out.leftBlinker: + if not enabled and self.leftLaneDepart and CS.out.vEgo > 12.5 and not CS.out.leftBlinker: apply_steer = self.last_steer - 3 apply_steer = max(apply_steer , -800) #print ("left")