hyundai: cruiseState.standstill always False when openpilot controls longitudinal (#21262)

pull/21275/head
Greg Hogan 2021-06-15 03:26:02 -07:00 committed by GitHub
parent 73d741b7be
commit e28b5552e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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