Walter Lucetti has step by step instructions on how to install OpenNI2 on the Jetson: http://myzharbot.robot-home.it/blog/software/configuration-nvidia-jetson-tk1/asus-xtion-pro-live-openni2-compilation-install-instructions/.
These instructions are derived from this Jetsonhacks post: Building OpenNI2 for the Structure Sensor from several months back.
Thank you for instructions.
I installed the OpenNI2 on Jetson TK1 and also on ODROID-C1. I can grab frames from Xtion pro live but I can not grab IR and depth frame simultaneously. My program can grab either IR or Depth frame not both at the same time. Why is that? I have written the application in C++ with OpenCV.
Does NiViewer work on your setup? I believe that it grabs the depth and IR streams at the same time. Unfortunately I don’t have a Xtion Pro, so I’m not sure that other than guessing I’m much help to you.
Thank you for your reply. I solved the problem. Now it is working I can get both at the same time.
Great to hear!
I compiled all of the drivers but when I run the simple read example it says that the camera is in Safe Mode. I also tried the openni2_launch in ROS and it said the same thing that the camera was in Safe Mode. Do you know what the issue could be?
Sorry, I don’t know what that error indicates.