mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-06-30 02:52:04 +08:00
hyundai: cruiseState.standstill always False when openpilot controls longitudinal (#21262)
old-commit-hash: e28b5552e7d75efba32a40802de9592a42627f55
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user