rtabmap: updated proximity paths check order when likehood is not available (use closest node). MainWindow: don't pause when error happens in monitoring mode / ROS. DbViewer: show local transform of scan.

This commit is contained in:
matlabbe
2022-02-12 16:46:10 -05:00
parent 191e165a28
commit 4776de7931
3 changed files with 28 additions and 9 deletions

View File

@@ -4677,7 +4677,7 @@ void DatabaseViewer::update(int value,
labelCalib->setText("NA");
}
if(data.laserScanRaw().size())
if(data.laserScanRaw().size())
{
labelScan->setText(tr("Format=%1 Points=%2 [max=%3] Range=[%4->%5 m] Angle=[%6->%7 rad inc=%8] Has [Color=%9 2D=%10 Normals=%11 Intensity=%12] %13")
.arg(data.laserScanRaw().formatName().c_str())
@@ -4689,7 +4689,8 @@ void DatabaseViewer::update(int value,
.arg(data.laserScanRaw().angleMax())
.arg(data.laserScanRaw().angleIncrement())
.arg(data.laserScanRaw().hasRGB()?1:0)
.arg(data.laserScanRaw().is2d()?1:0)
.arg(data.laserScanRaw().is2d()?1:0)
.arg(data.laserScanRaw().hasNormals()?1:0)
.arg(data.laserScanRaw().hasIntensity()?1:0)
.arg(data.laserScanRaw().localTransform().prettyPrint().c_str()));
}

View File

@@ -962,7 +962,7 @@ bool MainWindow::handleEvent(UEvent* anEvent)
{
QMetaObject::invokeMethod(_ui->dockWidget_console, "show");
// The timer prevents multiple calls to pauseDetection() before the state can be changed
if(_state != kPaused && _state != kMonitoringPaused && _logEventTime->elapsed() > 1000)
if(_state != kPaused && _state != kMonitoringPaused && _state != kMonitoring && _logEventTime->elapsed() > 1000)
{
_logEventTime->start();
if(_preferencesDialog->beepOnPause())