-
Notifications
You must be signed in to change notification settings - Fork 45
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
Branch for ros indigo #9
Comments
Hi bit-pirate, are there any news on this ticket yet? Actually I am not able to test PR #8. I am quite new to ROS. Thanks in advance for your respone. |
Jochen, Cheers! On 9 January 2015 at 08:22, Jochen notifications@github.com wrote:
|
Hi Jochen, the hydro-devel branch of openni_tracker works fine with ROS Indigo. I am currently using it with NITE 1.5 manually installed. |
Thanks for your comment saihv! Can you add a short description or a link how to manually install NITE 1.5? Maybe we can add a description on ros-wiki, that all people are able to use openni_tracker with ros-indigo. |
Hi Jochen, http://www.openni.ru/openni-sdk/openni-sdk-history-2/index.html Go to this link and download NITE v1.5.2.23 for your architecture, x86 or 64. Once downloaded, all you need to do is extract it and run the install.sh file in the archive. Once that's done, try running rosrun openni_tracker openni_tracker and it should detect that NITE is installed and use the libraries. |
Hi guys, First we have to install some peripheral Libraries:
Now it is possible to download the OpenNI-Package
We're using the Redist-System for compiling the package:
Next step is the Installation of OpenNI:
_SesorKinect_
Compile Package with Redit:
And finally Installation:
_NITE_
Now that everything around ROS is installed, we should reboot the system:
_ROS-Components_
Next Step is the Installation of the ROS-Kinect-driver:
Finally we can install the openni_tracker to our usually workspace (for example the catkin_ws):
_Usage_
Terminal_2:
Terminal_3:
Now your system should be set up to be able to track a person under Indigo and to visualize the result. |
Great! Thanks. |
Hi Biersack,
Can you tell me how to solve it? Thanks in advance for your respone! |
Hi chamberger,
|
It works. Thanks a lot! |
Hi Biersack, My kinect is the kinect for windows v2. |
Hi chamberger, |
Hi Blersack, |
Hi chamberger, Before you try out this manual I want you to know that there is another package made by bit-pirate with the openni_tracker using openni2 and NITE2 (https://github.com/ros-drivers/openni2_tracker). Perhaps it would be a better sollution to work with the other package instead of the first openni_tracker. But if you want to try out this package, you could go this way: The new Version of the kinect works with a new driver called Libfreenect2. First of all we have to install this driver and all dependencies around. There are different versions available, but if you want to use OpenCL-acceleration you have to work with the version from this Manual. Otherwise you can use other versions like the official branch for example:
No we have to do some work with the binaries before we can compile and install the driver. Go to the dorectory libfreenect2/examples/protonect, where you can find aCMakeLists.txt. In this file replace lines 48 - 50 with: LibUSBGET_FILENAME_COMPONENT(LIBUSB_DIR "${MY_DIR}/../../depends/libusb/" REALPATH) Save the file and exit.
if you get an error-message that the library "libturbojpeg" was not found you have to link this one manually:
If you're using ubuntu 14.04 64bit with an NVidia graphics card there could appear another error that says: "No rule to make target `/usr/lib/x86_64-linux-gnu/libGL.so". This could be solved the following way:
Now you have to do one more replacement to get the example to work if you don't have OpenCL onboard. Open the libfreenect2.cpp whitch is locatet in folder libfreenect2/examples/protonect/src and change line 76, this is the initialization of the depth_package_processor, from
to
It is time to compile the binaries and install the driver. Do:
To prove that the installation was successful you can run the example:
If everything works correctly you should see three images, a RGB-Image, an IR-image and a Depth-image. iai_kinect2_toolkit
If you don't have OpenCL open the CMakeLists.txt (location: <catkin_ws>/src/iai_kinect2/kinect2_bridge/) and change the parameters in line 4 and 5 to "OFF". After that you have to do catkin_make one more time to apply the changes. Now go to /etc/udev/rules.d/ and do:
This new file should contain the following text: ATTR{product}=="Kinect2"SUBSYSTEM=="usb", ATTR{idVendor}=="045e", ATTR{idProduct}=="02c4", MODE="0666" You can find the idProduct of your kinect using the following command:
If it is not yet in the list add your ID and save the file. |
I tried this out with an ASUS Xtion with ROS Indigo, and it worked for me. However, I skipped downloading the Sensor package. Thanks a lot for the instructions @BastiAB |
hi there, i followed those instruction but still hv problem when i 'catkin_make' those with my program. it said that KinectController.cpp:1:22: fatal error: XnOpenNI.h: No such file or directory as u can see, my KinectController which include XnOpenNI.h and other files that available in OpenNI-package doesn't recognize by my sistem(?) i followed pi_tracker code by Patrick Goebel such as in this web do you know how to fix this? fyi, when i 'catkin_make my_package' it wasn't error either when 'catkin_make openni_tracker'. so i got confused when i 'catkin_make' for all the package. |
Thanks very very much @BastiAB |
Somebody know the extra step to work with Xtion sensor. This is working great with Kinect sensor but It doesn't recognize the xtion sensor. |
Any plan for making a release into Indigo, Kinetic (and possibly Lunar)? |
I am using Ubuntu 16.04 and ros kinectand I am getting the following ./Redistmaker while building the OpenNI package The following is the error:
Target: Linux-x64
Anyone please help |
@Dhagash4 I'm afraid you will get very limited help if you post on an existing thread that is barely related to your question. http://answers.ros.org is the recommended place for questions in general for ROS. |
@BastiAB Hello! When I run this step, I got some warning. like this: |
Hi, is it possible to use openni_tracker with ros indigo? Thanks in advance for your reply.
The text was updated successfully, but these errors were encountered: