mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-03 10:00:23 +08:00
cloudFromDisparity(): adjusting decimation if not valid with current image size. Standalone: ask user to set other parameters to default if some were set on command line.
This commit is contained in:
@@ -4081,7 +4081,13 @@ void MainWindow::updateParameters(const ParametersMap & parameters)
|
||||
_ui->widget_console->appendMsg(msg);
|
||||
UWARN(msg.toStdString().c_str());
|
||||
}
|
||||
_preferencesDialog->updateParameters(parameters);
|
||||
QMessageBox::StandardButton button = QMessageBox::question(this,
|
||||
tr("Parameters"),
|
||||
tr("Some parameters have been set on command line, do you "
|
||||
"want to set all other RTAB-Map's parameters to default?"),
|
||||
QMessageBox::Yes | QMessageBox::No,
|
||||
QMessageBox::No);
|
||||
_preferencesDialog->updateParameters(parameters, button==QMessageBox::Yes);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user