mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-01 17:10:26 +08:00
DbViewer: remove constraint clouds when 3D words are not available and referred checkbox checked
This commit is contained in:
@@ -2112,6 +2112,7 @@ void DatabaseViewer::updateConstraintView(
|
||||
else
|
||||
{
|
||||
UWARN("Empty 3D words for node %d", link.from());
|
||||
ui_->constraintsViewer->removeCloud("cloud0");
|
||||
}
|
||||
if(cloudTo->size())
|
||||
{
|
||||
@@ -2120,11 +2121,14 @@ void DatabaseViewer::updateConstraintView(
|
||||
else
|
||||
{
|
||||
UWARN("Empty 3D words for node %d", link.to());
|
||||
ui_->constraintsViewer->removeCloud("cloud1");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
UERROR("Not found signature %d or %d in RAM", link.from(), link.to());
|
||||
ui_->constraintsViewer->removeCloud("cloud0");
|
||||
ui_->constraintsViewer->removeCloud("cloud1");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -63,9 +63,9 @@
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>-591</y>
|
||||
<width>760</width>
|
||||
<height>1502</height>
|
||||
<y>0</y>
|
||||
<width>755</width>
|
||||
<height>1557</height>
|
||||
</rect>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_16">
|
||||
@@ -86,7 +86,7 @@
|
||||
<enum>QFrame::Raised</enum>
|
||||
</property>
|
||||
<property name="currentIndex">
|
||||
<number>3</number>
|
||||
<number>19</number>
|
||||
</property>
|
||||
<widget class="QWidget" name="page_22">
|
||||
<layout class="QVBoxLayout" name="verticalLayout_29">
|
||||
@@ -5007,7 +5007,7 @@ If set to false, classic RTAB-Map loop closure detection is done using only imag
|
||||
<string> m</string>
|
||||
</property>
|
||||
<property name="decimals">
|
||||
<number>2</number>
|
||||
<number>3</number>
|
||||
</property>
|
||||
<property name="singleStep">
|
||||
<double>0.100000000000000</double>
|
||||
|
||||
Reference in New Issue
Block a user