From 19561a40eb96c2448ba9237c7b30fa50e30aa853 Mon Sep 17 00:00:00 2001 From: infiniteCable2 Date: Sun, 6 Apr 2025 17:22:05 +0200 Subject: [PATCH] Update settings.cc --- selfdrive/ui/qt/offroad/settings.cc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/selfdrive/ui/qt/offroad/settings.cc b/selfdrive/ui/qt/offroad/settings.cc index da8986965..342da441e 100644 --- a/selfdrive/ui/qt/offroad/settings.cc +++ b/selfdrive/ui/qt/offroad/settings.cc @@ -43,6 +43,14 @@ TogglesPanel::TogglesPanel(SettingsWindow *parent) : ListWidget(parent) { tr("When enabled, pressing the accelerator pedal will disengage sunnypilot."), "../assets/offroad/icon_disengage_on_accelerator.svg", }, + { + "EnableDisturbanceCorrection", + tr("Enable Disturbance Correction"), + tr("Correct external disturbances such as gusts of wind. (distinguishable short term events)

" + "Switching has no effect while onroad.
" + "Disabling this, Roll Compensation and Curvature Correction enables steering through raw curvature."), + "../assets/img_chffr_wheel.png", + }, { "DarkMode", tr("Dark Mode"),