mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 01:20:25 +08:00
rtabmapviz: re-activated download map/graph "not optimized" options
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1618 f169173b-cf89-36c8-b27e-44dbe73f0c83
This commit is contained in:
@@ -2551,21 +2551,14 @@ void MainWindow::dumpThePrediction()
|
||||
|
||||
void MainWindow::downloadAllClouds()
|
||||
{
|
||||
bool showAll = _state != kMonitoringPaused && _state != kMonitoring;
|
||||
|
||||
QStringList items;
|
||||
items.append("Local map optimized");
|
||||
if(showAll)
|
||||
{
|
||||
items.append("Local map not optimized");
|
||||
}
|
||||
items.append("Local map not optimized");
|
||||
items.append("Global map optimized");
|
||||
if(showAll)
|
||||
{
|
||||
items.append("Global map not optimized");
|
||||
}
|
||||
items.append("Global map not optimized");
|
||||
|
||||
bool ok;
|
||||
QString item = QInputDialog::getItem(this, tr("Parameters"), tr("Options:"), items, showAll?2:1, false, &ok);
|
||||
QString item = QInputDialog::getItem(this, tr("Parameters"), tr("Options:"), items, 2, false, &ok);
|
||||
if(ok)
|
||||
{
|
||||
bool optimized=false, global=false;
|
||||
@@ -2610,21 +2603,14 @@ void MainWindow::downloadAllClouds()
|
||||
|
||||
void MainWindow::downloadPoseGraph()
|
||||
{
|
||||
bool showAll = _state != kMonitoringPaused && _state != kMonitoring;
|
||||
|
||||
QStringList items;
|
||||
items.append("Local map optimized");
|
||||
if(showAll)
|
||||
{
|
||||
items.append("Local map not optimized");
|
||||
}
|
||||
items.append("Local map not optimized");
|
||||
items.append("Global map optimized");
|
||||
if(showAll)
|
||||
{
|
||||
items.append("Global map not optimized");
|
||||
}
|
||||
items.append("Global map not optimized");
|
||||
|
||||
bool ok;
|
||||
QString item = QInputDialog::getItem(this, tr("Parameters"), tr("Options:"), items, showAll?2:1, false, &ok);
|
||||
QString item = QInputDialog::getItem(this, tr("Parameters"), tr("Options:"), items, 2, false, &ok);
|
||||
if(ok)
|
||||
{
|
||||
bool optimized=false, global=false;
|
||||
|
||||
Reference in New Issue
Block a user