From 2acf519435e3b057fa87f7f8a5c5fee11fc548ab Mon Sep 17 00:00:00 2001 From: sshane Date: Tue, 3 Aug 2021 18:10:37 -0700 Subject: [PATCH] no startup dynamic follow profile (#435) --- selfdrive/controls/lib/dynamic_follow/df_manager.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/selfdrive/controls/lib/dynamic_follow/df_manager.py b/selfdrive/controls/lib/dynamic_follow/df_manager.py index 093f71dddf855e..7189ec405ea70c 100644 --- a/selfdrive/controls/lib/dynamic_follow/df_manager.py +++ b/selfdrive/controls/lib/dynamic_follow/df_manager.py @@ -34,7 +34,6 @@ def __init__(self): self.profile_pred = None self.change_time = sec_since_boot() - self.first_run = True self.last_is_auto = False @property @@ -51,10 +50,6 @@ def update(self): if self.sm.updated['dynamicFollowButton']: self.button_updated = True - if self.first_run: - df_out.changed = True # to show alert on start - self.first_run = False - if self.button_updated: # only update when button is first pressed self.cur_user_profile = self.sm['dynamicFollowButton'].status