This commit is contained in:
Jason Wen
2024-08-12 17:51:21 -04:00
parent 0bf65192a2
commit 47d3d1f8a3
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -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
-1
View File
@@ -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