mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 17:40:23 +08:00
Fix laserscan from depth
Mathieu, unless I'm missing something, you intended to change this to isEmpty() correct?
This commit is contained in:
@@ -325,7 +325,7 @@ void CameraThread::postUpdate(SensorData * dataPtr, CameraInfo * info) const
|
|||||||
!data.depthRaw().empty())
|
!data.depthRaw().empty())
|
||||||
{
|
{
|
||||||
UDEBUG("");
|
UDEBUG("");
|
||||||
if(data.laserScanRaw().size())
|
if(data.laserScanRaw().isEmpty())
|
||||||
{
|
{
|
||||||
UASSERT(_scanDecimation >= 1);
|
UASSERT(_scanDecimation >= 1);
|
||||||
UTimer timer;
|
UTimer timer;
|
||||||
|
|||||||
Reference in New Issue
Block a user