From 0d9c58ac51abfbc586dac182eb9aeb35460b3ce5 Mon Sep 17 00:00:00 2001 From: firestar5683 <168790843+firestar5683@users.noreply.github.com> Date: Tue, 31 Mar 2026 20:15:14 -0500 Subject: [PATCH] malibu --- selfdrive/car/card.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/selfdrive/car/card.py b/selfdrive/car/card.py index 0fffd3919..4153b19d4 100644 --- a/selfdrive/car/card.py +++ b/selfdrive/car/card.py @@ -117,7 +117,8 @@ class Car: self.CI, self.CP, self.FPCP = CI, CI.CP, CI.FPCP self.RI = RI - self.CP.alternativeExperience = 0 + interface_alternative_experience = self.CP.alternativeExperience + self.CP.alternativeExperience = interface_alternative_experience openpilot_enabled_toggle = self.params.get_bool("OpenpilotEnabledToggle") controller_available = self.CI.CC is not None and openpilot_enabled_toggle self.CP.passive = not controller_available @@ -172,9 +173,13 @@ class Car: self.starpilot_toggles = get_starpilot_toggles() + self.FPCP.alternativeExperience |= interface_alternative_experience + if self.starpilot_toggles.always_on_lateral: + self.CP.alternativeExperience |= ALTERNATIVE_EXPERIENCE.ALWAYS_ON_LATERAL self.FPCP.alternativeExperience |= ALTERNATIVE_EXPERIENCE.ALWAYS_ON_LATERAL if getattr(self.starpilot_toggles, "remap_cancel_to_distance", False): + self.CP.alternativeExperience |= ALTERNATIVE_EXPERIENCE.GM_REMAP_CANCEL_TO_DISTANCE self.FPCP.alternativeExperience |= ALTERNATIVE_EXPERIENCE.GM_REMAP_CANCEL_TO_DISTANCE fpcp_bytes = self.FPCP.to_bytes()