From 2f4579a59634a0f3a7451dfc5b56838488538be6 Mon Sep 17 00:00:00 2001 From: FrogAi <91348155+FrogAi@users.noreply.github.com> Date: Tue, 5 Nov 2024 11:25:23 -0700 Subject: [PATCH] November 3rd, 2024 Patch --- selfdrive/frogpilot/controls/frogpilot_planner.py | 2 +- selfdrive/frogpilot/frogpilot_variables.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/selfdrive/frogpilot/controls/frogpilot_planner.py b/selfdrive/frogpilot/controls/frogpilot_planner.py index 4b5f27a2..948b9c83 100644 --- a/selfdrive/frogpilot/controls/frogpilot_planner.py +++ b/selfdrive/frogpilot/controls/frogpilot_planner.py @@ -41,7 +41,7 @@ class FrogPilotPlanner: if radarless_model: model_leads = list(modelData.leadsV3) if len(model_leads) > 0: - distance_offset = max(frogpilot_toggles.increased_stopped_distance + min(10 - v_ego, 0), 0) if not frogpilotCarState.trafficModeActive else 0 + distance_offset = frogpilot_toggles.increased_stopped_distance if not frogpilotCarState.trafficModeActive else 0 model_lead = model_leads[0] self.lead_one.update(model_lead.x[0] - distance_offset, model_lead.y[0], model_lead.v[0], model_lead.a[0], model_lead.prob) else: diff --git a/selfdrive/frogpilot/frogpilot_variables.py b/selfdrive/frogpilot/frogpilot_variables.py index a376ae66..36cb5b5c 100644 --- a/selfdrive/frogpilot/frogpilot_variables.py +++ b/selfdrive/frogpilot/frogpilot_variables.py @@ -714,7 +714,7 @@ class FrogPilotVariables: toggle.volt_sng = car_model == "CHEVROLET_VOLT" and self.params.get_bool("VoltSNG") - customization_level = self.params.get_int("CustomizationLevel") if self.params.get_bool("CustomizationLevelConfirmed") else 2 + customization_level = 2 #self.params.get_int("CustomizationLevel") if self.params.get_bool("CustomizationLevelConfirmed") else 2 if customization_level == 0: toggle.advanced_custom_onroad_ui = self.default_frogpilot_toggles.AdvancedCustomUI