diff --git a/openpilot/sunnypilot/sunnylink/settings_ui.json b/openpilot/sunnypilot/sunnylink/settings_ui.json index 63bf342fcb..fb4ba7cc2b 100644 --- a/openpilot/sunnypilot/sunnylink/settings_ui.json +++ b/openpilot/sunnypilot/sunnylink/settings_ui.json @@ -2094,6 +2094,22 @@ "equals": true } ] + }, + { + "key": "PlanplusControl", + "widget": "option", + "title": "Plan Plus Controls", + "description": "Adjust planplus model recentering strength. The higher this number the more aggressively the model will recover to lane center; too high and it will ping-pong.", + "min": 0.0, + "max": 2.0, + "step": 0.1, + "enablement": [ + { + "type": "param", + "key": "ShowAdvancedControls", + "equals": true + } + ] } ] }, diff --git a/openpilot/sunnypilot/sunnylink/settings_ui_src/pages/models.yaml b/openpilot/sunnypilot/sunnylink/settings_ui_src/pages/models.yaml index bcb8b895b9..eb12e0a4b5 100644 --- a/openpilot/sunnypilot/sunnylink/settings_ui_src/pages/models.yaml +++ b/openpilot/sunnypilot/sunnylink/settings_ui_src/pages/models.yaml @@ -51,6 +51,16 @@ sections: key: LagdToggle equals: true - $ref: '#/macros/advanced_only' + - key: PlanplusControl + widget: option + title: Plan Plus Controls + description: Adjust planplus model recentering strength. The higher this number the more aggressively the model will recover + to lane center; too high and it will ping-pong. + min: 0.0 + max: 2.0 + step: 0.1 + enablement: + - $ref: '#/macros/advanced_only' - id: lateral_control title: Lateral Control description: Neural network lateral control for supported models