This commit is contained in:
firestar5683
2026-05-18 13:05:07 -05:00
parent 601b8855f6
commit 51701ecffc
48 changed files with 1356 additions and 1356 deletions
@@ -582,12 +582,6 @@ class StarPilotLongitudinalLayout(_SettingsPage):
get_value=lambda: f"{self._params.get_int('ForceStopDistanceOffset'):+d} ft",
on_click=lambda: self._show_slider("ForceStopDistanceOffset", -20, 20, unit=" ft"),
visible=lambda: self._params.get_bool("QOLLongitudinal") and self._params.get_bool("ForceStops")),
SettingRow("RedneckCruise", "toggle", tr_noop("Redneck Cruise"),
subtitle=tr_noop("On supported Hyundai stock-long cars, use RES/SET button spam to match the cluster set speed to StarPilot's target."),
get_state=lambda: self._params.get_bool("RedneckCruise"),
set_state=lambda s: self._params.put_bool("RedneckCruise", s),
visible=lambda: starpilot_state.car_state.redneckCruiseAvailable and
(not starpilot_state.car_state.hasOpenpilotLongitudinal or self._params.get_bool("DisableOpenpilotLongitudinal"))),
], tab_key="daily", column_pair="daily"),
SettingSection(tr_noop("Standstill & Gears"), [
SettingRow("ForceStandstill", "toggle", tr_noop("Force Standstill"),
+1 -3
View File
@@ -36,8 +36,7 @@ class StarPilotCarState:
hasZSS: bool = False
canUsePedal: bool = False
canUseSDSU: bool = False
redneckCruiseAvailable: bool = False
# ========== Device/Car State ==========
isFrogsGoMoo: bool = False
hasPCMCruise: bool = False
@@ -191,7 +190,6 @@ class StarPilotState:
FPCP = messaging.log_from_bytes(fpcp_bytes, custom.StarPilotCarParams)
self.car_state.canUsePedal = FPCP.canUsePedal
self.car_state.canUseSDSU = FPCP.canUseSDSU
self.car_state.redneckCruiseAvailable = FPCP.redneckCruiseAvailable
self.car_state.openpilotLongitudinalControlDisabled = FPCP.openpilotLongitudinalControlDisabled
except Exception:
pass
BIN
View File
Binary file not shown.