I use RTAB-Map. It does not work with kinect v2

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

I use RTAB-Map. It does not work with kinect v2

r-fujikura
Hi!!!

I'm a college student in Japan.
I would like to implement RTAB-Map by using Kinect v2.
However, I have a error.
I want you to tell me how to solve.

Version, Platform, and Hardware Bug Found:
Windows 10, cmake(3.10.0-rc4), visual studio 2015 community,kinect v2 ,UsbDk_1.0.19_x64

The following is an error message.

libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
[ WARN] (2017-11-09 19:05:14) Parameters.cpp:818::rtabmap::Parameters::readINI() Section "Core" in C:/Users/t-takahashi/.rtabmap/rtabmap.ini doesn't exist... Ignore this warning if the ini file does not exist yet. The ini file will be automatically created when rtabmap will close.
[Info] [OpenCLDepthPacketProcessorImpl]  devices:
[Info] [OpenCLDepthPacketProcessorImpl]   0: GeForce GTX 970  (GPU)[NVIDIA Corporation ]
[Info] [OpenCLDepthPacketProcessorImpl]   1: Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz  (CPU)[Intel(R) Corporation ]
[Info] [OpenCLDepthPacketProcessorImpl] selected device: GeForce GTX 970  (GPU)[NVIDIA Corporation ]
[Info] [OpenCLDepthPacketProcessorImpl] building OpenCL program...
[Info] [OpenCLDepthPacketProcessorImpl] OpenCL program built successfully
[Info] [Freenect2Impl] enumerating devices...
[Info] [Freenect2Impl] 7 usb devices connected
[Info] [Freenect2Impl] found valid Kinect v2 @2:2 with serial 511724142542
[Info] [Freenect2Impl] found 1 devices
[Error] [Freenect2Impl] failed to open Kinect v2: @2:2 LIBUSB_ERROR_OTHER Other error
[ERROR] (2017-11-09 19:05:25) CameraRGBD.cpp:1551::rtabmap::CameraFreenect2::init() CameraFreenect2: no device connected or failure opening the default one! Note that rtabmap should link on libusb of libfreenect2. Tip, before starting rtabmap: "$ export LD_LIBRARY_PATH=~/libfreenect2/depends/libusb/lib:$LD_LIBRARY_PATH"
[ WARN] (2017-11-09 19:05:25) PreferencesDialog.cpp:4980::rtabmap::PreferencesDialog::createCamera() init camera failed.

Nice to meet you.
Reply | Threaded
Open this post in threaded view
|

Re: I use RTAB-Map. It does not work with kinect v2

matlabbe
Administrator
Hi,

you should use UsbDK v1.00-12, see https://github.com/introlab/rtabmap/wiki/Installation#win64-binaries

Also, there is a libusb-1.0.dll issue on the released binaries, see the update at the bottom on the release: https://github.com/introlab/rtabmap/releases/tag/0.14.0

cheers,
Mathieu
Reply | Threaded
Open this post in threaded view
|

Re: I use RTAB-Map. It does not work with kinect v2

r-fujikura

Hi,Thank you for your reply. I solved the problem by moving freenect 2 - openni 2. Dll and freenect 2. Dll in libfreenect 2 - 0. 2.0 - usbdk - vs 2015 - x 64 to the rtab - Map folder. I referred to your answer to another question. Thank you very much.