Closed Userpc1010 closed 1 year ago
Hi @Userpc1010 The RealSense SDK has a C++ example program called rs-data-collect that streams depth, infrared and color and automatically additionally streams IMU data from camera models that are equipped with an IMU.
https://github.com/IntelRealSense/librealsense/tree/master/tools/data-collect
Another approach for streaming IMU data at the same time as other stream types such as infrared is to use a callback, as described in the C++ discussion at https://github.com/IntelRealSense/librealsense/issues/6426
I found out what the problem was, it was missing: cv::waitKey(1);
very important additions I believe.
Thank you for your time, it's can to close.
You are very welcome. I'm pleased to hear that you achieved a solution. As you suggested, I will close this case. Thanks again!
Issue Description
I'm trying to output IR stereo image and imu data with OpenCV imshow, but I only get a dark screen:
Without IMU I get the image without any problems:
I can't figure out what I'm doing wrong? I didn't find an example for stereo + imu so I turned here.
Sometimes when starting up, this mini image from the camera appears)))