-
Notifications
You must be signed in to change notification settings - Fork 799
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kinect v2 / Kinect One #9
Comments
To use with ROS: see http://official-rtab-map-forum.206.s1.nabble.com/rtabmap-for-kinect-v2-on-ROS-Indigo-tp61p260.html
To use with RTAB-Map standalone, libfreenect2 should be installed and RTAB-Map should be built with it (the cmake output should show "With Freenect2 = Yes"). Then under the source menu, just select "Kinect v2" -> "freeenect2" driver. |
there is new driver for the kinect v2 on open ni2 : |
Hello, Not in the short term. I assume that you are on Windows. I would like to support it but at this time I don't have a computer to be able to test Openni2+K4W2+Kinect v2 on Windows 8 (the main issue on my side is that Windows doesn't recognize the Kinect with the USB 3 card installed, but it works on Linux with freenect2 above). Well, hope I will have some functional hardware compatible with K4W2 soon. |
Hello |
I am looking the official repository of OpenNI2, it seems that a driver for Kinect2 already exists (see here). If it is compatible with same OpenNI2 interface than Kinect or XTion, rtabmap can almost support Kinect2 already. The only thing I see is that image width/height in CameraOpenNI2 is hard coded to 640x480. I'll check if I can automate it. |
The Kinect for XBOX 360 (model 1414) has the following formats (as shown by rtabmap when starting OpenNI2):
I'll check tomorrow at the lab for XTION Pro Live and Kinect for Windows (the first version). |
Thanks |
*team |
More info: Xtion Live Pro
Kinect for Windows (Model 1517)
I can do something to select the right depth/color mode automatically but it would be nice if I can see for Kinect v2 the information as above (I can't test it here). Can you try to start RTAB-Map from a command window, open Preferences and set debugging level to INFO, select OpenNI2 as the driver then start. It may fails on start but check if you can see information like the following in the command window:
thx |
our team hardly worked on your request but we just get this : |
we work on your 0.8.10 version |
we continue the test out of rtab and just by openni 2 viewer After initialization: Error - expect color and depth to be in same resolution: D: 512x424, C: 1920x108 i hop at least this can help .. |
Thx for the info,
Then the registration is done by the sensor. With the kaorun55's Kinect2 driver, can you get two images of the same size registered together? If no, rtabmap can do calibration/registration of the kinect2 but it requires to modify a little more the CameraOpenNI2 code, and do something like what I did with the libfreenect2 driver. With libfreenect2, you don't even need to do calibration, it provides a default registration. Well if the OpenNI2 driver cannot give registered color/depth images, you may want to give a try with libfreenect2 (Windows install here). |
tanks. |
RTAB-Map needs registration between the color and the depth image. libfreenect2 does this registration by default. I've tested RTAB-Map on Windows 8 with libfreenect2 and my Kinect v2 worked out-of-the-box (no need of the Windows Kinect SDK, which didn't detect the Kinect on my computer). However, getting all dependencies correctly installed is quite long (if we start only with Visual Studio: install OpenCV, build PCL and its dependencies, build libfreenect2 with its dependencies, then built RTAB-Map). I'll check next week if I can package the binaries so only libusbK step of libfreenect2 driver installation should be done. Oh thank you for looking for the design of the web page of the project. My email is my GitHub username + @gmail.com. cheers |
Just released new Windows binaries with libfreenect2 included. I didn't test on a fresh Windows 8 computer, but you would only need to install Kinect v2 with the libusbK driver. See here for instructions. |
Thanks my friend |
@matlabbe was Kinect2 working out of the box on windows ever verified? I initially got it setup running with ROS on linux, but was attempting to build a few maps from windows. I get the following error on windows 8.1 system.
|
I've found a computer with USB3 that I can safely format and do a fresh install of Windows 10. I updated the Installation errors section in Windows section of the Installation page. It seems that the current binaries don't work with latest version of usbDK. Version v1.00-12 should be installed to work (this is the version installed on my Windows development machine). If it doesn't work, what is the log info just before that error on the terminal? cheers, |
I've been able to confirm that the version @matlabbe listed above (v1.00-12) works with RTABMAP on Windows 10x64 version 0.12.4 and the kinect v2. Woot! |
Hi @matlabbe I am using ros ubuntu and kinect v2 to do mapping with rtabmap, the kinect v2 works fine, however when I try to do new mapping and odometry by writing in terminal $ rtabmap then, under the source menu I can't select "Kinect v2" -> "freeenect2" driver. It is dis-activated. I checked my catkin_ws/src I found that I have libfreenect2 but I don't know how can I get freenect2. Could you please tell me how to activate the options under the source menu? Thanks for your great help |
The standalone rtabmap version installed with ros doesn't have freenect2 available built-in. You can use the ros interface to use kinect v2, follow this tutorial (iai_kinect2 package should be installed). If you want the option enabled in the standalone, you should build rtabmap from source. See instructions here (make sure freenect2 is detected in cmake status). cheers |
I've got a Kinect One and will rtabmap work with this version? I've read that the resolution is much better than the Kinect 360
The text was updated successfully, but these errors were encountered: