November 3rd, 2024 Patch
This commit is contained in:
parent
9c56143539
commit
2f4579a596
|
@ -41,7 +41,7 @@ class FrogPilotPlanner:
|
||||||
if radarless_model:
|
if radarless_model:
|
||||||
model_leads = list(modelData.leadsV3)
|
model_leads = list(modelData.leadsV3)
|
||||||
if len(model_leads) > 0:
|
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]
|
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)
|
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:
|
else:
|
||||||
|
|
|
@ -714,7 +714,7 @@ class FrogPilotVariables:
|
||||||
|
|
||||||
toggle.volt_sng = car_model == "CHEVROLET_VOLT" and self.params.get_bool("VoltSNG")
|
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:
|
if customization_level == 0:
|
||||||
toggle.advanced_custom_onroad_ui = self.default_frogpilot_toggles.AdvancedCustomUI
|
toggle.advanced_custom_onroad_ui = self.default_frogpilot_toggles.AdvancedCustomUI
|
||||||
|
|
Loading…
Reference in New Issue