mirror of
https://github.com/infiniteCable2/openpilot.git
synced 2026-09-04 07:13:41 +08:00
Update longcontrol.py
This commit is contained in:
@@ -77,7 +77,7 @@ class LongControl:
|
||||
|
||||
elif self.long_control_state == LongCtrlState.starting:
|
||||
if self.CP.useCarBrakeHoldState:
|
||||
if CS.brakeHoldActive:
|
||||
if CS.brakeHoldConfirmation:
|
||||
output_accel = self.CP.startAccel
|
||||
self.reset()
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user