Re: Red Screen Kinect v2

Posted by matlabbe on
URL: http://official-rtab-map-forum.206.s1.nabble.com/Red-Screen-tp384p404.html

The warnings "CameraRGBD.cpp:146::takeImage() Camera: Cannot reach target image rate 20.000000 Hz" are normal. However, I've just fixed when this warning is sent (it should not be sent anymore for rtabmap-rgbd_camera).

Freenect seems to say that depth images are acquired:
[OpenGLDepthPacketProcessor] avg. time: 6.93665ms -> ~144.162Hz

It is using the OpenGL depth packet processor. I need to check tomorrow (on my computer with kinect v2) if it is using the OpenGL, the OpenCL or the CPU depth packet processor. It may be the difference. The one used is chosen automatically here. You can try to comment some lines to force a type and see if it is the problem.

Update
Kinect2_bridge seems to use OpenCL by default before OpenGL. See here.