mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-03 01:50:24 +08:00
GUI: Fixed "map id of node -1 not found" error when enabling nodes filtering (https://github.com/introlab/rtabmap_ros/issues/235)
This commit is contained in:
@@ -2067,7 +2067,7 @@ void MainWindow::updateMapCloud(
|
|||||||
{
|
{
|
||||||
std::map<int, Transform> posesInTmp = posesIn;
|
std::map<int, Transform> posesInTmp = posesIn;
|
||||||
posesInTmp.erase(-1);
|
posesInTmp.erase(-1);
|
||||||
poses = rtabmap::graph::radiusPosesFiltering(posesIn, radius, angle);
|
poses = rtabmap::graph::radiusPosesFiltering(posesInTmp, radius, angle);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user