mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-08-07 13:05:43 +08:00
Honda Clarity: brake hold fix (#1247)
* Nidec Hybrid brake hold fix * intent fix * bump opendbc --------- Co-authored-by: Jason Wen <haibin.wen3@gmail.com>
This commit is contained in:
+1
-1
Submodule opendbc_repo updated: 4c64e8a95b...063414f63f
@@ -56,6 +56,9 @@ class CarSpecificEvents:
|
||||
if self.CP.minEnableSpeed > 0 and CS.vEgo < 0.001:
|
||||
events.add(EventName.manualRestart)
|
||||
|
||||
if CS.brakeHoldActive and CS.blockPcmEnable: # set by Nidec Hybrid which cannot resume from brakehold
|
||||
events.add(EventName.belowEngageSpeed)
|
||||
|
||||
elif self.CP.brand == 'toyota':
|
||||
# TODO: when we check for unexpected disengagement, check gear not S1, S2, S3
|
||||
if self.CP.openpilotLongitudinalControl:
|
||||
|
||||
Reference in New Issue
Block a user