mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 01:20:25 +08:00
fixed build on system with PCL < 1.7.2
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1624 f169173b-cf89-36c8-b27e-44dbe73f0c83
This commit is contained in:
@@ -391,10 +391,12 @@ bool CloudViewer::addOccupancyGridMap(
|
||||
|
||||
void CloudViewer::removeOccupancyGridMap()
|
||||
{
|
||||
#if PCL_VERSION_COMPARE(>=, 1, 7, 2)
|
||||
if(_visualizer->getShapeActorMap()->find("map") == _visualizer->getShapeActorMap()->end())
|
||||
{
|
||||
_visualizer->removeShape("map");
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
void CloudViewer::setTrajectoryShown(bool shown)
|
||||
|
||||
Reference in New Issue
Block a user