pull/33885/head
AlexandreSato 7 months ago
parent fa603ae48c
commit 90fc3422bb
  1. 8
      selfdrive/ui/qt/offroad/developer_panel.cc

@ -28,12 +28,10 @@ DeveloperPanel::DeveloperPanel(SettingsWindow *parent) : ListWidget(parent) {
.arg(tr("WARNING: openpilot longitudinal control is in alpha for this car and will disable Automatic Emergency Braking (AEB).")) .arg(tr("WARNING: openpilot longitudinal control is in alpha for this car and will disable Automatic Emergency Braking (AEB)."))
.arg(tr("On this car, openpilot defaults to the car's built-in ACC instead of openpilot's longitudinal control. " .arg(tr("On this car, openpilot defaults to the car's built-in ACC instead of openpilot's longitudinal control. "
"Enable this to switch to openpilot longitudinal control. Enabling Experimental mode is recommended when enabling openpilot longitudinal control alpha.")), "Enable this to switch to openpilot longitudinal control. Enabling Experimental mode is recommended when enabling openpilot longitudinal control alpha.")),
"../assets/offroad/icon_speed_limit.png"); "../assets/offroad/icon_speed_limit.png"
// QObject::connect(alphaLongToggle, &ParamControl::toggleFlipped, [=](bool state) { );
// params.putBool("JoystickDebugMode", false);
// joystickToggle->refresh();
// });
addItem(alphaLongToggle); addItem(alphaLongToggle);
alphaLongToggle->setConfirmation(true, false);
// Joystick and longitudinal maneuvers should be hidden on release branches // Joystick and longitudinal maneuvers should be hidden on release branches
// also the toggles should be not available to change in onroad state // also the toggles should be not available to change in onroad state

Loading…
Cancel
Save