mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-07 18:27:46 +08:00
fixed OdometryViewer where clouds were not all removed or shown
This commit is contained in:
@@ -625,8 +625,9 @@ void CloudViewer::removeAllClouds()
|
||||
|
||||
bool CloudViewer::removeCloud(const std::string & id)
|
||||
{
|
||||
_addedClouds.remove(id);
|
||||
return _visualizer->removePointCloud(id);
|
||||
bool success = _visualizer->removePointCloud(id);
|
||||
_addedClouds.remove(id); // remove after visualizer
|
||||
return success;
|
||||
}
|
||||
|
||||
bool CloudViewer::getPose(const std::string & id, Transform & pose)
|
||||
|
||||
Reference in New Issue
Block a user