mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-08-21 16:23:46 +08:00
modelsmooth
This commit is contained in:
@@ -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')
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user