From 34643d7afcc3bfa6f943ed04bec63de7d14b615e Mon Sep 17 00:00:00 2001 From: Greg Hogan Date: Tue, 15 Jun 2021 03:26:02 -0700 Subject: [PATCH] hyundai: cruiseState.standstill always False when openpilot controls longitudinal (#21262) old-commit-hash: e28b5552e7d75efba32a40802de9592a42627f55 --- selfdrive/car/hyundai/carstate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/car/hyundai/carstate.py b/selfdrive/car/hyundai/carstate.py index 9ebde37277..ae18dbaa57 100644 --- a/selfdrive/car/hyundai/carstate.py +++ b/selfdrive/car/hyundai/carstate.py @@ -40,7 +40,7 @@ class CarState(CarStateBase): if self.CP.openpilotLongitudinalControl: ret.cruiseState.available = cp.vl["TCS13"]["ACCEnable"] == 0 ret.cruiseState.enabled = cp.vl["TCS13"]["ACC_REQ"] == 1 - ret.cruiseState.standstill = cp.vl["TCS13"]["StandStill"] == 1 + ret.cruiseState.standstill = False else: ret.cruiseState.available = cp.vl["SCC11"]["MainMode_ACC"] == 1 ret.cruiseState.enabled = cp.vl["SCC12"]["ACCMode"] != 0