diff --git a/frogpilot/common/frogpilot_variables.py b/frogpilot/common/frogpilot_variables.py index 30b723d2b..0cbcab6f0 100644 --- a/frogpilot/common/frogpilot_variables.py +++ b/frogpilot/common/frogpilot_variables.py @@ -691,7 +691,7 @@ class FrogPilotVariables: toggle.always_on_lateral_main = toggle.always_on_lateral_set and not toggle.use_lkas_for_aol and (params.get_bool("AlwaysOnLateralMain") if toggle.tuning_level >= level["AlwaysOnLateralMain"] else default.get_bool("AlwaysOnLateralMain")) toggle.always_on_lateral_pause_speed = params.get_int("PauseAOLOnBrake") if toggle.always_on_lateral_set and toggle.tuning_level >= level["PauseAOLOnBrake"] else default.get_int("PauseAOLOnBrake") - toggle.automatic_updates = (params.get_bool("AutomaticUpdates") if toggle.tuning_level >= level["AutomaticUpdates"] and (self.release_branch or self.vetting_branch) else default.get_bool("AutomaticUpdates")) and not BACKUP_PATH.is_file() + toggle.automatic_updates = (params.get_bool("AutomaticUpdates") if toggle.tuning_level >= level["AutomaticUpdates"] else default.get_bool("AutomaticUpdates")) and not BACKUP_PATH.is_file() toggle.car_model = params.get("CarModel", encoding="utf-8") or toggle.car_model diff --git a/frogpilot/frogpilot_process.py b/frogpilot/frogpilot_process.py index 360ac86ce..59aef4ae2 100644 --- a/frogpilot/frogpilot_process.py +++ b/frogpilot/frogpilot_process.py @@ -13,7 +13,6 @@ from openpilot.frogpilot.common.frogpilot_functions import backup_toggles from openpilot.frogpilot.common.frogpilot_utilities import capture_report, flash_panda, is_url_pingable, lock_doors, run_thread_with_lock, update_maps, update_openpilot from openpilot.frogpilot.common.frogpilot_variables import ERROR_LOGS_PATH, FrogPilotVariables, get_frogpilot_toggles, params, params_cache, params_memory from openpilot.frogpilot.controls.frogpilot_planner import FrogPilotPlanner -from openpilot.frogpilot.system.frogpilot_stats import send_stats from openpilot.frogpilot.system.frogpilot_tracking import FrogPilotTracking ASSET_CHECK_RATE = (1 / DT_MDL) @@ -103,8 +102,8 @@ def frogpilot_thread(): if frogpilot_toggles.random_themes: theme_manager.update_active_theme(time_validated, frogpilot_toggles, randomize_theme=True) - if time_validated: - send_stats() + # if time_validated and is_url_pingable(os.environ.get("STATS_URL", "")): + # send_stats() elif started and not started_previously: if error_log.is_file(): diff --git a/selfdrive/ui/qt/offroad/software_settings.cc b/selfdrive/ui/qt/offroad/software_settings.cc index 485998799..551e054a2 100644 --- a/selfdrive/ui/qt/offroad/software_settings.cc +++ b/selfdrive/ui/qt/offroad/software_settings.cc @@ -32,7 +32,6 @@ SoftwarePanel::SoftwarePanel(QWidget* parent) : ListWidget(parent) { // automatic updates toggle ParamControl *automaticUpdatesToggle = new ParamControl("AutomaticUpdates", tr("Automatically Update FrogPilot"), tr("FrogPilot will automatically update itself and it's assets when you're offroad and have an active internet connection."), ""); - automaticUpdatesToggle->setVisible(params.getBool("IsReleaseBranch")); addItem(automaticUpdatesToggle); // download update btn