mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-08-22 00:33:48 +08:00
No actuation while in pre-enabled state (#23658)
* No actuation while in pre-enabled state * update refs
This commit is contained in:
@@ -123,7 +123,7 @@ class CarInterface(CarInterfaceBase):
|
||||
|
||||
def apply(self, c):
|
||||
hud_control = c.hudControl
|
||||
ret = self.CC.update(c.enabled, self.CS, self.frame, c.actuators,
|
||||
ret = self.CC.update(c, c.enabled, self.CS, self.frame, c.actuators,
|
||||
c.cruiseControl.cancel, hud_control.visualAlert,
|
||||
hud_control.leftLaneVisible, hud_control.rightLaneVisible, hud_control.leftLaneDepart, hud_control.rightLaneDepart)
|
||||
self.frame += 1
|
||||
|
||||
Reference in New Issue
Block a user