mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 01:20:25 +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
|
else
|
||||||
{
|
{
|
||||||
UWARN("Empty 3D words for node %d", link.from());
|
UWARN("Empty 3D words for node %d", link.from());
|
||||||
|
ui_->constraintsViewer->removeCloud("cloud0");
|
||||||
}
|
}
|
||||||
if(cloudTo->size())
|
if(cloudTo->size())
|
||||||
{
|
{
|
||||||
@@ -2120,11 +2121,14 @@ void DatabaseViewer::updateConstraintView(
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
UWARN("Empty 3D words for node %d", link.to());
|
UWARN("Empty 3D words for node %d", link.to());
|
||||||
|
ui_->constraintsViewer->removeCloud("cloud1");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
UERROR("Not found signature %d or %d in RAM", link.from(), link.to());
|
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">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>-591</y>
|
<y>0</y>
|
||||||
<width>760</width>
|
<width>755</width>
|
||||||
<height>1502</height>
|
<height>1557</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QVBoxLayout" name="verticalLayout_16">
|
<layout class="QVBoxLayout" name="verticalLayout_16">
|
||||||
@@ -86,7 +86,7 @@
|
|||||||
<enum>QFrame::Raised</enum>
|
<enum>QFrame::Raised</enum>
|
||||||
</property>
|
</property>
|
||||||
<property name="currentIndex">
|
<property name="currentIndex">
|
||||||
<number>3</number>
|
<number>19</number>
|
||||||
</property>
|
</property>
|
||||||
<widget class="QWidget" name="page_22">
|
<widget class="QWidget" name="page_22">
|
||||||
<layout class="QVBoxLayout" name="verticalLayout_29">
|
<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>
|
<string> m</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="decimals">
|
<property name="decimals">
|
||||||
<number>2</number>
|
<number>3</number>
|
||||||
</property>
|
</property>
|
||||||
<property name="singleStep">
|
<property name="singleStep">
|
||||||
<double>0.100000000000000</double>
|
<double>0.100000000000000</double>
|
||||||
|
|||||||
Reference in New Issue
Block a user