Added statistics : Rehearsal value, retrieval margin

Updated the way how the retrieval margin is increased/reset
Posterior ignoring the last added location to WM
Auto save figure, removed the "-" in the generated date name


git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@294 f169173b-cf89-36c8-b27e-44dbe73f0c83
This commit is contained in:
matlabbe
2011-07-18 17:59:57 +00:00
parent e75f0bff66
commit 73a2d589ab
9 changed files with 115 additions and 78 deletions

View File

@@ -888,7 +888,7 @@ void MainWindow::captureScreen()
dir.mkdir(targetDir);
}
targetDir += "/";
QString name = QDateTime::currentDateTime().toString("yyMMdd-hhmmsszzz") + ".png";
QString name = QDateTime::currentDateTime().toString("yyMMddhhmmsszzz") + ".png";
_ui->statusbar->clearMessage();
QPixmap figure = QPixmap::grabWidget(this);
figure.save(targetDir + name);

View File

@@ -2047,7 +2047,7 @@ void Plot::captureScreen()
dir.mkdir(targetDir);
}
targetDir += "/";
QString name = QDateTime::currentDateTime().toString("yyMMdd-hhmmsszzz") + ".png";
QString name = QDateTime::currentDateTime().toString("yyMMddhhmmsszzz") + ".png";
QPixmap figure = QPixmap::grabWidget(this);
figure.save(targetDir + name);
}