mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-07-14 00:22:08 +08:00
MADS: initialize set speed when in override state (#56)
This commit is contained in:
@@ -567,6 +567,8 @@ class Controls:
|
||||
self.state = State.enabled
|
||||
else:
|
||||
self.current_alert_types += [ET.OVERRIDE_LATERAL, ET.OVERRIDE_LONGITUDINAL]
|
||||
if CS.cruiseState.enabled and not self.CS_prev.cruiseState.enabled:
|
||||
self.v_cruise_helper.initialize_v_cruise(CS, self.experimental_mode)
|
||||
|
||||
# DISABLED
|
||||
elif self.state == State.disabled:
|
||||
|
||||
Reference in New Issue
Block a user