matlabbe
2018-11-15 10:11:14 -05:00
parent 2ac46c983a
commit 40b08a359a
+1 -1
View File
@@ -316,7 +316,7 @@ private:
obstacles,
&flatObstacles);
if(cloud->size() && (ground->size() || obstacles->size()))
if(cloud->size() && ((ground.get() && ground->size()) || (obstacles.get() && obstacles->size())))
{
if(groundPub_.getNumSubscribers() &&
ground.get() && ground->size())