mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-21 09:12:25 +08:00
Tesla: allow enabling in tight curves (#35147)
* bump * revert steer limit timer * alert for stock lkas * add enum * same as ldw * bump * draft * bump * bump * rm * why here?1 * bump to master
This commit is contained in:
+1
-1
Submodule opendbc_repo updated: 03b74b1f56...c856a2c0bd
@@ -191,7 +191,7 @@ class CarSpecificEvents:
|
||||
events.add(EventName.accFaulted)
|
||||
if CS.steeringPressed:
|
||||
events.add(EventName.steerOverride)
|
||||
if CS.steeringDisengage:
|
||||
if CS.steeringDisengage and not CS_prev.steeringDisengage:
|
||||
events.add(EventName.steerDisengage)
|
||||
if CS.brakePressed and CS.standstill:
|
||||
events.add(EventName.preEnableStandstill)
|
||||
|
||||
Reference in New Issue
Block a user