Merge pull request #273 from mlong-xii/patch-1

Fix laserscan from depth
This commit is contained in:
matlabbe
2018-03-28 15:33:31 -04:00
committed by GitHub
+1 -1
View File
@@ -325,7 +325,7 @@ void CameraThread::postUpdate(SensorData * dataPtr, CameraInfo * info) const
!data.depthRaw().empty())
{
UDEBUG("");
if(data.laserScanRaw().size())
if(data.laserScanRaw().isEmpty())
{
UASSERT(_scanDecimation >= 1);
UTimer timer;