version 0.10.4: sync build with rtabmap_ros

This commit is contained in:
matlabbe
2015-08-03 17:55:38 -04:00
parent ce33ffe80a
commit e506873203
3 changed files with 4 additions and 3 deletions

View File

@@ -5439,7 +5439,7 @@ void MainWindow::changeState(MainWindow::State newState)
_state = newState;
_elapsedTime->start();
_oneSecondTimer->start();
this->post(new RtabmapEventCmd(RtabmapEventCmd::kCmdPause, "", 0));
this->post(new RtabmapEventCmd(RtabmapEventCmd::kCmdResume));
break;
case kMonitoringPaused:
_ui->actionPause->setToolTip(tr("Continue"));
@@ -5457,7 +5457,7 @@ void MainWindow::changeState(MainWindow::State newState)
_ui->statusbar->showMessage(tr("Monitoring paused..."));
_state = newState;
_oneSecondTimer->stop();
this->post(new RtabmapEventCmd(RtabmapEventCmd::kCmdPause, "", 1));
this->post(new RtabmapEventCmd(RtabmapEventCmd::kCmdPause));
break;
default:
break;