torqued: reset LiveTorqueParameters on calibration reset (#27737)

* torqued: reset LiveTorqueParameters on calibration reset

* gotta have this
old-commit-hash: 8e3ed8f10b
beeps
Jason Wen 2 years ago committed by GitHub
parent 467040bbd0
commit fe5fee6931
  1. 1
      selfdrive/ui/qt/offroad/settings.cc

@ -193,6 +193,7 @@ DevicePanel::DevicePanel(SettingsWindow *parent) : ListWidget(parent) {
connect(resetCalibBtn, &ButtonControl::clicked, [&]() {
if (ConfirmationDialog::confirm(tr("Are you sure you want to reset calibration?"), tr("Reset"), this)) {
params.remove("CalibrationParams");
params.remove("LiveTorqueParameters");
}
});
addItem(resetCalibBtn);

Loading…
Cancel
Save