diff --git a/openpilot/sunnypilot/sunnylink/settings_ui.json b/openpilot/sunnypilot/sunnylink/settings_ui.json index 5428f82cf6..bb00c95c9a 100644 --- a/openpilot/sunnypilot/sunnylink/settings_ui.json +++ b/openpilot/sunnypilot/sunnylink/settings_ui.json @@ -626,6 +626,58 @@ } ] }, + { + "key": "AccelPersonalityEnabled", + "widget": "toggle", + "title": "Enable Acceleration Profiles", + "description": "Enables acceleration profile selection for longitudinal control.", + "visibility": [ + { + "type": "capability", + "field": "has_longitudinal_control", + "equals": true + } + ], + "enablement": [ + { + "type": "capability", + "field": "has_longitudinal_control", + "equals": true + } + ] + }, + { + "key": "AccelPersonality", + "widget": "multiple_button", + "title": "Acceleration Profile", + "description": "Controls how quickly sunnypilot accelerates while preserving braking and stop behavior.", + "options": [ + { + "value": 2, + "label": "Eco" + }, + { + "value": 1, + "label": "Normal" + }, + { + "value": 0, + "label": "Sport" + } + ], + "enablement": [ + { + "type": "capability", + "field": "has_longitudinal_control", + "equals": true + }, + { + "type": "param", + "key": "AccelPersonalityEnabled", + "equals": true + } + ] + }, { "key": "IntelligentCruiseButtonManagement", "widget": "toggle", diff --git a/openpilot/sunnypilot/sunnylink/settings_ui_src/pages/cruise.yaml b/openpilot/sunnypilot/sunnylink/settings_ui_src/pages/cruise.yaml index 3ef73e0fb0..667cfd1d40 100644 --- a/openpilot/sunnypilot/sunnylink/settings_ui_src/pages/cruise.yaml +++ b/openpilot/sunnypilot/sunnylink/settings_ui_src/pages/cruise.yaml @@ -43,6 +43,19 @@ sections: label: Relaxed enablement: - $ref: '#/macros/longitudinal' + - key: AccelPersonality + widget: multiple_button + title: Acceleration Profile + description: Controls how quickly sunnypilot accelerates while preserving braking and stop behavior. + options: + - value: 2 + label: Eco + - value: 1 + label: Normal + - value: 0 + label: Sport + enablement: + - $ref: '#/macros/longitudinal' - key: IntelligentCruiseButtonManagement widget: toggle title: Intelligent Cruise Button Management (ICBM) (Alpha) diff --git a/openpilot/sunnypilot/sunnylink/settings_ui_src/pages/models.yaml b/openpilot/sunnypilot/sunnylink/settings_ui_src/pages/models.yaml index 4ae1fca88b..789aaf4a84 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 diff --git a/openpilot/sunnypilot/sunnylink/settings_ui_src/pages/vehicle.yaml b/openpilot/sunnypilot/sunnylink/settings_ui_src/pages/vehicle.yaml index 7dd23256b1..e9b73a1976 100644 --- a/openpilot/sunnypilot/sunnylink/settings_ui_src/pages/vehicle.yaml +++ b/openpilot/sunnypilot/sunnylink/settings_ui_src/pages/vehicle.yaml @@ -82,6 +82,30 @@ sections: title: Toyota / Lexus Settings description: '' items: + - key: ToyotaAutoHold + widget: toggle + needs_onroad_cycle: true + title: 'Toyota: Auto Brake Hold FOR TSS2 HYBRID CARS' + enablement: + - $ref: '#/macros/not_engaged' + - key: ToyotaEnhancedBsm + widget: toggle + needs_onroad_cycle: true + title: 'Toyota: Prius TSS2 BSM and some tssp' + enablement: + - $ref: '#/macros/not_engaged' + - key: ToyotaTSS2Long + widget: toggle + needs_onroad_cycle: true + title: 'Toyota: custom longitudinal for TSS2' + enablement: + - $ref: '#/macros/not_engaged' + - key: ToyotaDriveMode + widget: toggle + needs_onroad_cycle: true + title: Enable drive mode btn link + enablement: + - $ref: '#/macros/not_engaged' - key: ToyotaEnforceStockLongitudinal widget: toggle needs_onroad_cycle: true