mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 17:40:23 +08:00
Fix for previous commit e4cb59b74d (otherwise imu are ignored if globalTimeSync is off)
This commit is contained in:
@@ -447,8 +447,11 @@ void CameraRealSense2::getPoseAndIMU(
|
|||||||
gyro[1] = iterC->second[1];
|
gyro[1] = iterC->second[1];
|
||||||
gyro[2] = iterC->second[2];
|
gyro[2] = iterC->second[2];
|
||||||
}
|
}
|
||||||
imuMutex_.unlock();
|
else
|
||||||
return;
|
{
|
||||||
|
imuMutex_.unlock();
|
||||||
|
return;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
imuMutex_.unlock();
|
imuMutex_.unlock();
|
||||||
|
|||||||
Reference in New Issue
Block a user