mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-12 20:49:50 +08:00
fixed #287 (also refer to https://github.com/introlab/rtabmap/commit/963aea5c0d6c92f598345b767171c074be7e57f9)
This commit is contained in:
@@ -316,7 +316,7 @@ private:
|
|||||||
obstacles,
|
obstacles,
|
||||||
&flatObstacles);
|
&flatObstacles);
|
||||||
|
|
||||||
if(cloud->size() && (ground->size() || obstacles->size()))
|
if(cloud->size() && ((ground.get() && ground->size()) || (obstacles.get() && obstacles->size())))
|
||||||
{
|
{
|
||||||
if(groundPub_.getNumSubscribers() &&
|
if(groundPub_.getNumSubscribers() &&
|
||||||
ground.get() && ground->size())
|
ground.get() && ground->size())
|
||||||
|
|||||||
Reference in New Issue
Block a user