mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-03 16:27:46 +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()
|
void MainWindow::downloadAllClouds()
|
||||||
{
|
{
|
||||||
bool showAll = _state != kMonitoringPaused && _state != kMonitoring;
|
|
||||||
|
|
||||||
QStringList items;
|
QStringList items;
|
||||||
items.append("Local map optimized");
|
items.append("Local map optimized");
|
||||||
if(showAll)
|
items.append("Local map not optimized");
|
||||||
{
|
|
||||||
items.append("Local map not optimized");
|
|
||||||
}
|
|
||||||
items.append("Global map optimized");
|
items.append("Global map optimized");
|
||||||
if(showAll)
|
items.append("Global map not optimized");
|
||||||
{
|
|
||||||
items.append("Global map not optimized");
|
|
||||||
}
|
|
||||||
bool ok;
|
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)
|
if(ok)
|
||||||
{
|
{
|
||||||
bool optimized=false, global=false;
|
bool optimized=false, global=false;
|
||||||
@@ -2610,21 +2603,14 @@ void MainWindow::downloadAllClouds()
|
|||||||
|
|
||||||
void MainWindow::downloadPoseGraph()
|
void MainWindow::downloadPoseGraph()
|
||||||
{
|
{
|
||||||
bool showAll = _state != kMonitoringPaused && _state != kMonitoring;
|
|
||||||
|
|
||||||
QStringList items;
|
QStringList items;
|
||||||
items.append("Local map optimized");
|
items.append("Local map optimized");
|
||||||
if(showAll)
|
items.append("Local map not optimized");
|
||||||
{
|
|
||||||
items.append("Local map not optimized");
|
|
||||||
}
|
|
||||||
items.append("Global map optimized");
|
items.append("Global map optimized");
|
||||||
if(showAll)
|
items.append("Global map not optimized");
|
||||||
{
|
|
||||||
items.append("Global map not optimized");
|
|
||||||
}
|
|
||||||
bool ok;
|
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)
|
if(ok)
|
||||||
{
|
{
|
||||||
bool optimized=false, global=false;
|
bool optimized=false, global=false;
|
||||||
|
|||||||
Reference in New Issue
Block a user