mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 09:30:25 +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[2] = iterC->second[2];
|
||||
}
|
||||
imuMutex_.unlock();
|
||||
return;
|
||||
else
|
||||
{
|
||||
imuMutex_.unlock();
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
imuMutex_.unlock();
|
||||
|
||||
Reference in New Issue
Block a user