mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 09:30:25 +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;
|
||||
posesInTmp.erase(-1);
|
||||
poses = rtabmap::graph::radiusPosesFiltering(posesIn, radius, angle);
|
||||
poses = rtabmap::graph::radiusPosesFiltering(posesInTmp, radius, angle);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user