diff --git a/selfdrive/ui/qt/offroad/developer_panel.cc b/selfdrive/ui/qt/offroad/developer_panel.cc index ac0b4dc4de..eee48a6bdb 100644 --- a/selfdrive/ui/qt/offroad/developer_panel.cc +++ b/selfdrive/ui/qt/offroad/developer_panel.cc @@ -32,20 +32,6 @@ DeveloperPanel::DeveloperPanel(SettingsWindow *parent) : ListWidget(parent) { auto enableGithubRunner = new ParamControl("EnableGithubRunner", tr("Enable GitHub runner service"), tr("Enables or disables the github runner service."), ""); addItem(enableGithubRunner); - // FIXME-SP: Move to sunnypilot panels before merging - auto madsToggle = new ParamControl("Mads", tr("Modular Assistive Driving System (MADS)"), "", ""); - addItem(madsToggle); - - // TODO-SP: Rename toggle - auto madsMainCruiseToggle = new ParamControl("MadsMainCruiseAllowed", tr("MADS: Toggle with Main Cruise"), tr("Note: For vehicles without LFA/LKAS button, disabling this will prevent lateral control engagement."), ""); - addItem(madsMainCruiseToggle); - - auto madsPauseLateralOnBrakeToggle = new ParamControl("MadsPauseLateralOnBrake", tr("MADS: Pause Lateral on Brake"), "", ""); - addItem(madsPauseLateralOnBrakeToggle); - - auto madsUnifiedEngagementModeToggle = new ParamControl("MadsUnifiedEngagementMode", tr("MADS: Unified Engagement Mode"), "", ""); - addItem(madsUnifiedEngagementModeToggle); - // Joystick and longitudinal maneuvers should be hidden on release branches is_release = params.getBool("IsReleaseBranch"); diff --git a/selfdrive/ui/sunnypilot/qt/offroad/settings/sunnypilot/mads_settings.cc b/selfdrive/ui/sunnypilot/qt/offroad/settings/sunnypilot/mads_settings.cc index fc58ed2d83..dc03d2de4b 100644 --- a/selfdrive/ui/sunnypilot/qt/offroad/settings/sunnypilot/mads_settings.cc +++ b/selfdrive/ui/sunnypilot/qt/offroad/settings/sunnypilot/mads_settings.cc @@ -1,8 +1,68 @@ /** -* Copyright (c) 2021-, Haibin Wen, sunnypilot, and a number of other contributors. + * Copyright (c) 2021-, Haibin Wen, sunnypilot, and a number of other contributors. * * This file is part of sunnypilot and is licensed under the MIT License. * See the LICENSE.md file in the root directory for more details. */ #include "selfdrive/ui/sunnypilot/qt/offroad/settings/sunnypilot/mads_settings.h" + +#include "selfdrive/ui/sunnypilot/qt/widgets/scrollview.h" + +MadsSettings::MadsSettings(QWidget *parent) : QWidget(parent) { + QVBoxLayout *main_layout = new QVBoxLayout(this); + main_layout->setContentsMargins(50, 20, 50, 20); + main_layout->setSpacing(20); + + // Back button + PanelBackButton *back = new PanelBackButton(); + connect(back, &QPushButton::clicked, [=]() { emit backPress(); }); + main_layout->addWidget(back, 0, Qt::AlignLeft); + + ListWidget *list = new ListWidget(this, false); + madsMainCruiseToggle = new ParamControl( + "MadsMainCruiseAllowed", + tr("Toggle with Main Cruise"), + tr("Note: For vehicles without LFA/LKAS button, disabling this will prevent lateral control engagement."), + ""); + list->addItem(madsMainCruiseToggle); + + madsUnifiedEngagementModeToggle = new ParamControl( + "MadsUnifiedEngagementMode", + tr("Unified Engagement Mode (UEM)"), + QString("%1
" + "

%2

") + .arg(tr("Engage lateral and longitudinal control with cruise control engagement.")) + .arg(tr("Note: Once lateral control is engaged via UEM, it will remain engaged until it is manually disabled via the MADS button or car shut off.")), + ""); + list->addItem(madsUnifiedEngagementModeToggle); + + std::vector lateral_on_brake_texts{tr("Remain Active"), tr("Pause Steering")}; + madsPauseLateralOnBrake = new ButtonParamControl( + "MadsPauseLateralOnBrake", + tr("Steering Mode After Braking"), + tr("Choose how Automatic Lane Centering (ALC) behaves after the brake pedal is manually pressed in sunnypilot.\n\n" + "Remain Active: ALC will remain active even after the brake pedal is pressed.\nPause Steering: ALC will be paused after the brake pedal is manually pressed."), + "", + lateral_on_brake_texts, + 500); + madsPauseLateralOnBrake->showDescription(); + list->addItem(madsPauseLateralOnBrake); + + QObject::connect(uiState(), &UIState::offroadTransition, this, &MadsSettings::updateToggles); + + main_layout->addWidget(new ScrollViewSP(list, this)); + main_layout->addStretch(1); +} + +void MadsSettings::showEvent(QShowEvent *event) { + updateToggles(offroad); +} + +void MadsSettings::updateToggles(bool _offroad) { + for (auto setting : findChildren()) { + setting->setEnabled(_offroad); + } + + offroad = _offroad; +} diff --git a/selfdrive/ui/sunnypilot/qt/offroad/settings/sunnypilot/mads_settings.h b/selfdrive/ui/sunnypilot/qt/offroad/settings/sunnypilot/mads_settings.h index e9ce5f0126..fccb4cbb84 100644 --- a/selfdrive/ui/sunnypilot/qt/offroad/settings/sunnypilot/mads_settings.h +++ b/selfdrive/ui/sunnypilot/qt/offroad/settings/sunnypilot/mads_settings.h @@ -1,8 +1,36 @@ /** -* Copyright (c) 2021-, Haibin Wen, sunnypilot, and a number of other contributors. + * Copyright (c) 2021-, Haibin Wen, sunnypilot, and a number of other contributors. * * This file is part of sunnypilot and is licensed under the MIT License. * See the LICENSE.md file in the root directory for more details. */ #pragma once + +#include "selfdrive/ui/qt/util.h" +#include "selfdrive/ui/sunnypilot/ui.h" +#include "selfdrive/ui/sunnypilot/qt/offroad/settings/settings.h" +#include "selfdrive/ui/sunnypilot/qt/widgets/controls.h" + +class MadsSettings : public QWidget { + Q_OBJECT + +public: + explicit MadsSettings(QWidget *parent = nullptr); + + void showEvent(QShowEvent *event) override; + +signals: + void backPress(); + +public slots: + void updateToggles(bool _offroad); + +private: + Params params; + bool offroad; + + ParamControl *madsMainCruiseToggle; + ParamControl *madsUnifiedEngagementModeToggle; + ButtonParamControl *madsPauseLateralOnBrake; +}; diff --git a/selfdrive/ui/sunnypilot/qt/offroad/settings/sunnypilot_panel.cc b/selfdrive/ui/sunnypilot/qt/offroad/settings/sunnypilot_panel.cc index aa8bc3b783..570caae92e 100644 --- a/selfdrive/ui/sunnypilot/qt/offroad/settings/sunnypilot_panel.cc +++ b/selfdrive/ui/sunnypilot/qt/offroad/settings/sunnypilot_panel.cc @@ -1,5 +1,5 @@ /** -* Copyright (c) 2021-, Haibin Wen, sunnypilot, and a number of other contributors. + * Copyright (c) 2021-, Haibin Wen, sunnypilot, and a number of other contributors. * * This file is part of sunnypilot and is licensed under the MIT License. * See the LICENSE.md file in the root directory for more details. @@ -11,4 +11,57 @@ #include "selfdrive/ui/sunnypilot/qt/widgets/controls.h" SunnypilotPanel::SunnypilotPanel(SettingsWindowSP *parent) : QFrame(parent) { + main_layout = new QStackedLayout(this); + ListWidget *list = new ListWidget(this, false); + + sunnypilotScreen = new QWidget(this); + QVBoxLayout* vlayout = new QVBoxLayout(sunnypilotScreen); + vlayout->setContentsMargins(50, 20, 50, 20); + + madsToggle = new ParamControl( + "Mads", + tr("Modular Assistive Driving System (MADS)"), + tr("Enable the beloved MADS feature. Disable toggle to revert back to stock openpilot engagement/disengagement."), + ""); + list->addItem(madsToggle); + + SubPanelButton *madsSettings = new SubPanelButton(tr("Customize MADS")); + madsSettings->setObjectName("mads_btn"); + QVBoxLayout* madsSettingsLayout = new QVBoxLayout; + madsSettingsLayout->setContentsMargins(0, 0, 0, 30); + madsSettingsLayout->addWidget(madsSettings); + connect(madsSettings, &QPushButton::clicked, [=]() { + scrollView->setLastScrollPosition(); + main_layout->setCurrentWidget(mads_settings); + }); + + mads_settings = new MadsSettings(this); + connect(mads_settings, &MadsSettings::backPress, [=]() { + scrollView->restoreScrollPosition(); + main_layout->setCurrentWidget(sunnypilotScreen); + }); + list->addItem(madsSettingsLayout); + + scrollView = new ScrollViewSP(list, this); + vlayout->addWidget(scrollView); + vlayout->addStretch(1); + main_layout->addWidget(sunnypilotScreen); + main_layout->addWidget(mads_settings); + + setStyleSheet(R"( + #back_btn { + font-size: 50px; + margin: 0px; + padding: 15px; + border-width: 0; + border-radius: 30px; + color: #dddddd; + background-color: #393939; + } + #back_btn:pressed { + background-color: #4a4a4a; + } + )"); + + main_layout->setCurrentWidget(sunnypilotScreen); } diff --git a/selfdrive/ui/sunnypilot/qt/offroad/settings/sunnypilot_panel.h b/selfdrive/ui/sunnypilot/qt/offroad/settings/sunnypilot_panel.h index 5ce46e7093..c827a53d60 100644 --- a/selfdrive/ui/sunnypilot/qt/offroad/settings/sunnypilot_panel.h +++ b/selfdrive/ui/sunnypilot/qt/offroad/settings/sunnypilot_panel.h @@ -1,5 +1,5 @@ /** -* Copyright (c) 2021-, Haibin Wen, sunnypilot, and a number of other contributors. + * Copyright (c) 2021-, Haibin Wen, sunnypilot, and a number of other contributors. * * This file is part of sunnypilot and is licensed under the MIT License. * See the LICENSE.md file in the root directory for more details. @@ -11,8 +11,10 @@ #include #include "selfdrive/ui/sunnypilot/ui.h" +#include "selfdrive/ui/sunnypilot/qt/offroad/settings/sunnypilot/mads_settings.h" #include "selfdrive/ui/qt/util.h" #include "selfdrive/ui/sunnypilot/qt/offroad/settings/settings.h" +#include "selfdrive/ui/sunnypilot/qt/widgets/scrollview.h" class SunnypilotPanel : public QFrame { Q_OBJECT @@ -22,4 +24,9 @@ public: private: QStackedLayout* main_layout = nullptr; + QWidget* sunnypilotScreen = nullptr; + ScrollViewSP *scrollView = nullptr; + + ParamControl *madsToggle; + MadsSettings* mads_settings = nullptr; }; diff --git a/selfdrive/ui/sunnypilot/qt/widgets/scrollview.cc b/selfdrive/ui/sunnypilot/qt/widgets/scrollview.cc index 49f6e93430..ba9a367b0e 100644 --- a/selfdrive/ui/sunnypilot/qt/widgets/scrollview.cc +++ b/selfdrive/ui/sunnypilot/qt/widgets/scrollview.cc @@ -1,5 +1,5 @@ /** -* Copyright (c) 2021-, Haibin Wen, sunnypilot, and a number of other contributors. + * Copyright (c) 2021-, Haibin Wen, sunnypilot, and a number of other contributors. * * This file is part of sunnypilot and is licensed under the MIT License. * See the LICENSE.md file in the root directory for more details. diff --git a/selfdrive/ui/translations/main_ar.ts b/selfdrive/ui/translations/main_ar.ts index 523e3ff04e..8d1be1437d 100644 --- a/selfdrive/ui/translations/main_ar.ts +++ b/selfdrive/ui/translations/main_ar.ts @@ -123,32 +123,12 @@ Longitudinal Maneuver Mode وضع المناورة الطولية - - Enable GitHub runner service - - Enables or disables the github runner service. - Modular Assistive Driving System (MADS) - - - - MADS: Unified Engagement Mode - - - - MADS: Toggle with Main Cruise - - - - Note: For vehicles without LFA/LKAS button, disabling this will prevent lateral control engagement. - - - - MADS: Pause Lateral on Brake + Enable GitHub runner service @@ -353,6 +333,48 @@ جارٍ التثبيت... + + MadsSettings + + Toggle with Main Cruise + + + + Unified Engagement Mode (UEM) + + + + Engage lateral and longitudinal control with cruise control engagement. + + + + Note: Once lateral control is engaged via UEM, it will remain engaged until it is manually disabled via the MADS button or car shut off. + + + + Remain Active + + + + Pause Steering + + + + Steering Mode After Braking + + + + Choose how Automatic Lane Centering (ALC) behaves after the brake pedal is manually pressed in sunnypilot. + +Remain Active: ALC will remain active even after the brake pedal is pressed. +Pause Steering: ALC will be paused after the brake pedal is manually pressed. + + + + Note: For vehicles without LFA/LKAS button, disabling this will prevent lateral control engagement. + + + MultiOptionDialog @@ -1010,6 +1032,21 @@ This may take up to a minute. تمكين SSH + + SunnypilotPanel + + Customize MADS + + + + Modular Assistive Driving System (MADS) + + + + Enable the beloved MADS feature. Disable toggle to revert back to stock openpilot engagement/disengagement. + + + TermsPage diff --git a/selfdrive/ui/translations/main_de.ts b/selfdrive/ui/translations/main_de.ts index 18bc65a80f..cfed9a3452 100644 --- a/selfdrive/ui/translations/main_de.ts +++ b/selfdrive/ui/translations/main_de.ts @@ -123,32 +123,12 @@ Longitudinal Maneuver Mode - - Enable GitHub runner service - - Enables or disables the github runner service. - Modular Assistive Driving System (MADS) - - - - MADS: Unified Engagement Mode - - - - MADS: Toggle with Main Cruise - - - - Note: For vehicles without LFA/LKAS button, disabling this will prevent lateral control engagement. - - - - MADS: Pause Lateral on Brake + Enable GitHub runner service @@ -349,6 +329,48 @@ Installiere... + + MadsSettings + + Toggle with Main Cruise + + + + Unified Engagement Mode (UEM) + + + + Engage lateral and longitudinal control with cruise control engagement. + + + + Note: Once lateral control is engaged via UEM, it will remain engaged until it is manually disabled via the MADS button or car shut off. + + + + Remain Active + + + + Pause Steering + + + + Steering Mode After Braking + + + + Choose how Automatic Lane Centering (ALC) behaves after the brake pedal is manually pressed in sunnypilot. + +Remain Active: ALC will remain active even after the brake pedal is pressed. +Pause Steering: ALC will be paused after the brake pedal is manually pressed. + + + + Note: For vehicles without LFA/LKAS button, disabling this will prevent lateral control engagement. + + + MultiOptionDialog @@ -994,6 +1016,21 @@ This may take up to a minute. SSH aktivieren + + SunnypilotPanel + + Customize MADS + + + + Modular Assistive Driving System (MADS) + + + + Enable the beloved MADS feature. Disable toggle to revert back to stock openpilot engagement/disengagement. + + + TermsPage diff --git a/selfdrive/ui/translations/main_es.ts b/selfdrive/ui/translations/main_es.ts index c3003a6d97..7e4c4d7d86 100644 --- a/selfdrive/ui/translations/main_es.ts +++ b/selfdrive/ui/translations/main_es.ts @@ -123,32 +123,12 @@ Longitudinal Maneuver Mode Modo de maniobra longitudinal - - Enable GitHub runner service - - Enables or disables the github runner service. - Modular Assistive Driving System (MADS) - - - - MADS: Unified Engagement Mode - MADS: Modo de activación unificado. - - - MADS: Toggle with Main Cruise - MADS: Activar con botón de crucero principal. - - - Note: For vehicles without LFA/LKAS button, disabling this will prevent lateral control engagement. - Nota: Para vehículos sin botón de LFA/LKAS, deshabilitar este ajuste evitará que se active el control lateral. - - - MADS: Pause Lateral on Brake + Enable GitHub runner service @@ -349,6 +329,48 @@ Instalando... + + MadsSettings + + Toggle with Main Cruise + + + + Note: For vehicles without LFA/LKAS button, disabling this will prevent lateral control engagement. + Nota: Para vehículos sin botón de LFA/LKAS, deshabilitar este ajuste evitará que se active el control lateral. + + + Unified Engagement Mode (UEM) + + + + Engage lateral and longitudinal control with cruise control engagement. + + + + Note: Once lateral control is engaged via UEM, it will remain engaged until it is manually disabled via the MADS button or car shut off. + + + + Remain Active + + + + Pause Steering + + + + Steering Mode After Braking + + + + Choose how Automatic Lane Centering (ALC) behaves after the brake pedal is manually pressed in sunnypilot. + +Remain Active: ALC will remain active even after the brake pedal is pressed. +Pause Steering: ALC will be paused after the brake pedal is manually pressed. + + + MultiOptionDialog @@ -994,6 +1016,21 @@ Esto puede tardar un minuto. Habilitar SSH + + SunnypilotPanel + + Customize MADS + + + + Modular Assistive Driving System (MADS) + + + + Enable the beloved MADS feature. Disable toggle to revert back to stock openpilot engagement/disengagement. + + + TermsPage diff --git a/selfdrive/ui/translations/main_fr.ts b/selfdrive/ui/translations/main_fr.ts index be883b23e9..3851e61f77 100644 --- a/selfdrive/ui/translations/main_fr.ts +++ b/selfdrive/ui/translations/main_fr.ts @@ -123,32 +123,12 @@ Longitudinal Maneuver Mode - - Enable GitHub runner service - - Enables or disables the github runner service. - Modular Assistive Driving System (MADS) - - - - MADS: Unified Engagement Mode - - - - MADS: Toggle with Main Cruise - - - - Note: For vehicles without LFA/LKAS button, disabling this will prevent lateral control engagement. - - - - MADS: Pause Lateral on Brake + Enable GitHub runner service @@ -349,6 +329,48 @@ Installation... + + MadsSettings + + Toggle with Main Cruise + + + + Unified Engagement Mode (UEM) + + + + Engage lateral and longitudinal control with cruise control engagement. + + + + Note: Once lateral control is engaged via UEM, it will remain engaged until it is manually disabled via the MADS button or car shut off. + + + + Remain Active + + + + Pause Steering + + + + Steering Mode After Braking + + + + Choose how Automatic Lane Centering (ALC) behaves after the brake pedal is manually pressed in sunnypilot. + +Remain Active: ALC will remain active even after the brake pedal is pressed. +Pause Steering: ALC will be paused after the brake pedal is manually pressed. + + + + Note: For vehicles without LFA/LKAS button, disabling this will prevent lateral control engagement. + + + MultiOptionDialog @@ -994,6 +1016,21 @@ Cela peut prendre jusqu'à une minute. Activer SSH + + SunnypilotPanel + + Customize MADS + + + + Modular Assistive Driving System (MADS) + + + + Enable the beloved MADS feature. Disable toggle to revert back to stock openpilot engagement/disengagement. + + + TermsPage diff --git a/selfdrive/ui/translations/main_ja.ts b/selfdrive/ui/translations/main_ja.ts index 629d5f9b0e..dc8e2f529e 100644 --- a/selfdrive/ui/translations/main_ja.ts +++ b/selfdrive/ui/translations/main_ja.ts @@ -123,32 +123,12 @@ Longitudinal Maneuver Mode - - Enable GitHub runner service - - Enables or disables the github runner service. - Modular Assistive Driving System (MADS) - - - - MADS: Unified Engagement Mode - - - - MADS: Toggle with Main Cruise - - - - Note: For vehicles without LFA/LKAS button, disabling this will prevent lateral control engagement. - - - - MADS: Pause Lateral on Brake + Enable GitHub runner service @@ -348,6 +328,48 @@ インストールしています... + + MadsSettings + + Toggle with Main Cruise + + + + Unified Engagement Mode (UEM) + + + + Engage lateral and longitudinal control with cruise control engagement. + + + + Note: Once lateral control is engaged via UEM, it will remain engaged until it is manually disabled via the MADS button or car shut off. + + + + Remain Active + + + + Pause Steering + + + + Steering Mode After Braking + + + + Choose how Automatic Lane Centering (ALC) behaves after the brake pedal is manually pressed in sunnypilot. + +Remain Active: ALC will remain active even after the brake pedal is pressed. +Pause Steering: ALC will be paused after the brake pedal is manually pressed. + + + + Note: For vehicles without LFA/LKAS button, disabling this will prevent lateral control engagement. + + + MultiOptionDialog @@ -988,6 +1010,21 @@ This may take up to a minute. SSH を有効化 + + SunnypilotPanel + + Customize MADS + + + + Modular Assistive Driving System (MADS) + + + + Enable the beloved MADS feature. Disable toggle to revert back to stock openpilot engagement/disengagement. + + + TermsPage diff --git a/selfdrive/ui/translations/main_ko.ts b/selfdrive/ui/translations/main_ko.ts index 586e856a4b..d6f1de1912 100644 --- a/selfdrive/ui/translations/main_ko.ts +++ b/selfdrive/ui/translations/main_ko.ts @@ -123,32 +123,12 @@ Longitudinal Maneuver Mode 롱컨 기동 모드 - - Enable GitHub runner service - - Enables or disables the github runner service. - Modular Assistive Driving System (MADS) - - - - MADS: Unified Engagement Mode - - - - MADS: Toggle with Main Cruise - - - - Note: For vehicles without LFA/LKAS button, disabling this will prevent lateral control engagement. - - - - MADS: Pause Lateral on Brake + Enable GitHub runner service @@ -348,6 +328,48 @@ 설치 중... + + MadsSettings + + Toggle with Main Cruise + + + + Unified Engagement Mode (UEM) + + + + Engage lateral and longitudinal control with cruise control engagement. + + + + Note: Once lateral control is engaged via UEM, it will remain engaged until it is manually disabled via the MADS button or car shut off. + + + + Remain Active + + + + Pause Steering + + + + Steering Mode After Braking + + + + Choose how Automatic Lane Centering (ALC) behaves after the brake pedal is manually pressed in sunnypilot. + +Remain Active: ALC will remain active even after the brake pedal is pressed. +Pause Steering: ALC will be paused after the brake pedal is manually pressed. + + + + Note: For vehicles without LFA/LKAS button, disabling this will prevent lateral control engagement. + + + MultiOptionDialog @@ -990,6 +1012,21 @@ This may take up to a minute. SSH 사용 + + SunnypilotPanel + + Customize MADS + + + + Modular Assistive Driving System (MADS) + + + + Enable the beloved MADS feature. Disable toggle to revert back to stock openpilot engagement/disengagement. + + + TermsPage diff --git a/selfdrive/ui/translations/main_pt-BR.ts b/selfdrive/ui/translations/main_pt-BR.ts index 13573e0b46..bd87b1a7f1 100644 --- a/selfdrive/ui/translations/main_pt-BR.ts +++ b/selfdrive/ui/translations/main_pt-BR.ts @@ -123,32 +123,12 @@ Longitudinal Maneuver Mode Modo Longitudinal Maneuver - - Enable GitHub runner service - - Enables or disables the github runner service. - Modular Assistive Driving System (MADS) - - - - MADS: Unified Engagement Mode - - - - MADS: Toggle with Main Cruise - - - - Note: For vehicles without LFA/LKAS button, disabling this will prevent lateral control engagement. - - - - MADS: Pause Lateral on Brake + Enable GitHub runner service @@ -349,6 +329,48 @@ Instalando... + + MadsSettings + + Toggle with Main Cruise + + + + Unified Engagement Mode (UEM) + + + + Engage lateral and longitudinal control with cruise control engagement. + + + + Note: Once lateral control is engaged via UEM, it will remain engaged until it is manually disabled via the MADS button or car shut off. + + + + Remain Active + + + + Pause Steering + + + + Steering Mode After Braking + + + + Choose how Automatic Lane Centering (ALC) behaves after the brake pedal is manually pressed in sunnypilot. + +Remain Active: ALC will remain active even after the brake pedal is pressed. +Pause Steering: ALC will be paused after the brake pedal is manually pressed. + + + + Note: For vehicles without LFA/LKAS button, disabling this will prevent lateral control engagement. + + + MultiOptionDialog @@ -994,6 +1016,21 @@ Isso pode levar até um minuto. Habilitar SSH + + SunnypilotPanel + + Customize MADS + + + + Modular Assistive Driving System (MADS) + + + + Enable the beloved MADS feature. Disable toggle to revert back to stock openpilot engagement/disengagement. + + + TermsPage diff --git a/selfdrive/ui/translations/main_th.ts b/selfdrive/ui/translations/main_th.ts index 164db2fe9a..4d08e85e47 100644 --- a/selfdrive/ui/translations/main_th.ts +++ b/selfdrive/ui/translations/main_th.ts @@ -123,32 +123,12 @@ Longitudinal Maneuver Mode - - Enable GitHub runner service - - Enables or disables the github runner service. - Modular Assistive Driving System (MADS) - - - - MADS: Unified Engagement Mode - - - - MADS: Toggle with Main Cruise - - - - Note: For vehicles without LFA/LKAS button, disabling this will prevent lateral control engagement. - - - - MADS: Pause Lateral on Brake + Enable GitHub runner service @@ -348,6 +328,48 @@ กำลังติดตั้ง... + + MadsSettings + + Toggle with Main Cruise + + + + Unified Engagement Mode (UEM) + + + + Engage lateral and longitudinal control with cruise control engagement. + + + + Note: Once lateral control is engaged via UEM, it will remain engaged until it is manually disabled via the MADS button or car shut off. + + + + Remain Active + + + + Pause Steering + + + + Steering Mode After Braking + + + + Choose how Automatic Lane Centering (ALC) behaves after the brake pedal is manually pressed in sunnypilot. + +Remain Active: ALC will remain active even after the brake pedal is pressed. +Pause Steering: ALC will be paused after the brake pedal is manually pressed. + + + + Note: For vehicles without LFA/LKAS button, disabling this will prevent lateral control engagement. + + + MultiOptionDialog @@ -990,6 +1012,21 @@ This may take up to a minute. เปิดใช้งาน SSH + + SunnypilotPanel + + Customize MADS + + + + Modular Assistive Driving System (MADS) + + + + Enable the beloved MADS feature. Disable toggle to revert back to stock openpilot engagement/disengagement. + + + TermsPage diff --git a/selfdrive/ui/translations/main_tr.ts b/selfdrive/ui/translations/main_tr.ts index 679656a8b8..caf4b97766 100644 --- a/selfdrive/ui/translations/main_tr.ts +++ b/selfdrive/ui/translations/main_tr.ts @@ -123,32 +123,12 @@ Longitudinal Maneuver Mode - - Enable GitHub runner service - - Enables or disables the github runner service. - Modular Assistive Driving System (MADS) - - - - MADS: Unified Engagement Mode - - - - MADS: Toggle with Main Cruise - - - - Note: For vehicles without LFA/LKAS button, disabling this will prevent lateral control engagement. - - - - MADS: Pause Lateral on Brake + Enable GitHub runner service @@ -348,6 +328,48 @@ Yükleniyor... + + MadsSettings + + Toggle with Main Cruise + + + + Unified Engagement Mode (UEM) + + + + Engage lateral and longitudinal control with cruise control engagement. + + + + Note: Once lateral control is engaged via UEM, it will remain engaged until it is manually disabled via the MADS button or car shut off. + + + + Remain Active + + + + Pause Steering + + + + Steering Mode After Braking + + + + Choose how Automatic Lane Centering (ALC) behaves after the brake pedal is manually pressed in sunnypilot. + +Remain Active: ALC will remain active even after the brake pedal is pressed. +Pause Steering: ALC will be paused after the brake pedal is manually pressed. + + + + Note: For vehicles without LFA/LKAS button, disabling this will prevent lateral control engagement. + + + MultiOptionDialog @@ -988,6 +1010,21 @@ This may take up to a minute. SSH aç + + SunnypilotPanel + + Customize MADS + + + + Modular Assistive Driving System (MADS) + + + + Enable the beloved MADS feature. Disable toggle to revert back to stock openpilot engagement/disengagement. + + + TermsPage diff --git a/selfdrive/ui/translations/main_zh-CHS.ts b/selfdrive/ui/translations/main_zh-CHS.ts index 9c5290a0cd..0b2c45c1c1 100644 --- a/selfdrive/ui/translations/main_zh-CHS.ts +++ b/selfdrive/ui/translations/main_zh-CHS.ts @@ -123,32 +123,12 @@ Longitudinal Maneuver Mode - - Enable GitHub runner service - - Enables or disables the github runner service. - Modular Assistive Driving System (MADS) - - - - MADS: Unified Engagement Mode - - - - MADS: Toggle with Main Cruise - - - - Note: For vehicles without LFA/LKAS button, disabling this will prevent lateral control engagement. - - - - MADS: Pause Lateral on Brake + Enable GitHub runner service @@ -348,6 +328,48 @@ 正在安装…… + + MadsSettings + + Toggle with Main Cruise + + + + Unified Engagement Mode (UEM) + + + + Engage lateral and longitudinal control with cruise control engagement. + + + + Note: Once lateral control is engaged via UEM, it will remain engaged until it is manually disabled via the MADS button or car shut off. + + + + Remain Active + + + + Pause Steering + + + + Steering Mode After Braking + + + + Choose how Automatic Lane Centering (ALC) behaves after the brake pedal is manually pressed in sunnypilot. + +Remain Active: ALC will remain active even after the brake pedal is pressed. +Pause Steering: ALC will be paused after the brake pedal is manually pressed. + + + + Note: For vehicles without LFA/LKAS button, disabling this will prevent lateral control engagement. + + + MultiOptionDialog @@ -990,6 +1012,21 @@ This may take up to a minute. 启用SSH + + SunnypilotPanel + + Customize MADS + + + + Modular Assistive Driving System (MADS) + + + + Enable the beloved MADS feature. Disable toggle to revert back to stock openpilot engagement/disengagement. + + + TermsPage diff --git a/selfdrive/ui/translations/main_zh-CHT.ts b/selfdrive/ui/translations/main_zh-CHT.ts index cd8a95e346..c54f724756 100644 --- a/selfdrive/ui/translations/main_zh-CHT.ts +++ b/selfdrive/ui/translations/main_zh-CHT.ts @@ -123,32 +123,12 @@ Longitudinal Maneuver Mode - - Enable GitHub runner service - - Enables or disables the github runner service. - Modular Assistive Driving System (MADS) - - - - MADS: Unified Engagement Mode - - - - MADS: Toggle with Main Cruise - - - - Note: For vehicles without LFA/LKAS button, disabling this will prevent lateral control engagement. - - - - MADS: Pause Lateral on Brake + Enable GitHub runner service @@ -348,6 +328,48 @@ 安裝中… + + MadsSettings + + Toggle with Main Cruise + + + + Unified Engagement Mode (UEM) + + + + Engage lateral and longitudinal control with cruise control engagement. + + + + Note: Once lateral control is engaged via UEM, it will remain engaged until it is manually disabled via the MADS button or car shut off. + + + + Remain Active + + + + Pause Steering + + + + Steering Mode After Braking + + + + Choose how Automatic Lane Centering (ALC) behaves after the brake pedal is manually pressed in sunnypilot. + +Remain Active: ALC will remain active even after the brake pedal is pressed. +Pause Steering: ALC will be paused after the brake pedal is manually pressed. + + + + Note: For vehicles without LFA/LKAS button, disabling this will prevent lateral control engagement. + + + MultiOptionDialog @@ -990,6 +1012,21 @@ This may take up to a minute. 啟用 SSH 服務 + + SunnypilotPanel + + Customize MADS + + + + Modular Assistive Driving System (MADS) + + + + Enable the beloved MADS feature. Disable toggle to revert back to stock openpilot engagement/disengagement. + + + TermsPage