diff --git a/common/params_keys.h b/common/params_keys.h index a0a833830f..f536a4f2ec 100644 --- a/common/params_keys.h +++ b/common/params_keys.h @@ -181,6 +181,7 @@ inline static std::unordered_map keys = { {"ToyotaAutoHold", {PERSISTENT | BACKUP, BOOL, "0"}}, {"ToyotaEnhancedBsm", {PERSISTENT | BACKUP, BOOL, "0"}}, {"ToyotaTSS2Long", {PERSISTENT | BACKUP, BOOL, "0"}}, + {"ToyotaStockLongitudinal", {PERSISTENT | BACKUP, BOOL, "0"}}, {"ToyotaDriveMode", {PERSISTENT | BACKUP, BOOL, "0"}}, // MADS params diff --git a/selfdrive/ui/qt/offroad/settings.cc b/selfdrive/ui/qt/offroad/settings.cc index bc259d73f9..859a46b79a 100644 --- a/selfdrive/ui/qt/offroad/settings.cc +++ b/selfdrive/ui/qt/offroad/settings.cc @@ -33,17 +33,24 @@ TogglesPanel::TogglesPanel(SettingsWindow *parent) : ListWidget(parent) { "../assets/icons/experimental_white.svg", false, }, + { + "ToyotaDriveMode", + tr("Enable drive mode btn link"), + tr("Links cars drive mode btn with accel personalities based on personality (i.e., relaxed, standard, sport)"), + "../assets/offroad/icon_blank.png", + false, + }, { "ToyotaAutoHold", - tr("Toyota: Auto Brake Hold"), - tr("umm auto brake hold?"), + tr("Toyota: Auto Brake Hold FOR TSS2 HYBRID CARS"), + tr("As you may auto brake hold currently supported by openpilot, this feature will allow sunnypilot to automatically hold the vehicle at a stop when the lead car is stopped. (TSS2 Hybird only)"), "../assets/offroad/icon_blank.png", false, }, { "ToyotaEnhancedBsm", - tr("Toyota: Enhanced BSM"), - tr("like blind spot monitoring but better?"), + tr("Toyota: Prius TSS2 BSM and some tssp"), + tr("Add support for BSM."), "../assets/offroad/icon_blank.png", false, }, @@ -54,6 +61,14 @@ TogglesPanel::TogglesPanel(SettingsWindow *parent) : ListWidget(parent) { "../assets/offroad/icon_blank.png", false, }, + { + "ToyotaStockLongitudinal", + tr("Toyota: Stock Toyota Longitudinal"), + tr("This feature will allow sunnypilot to use the stock Toyota longitudinal control instead of the sunnypilot longitudinal control. " + ""), + "../assets/offroad/icon_blank.png", + false, + }, { "DisengageOnAccelerator", tr("Disengage on Accelerator Pedal"),