November 3nd, 2024 Patch

This commit is contained in:
FrogAi 2024-11-03 12:25:27 -07:00
parent 9c56143539
commit 51d76de3c5
2 changed files with 2 additions and 2 deletions

View File

@ -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:

View File

@ -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