mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-07-23 23:02:04 +08:00
update
This commit is contained in:
@@ -723,7 +723,7 @@ class Controls:
|
||||
self.personality = (self.personality - 1) % 3
|
||||
self.params.put_nonblocking('LongitudinalPersonality', str(self.personality))
|
||||
|
||||
# toggle experimental mode on distance button hold
|
||||
# toggle experimental mode once on distance button hold
|
||||
if self.CP.openpilotLongitudinalControl:
|
||||
if self.v_cruise_helper.experimental_mode_update and self.v_cruise_helper.button_timers[ButtonType.gapAdjustCruise] == 50:
|
||||
self.experimental_mode = not self.experimental_mode
|
||||
|
||||
@@ -246,7 +246,6 @@ class VCruiseHelper:
|
||||
self.v_cruise_min = VOLKSWAGEN_V_CRUISE_MIN[is_metric]
|
||||
self.is_metric_prev = is_metric
|
||||
|
||||
# toggle experimental mode on distance button hold
|
||||
def _update_experimental_mode(self, CS):
|
||||
self.experimental_mode_update = False
|
||||
|
||||
|
||||
Reference in New Issue
Block a user