mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 17:40:23 +08:00
Fixed bug L500 gyro/acc not detected (#629)
This commit is contained in:
@@ -656,7 +656,8 @@ bool CameraRealSense2::init(const std::string & calibrationFolder, const std::st
|
||||
auto video_profile = profile.as<rs2::video_stream_profile>();
|
||||
if(!stereo)
|
||||
{
|
||||
if(isL500_)
|
||||
if(isL500_ &&
|
||||
!(video_profile.format() == RS2_FORMAT_MOTION_XYZ32F || video_profile.format() == RS2_FORMAT_6DOF))
|
||||
{
|
||||
if(video_profile.width() == 640 &&
|
||||
video_profile.height() == 480 &&
|
||||
|
||||
Reference in New Issue
Block a user