modelsmooth

This commit is contained in:
firestar5683
2026-08-02 22:21:52 -05:00
parent a6a7475e7a
commit 9affcc8378
10 changed files with 103 additions and 17 deletions
+5 -1
View File
@@ -43,6 +43,10 @@ KNOWN_READ_ONLY = {
"openpilotMinutes", "CompletedTrainingVersion"
}
GALAXY_ONLY_PARAMS = {
"LatSmoothSeconds", "LongSmoothSeconds",
}
def extract_registered_keys(params_path: str) -> set:
"""Extracts all legally registered parameter keys from common/params_keys.h"""
registered_keys = set()
@@ -100,7 +104,7 @@ def main():
feasible_keys = registered_keys.intersection(ui_strings)
# 3. Filter Read-Only
editable_keys = feasible_keys - KNOWN_READ_ONLY
editable_keys = (feasible_keys | GALAXY_ONLY_PARAMS) - KNOWN_READ_ONLY
# 4. Export
output_path = os.path.join(os.path.dirname(__file__), 'feasibleparams.txt')
+16 -7
View File
@@ -1,9 +1,9 @@
Dynamically Derived Feasible Param Candidates (The Golden List)
===============================================================
Total globally registered C++ keys: 507
Total explicit UI string references: 415
Total Editable/Toggleable targets: 378
Total globally registered C++ keys: 545
Total explicit UI string references: 426
Total Editable/Toggleable targets: 390
AccelerationPath
AccelerationProfile
@@ -28,6 +28,7 @@ AlwaysOnDM
AlwaysOnLateral
AutomaticUpdates
AutomaticallyDownloadModels
AvailableModelArtifactFormats
AvailableModelNames
AvailableModelSeries
AvailableModels
@@ -37,6 +38,7 @@ BlindSpotMetrics
BlindSpotPath
BootLogo
BorderMetrics
CCMLaunchAssist
CCMLead
CCMSetSpeedMargin
CCMSpeed
@@ -57,6 +59,7 @@ CalibrationParams
CalibrationProgress
CameraView
CancelButtonControl
ClearNavOnOffroad
ColorScheme
CommunityFavorites
ConditionalChill
@@ -112,14 +115,13 @@ ForceStops
ForceTorqueController
GMDashSpoofOffsets
GMPedalLongitudinal
HKGRemoteStartBootsComma
IgnoreIgnitionLine
GoatScream
GoatScreamCriticalAlerts
GreenLightAlert
GsmApn
GsmMetered
GsmRoaming
HKGRemoteStartBootsComma
HasAcceptedTerms
HideAlerts
HideChangingLanesBanner
@@ -129,11 +131,13 @@ HideLeadMarker
HideMaxSpeed
HideSpeed
HideSpeedLimit
HideSteeringWheel
HideTurningBanner
HigherBitrate
HolidayThemes
HumanLaneChanges
IconPack
IgnoreIgnitionLine
IncreaseFollowingLowVisibility
IncreaseFollowingRain
IncreaseFollowingRainStorm
@@ -148,6 +152,7 @@ IsLdwEnabled
IsMetric
IsRHD
IsRHDOverride
JeepBrakeHold
KonikDongleId
LKASButtonControl
LaneChangeSmoothing
@@ -177,6 +182,7 @@ LongitudinalActuatorDelayStock
LongitudinalPersonality
LongitudinalTune
LoudBlindspotAlert
LoudBlindspotAlertWhenDisengaged
LowVoltageShutdown
MainCruiseButtonControl
MapAcceleration
@@ -189,6 +195,9 @@ MaxDesiredAcceleration
MinimumLaneChangeSpeed
ModeButtonControl
Model
LatSmoothSeconds
LongSmoothSeconds
ModelManifestVersion
ModelRandomizer
ModelSortMode
ModelUI
@@ -202,7 +211,6 @@ NoLogging
NoUploads
NostalgiaMode
NudgelessLaneChange
NudgelessLaneChangeOnlyWhenEngaged
NumericalTemp
Offroad_ExcessiveActuation
Offset1
@@ -322,13 +330,13 @@ StandardJerkSpeedDecrease
StandardPersonalityProfile
StandbyMode
StarButtonControl
StarPilotFavoriteSlots
StartAccel
StartAccelStock
StartupMessageBottom
StartupMessageTop
StaticPedalsOnUI
SteerDelay
SteerDelayModeMigrated
SteerDelayStock
SteerFriction
SteerFrictionStock
@@ -358,6 +366,7 @@ TrafficJerkDeceleration
TrafficJerkSpeed
TrafficJerkSpeedDecrease
TrafficPersonalityProfile
TrailerLoad
TruckTuning
TuningLevel
TuningLevelConfirmed