mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 17:40:23 +08:00
Removed DisableReactivation parameter (indirectly included by the RetrievalThr when = to 1)
Some default parameters' values modified for robot learning git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@316 f169173b-cf89-36c8-b27e-44dbe73f0c83
This commit is contained in:
@@ -142,7 +142,7 @@ MainWindow::MainWindow(PreferencesDialog * prefDialog, QWidget * parent) :
|
||||
ThresholdCurve * tc;
|
||||
tc = _ui->posteriorPlot->addThreshold("Loop closure thr", float(_preferencesDialog->getLoopThr()));
|
||||
connect(this, SIGNAL(loopClosureThrChanged(float)), tc, SLOT(setThreshold(float)));
|
||||
tc = _ui->posteriorPlot->addThreshold("Retrieval thr", float(_preferencesDialog->getReacThr()));
|
||||
tc = _ui->posteriorPlot->addThreshold("Retrieval thr", float(_preferencesDialog->getRetrievalThr()));
|
||||
connect(this, SIGNAL(loopClosureThrChanged(float)), tc, SLOT(setThreshold(float)));
|
||||
|
||||
_likelihoodCurve = new PdfPlotCurve("Likelihood", &_imagesMap, this);
|
||||
@@ -552,7 +552,7 @@ void MainWindow::processStats(const rtabmap::Statistics & stat)
|
||||
float value;
|
||||
value = float(_preferencesDialog->getLoopThr());
|
||||
emit(loopClosureThrChanged(value));
|
||||
value = float(_preferencesDialog->getReacThr());
|
||||
value = float(_preferencesDialog->getRetrievalThr());
|
||||
emit(retrievalThrChanged(value));
|
||||
}
|
||||
if(!stat.likelihood().empty() && _ui->dockWidget_likelihood->isVisible())
|
||||
@@ -700,7 +700,7 @@ void MainWindow::applyPrefSettings(const rtabmap::ParametersMap & parameters)
|
||||
float value;
|
||||
value = float(_preferencesDialog->getLoopThr());
|
||||
emit(loopClosureThrChanged(value));
|
||||
value = float(_preferencesDialog->getReacThr());
|
||||
value = float(_preferencesDialog->getRetrievalThr());
|
||||
emit(retrievalThrChanged(value));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user