mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-08-05 00:05:59 +08:00
fix stuck stopped state
This commit is contained in:
@@ -199,7 +199,7 @@ class CarState(CarStateBase):
|
||||
ret.cruiseState.speed = cp.vl["CRUZE_STATE"]["CRZ_SPEED"] * unit_conversion
|
||||
ret.cruiseState.enabled = (cp.vl["CRUZE_STATE"]["CRZ_STATE"] >= 2)
|
||||
ret.cruiseState.available = (cp.vl["CRUZE_STATE"]["CRZ_STATE"] != 0)
|
||||
ret.cruiseState.standstill = ret.standstill
|
||||
ret.cruiseState.standstill = False
|
||||
|
||||
self.cp = cp
|
||||
self.cp_cam = cp_cam
|
||||
|
||||
Reference in New Issue
Block a user