Fix laserscan from depth

Mathieu, unless I'm missing something, you intended to change this to isEmpty() correct?
This commit is contained in:
mlong-xii
2018-03-28 14:14:13 -04:00
committed by GitHub
parent 99acc9a6e7
commit 9ade28ee00

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;