From c1a73f6836f08fed418ec2fa1b159759f0db7b65 Mon Sep 17 00:00:00 2001 From: Igor Date: Wed, 16 Dec 2020 20:40:52 -0500 Subject: [PATCH] Fix TSS2 creep issue, no need to send standstill request (#2716) * Fix TSS2 creep issue, no need to send standstill request * Forgot to add import * Changed set to look in from TSS2_CAR to NO_STOP_TIMER_CAR old-commit-hash: d93f07f5e6d550731b024521a2bda33325bcc640 --- selfdrive/car/toyota/carcontroller.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/selfdrive/car/toyota/carcontroller.py b/selfdrive/car/toyota/carcontroller.py index 6bea7e4a14..b76b66b3e9 100644 --- a/selfdrive/car/toyota/carcontroller.py +++ b/selfdrive/car/toyota/carcontroller.py @@ -4,7 +4,7 @@ from selfdrive.car import apply_toyota_steer_torque_limits, create_gas_command, from selfdrive.car.toyota.toyotacan import create_steer_command, create_ui_command, \ create_accel_command, create_acc_cancel_command, \ create_fcw_command -from selfdrive.car.toyota.values import Ecu, CAR, STATIC_MSGS, SteerLimitParams +from selfdrive.car.toyota.values import Ecu, CAR, STATIC_MSGS, NO_STOP_TIMER_CAR, SteerLimitParams from opendbc.can.packer import CANPacker VisualAlert = car.CarControl.HUDControl.VisualAlert @@ -84,7 +84,7 @@ class CarController(): pcm_cancel_cmd = 1 # on entering standstill, send standstill request - if CS.out.standstill and not self.last_standstill: + if CS.out.standstill and not self.last_standstill and CS.CP.carFingerprint not in NO_STOP_TIMER_CAR: self.standstill_req = True if CS.pcm_acc_status != 8: # pcm entered standstill or it's disabled