将xtion2材料SDK/Linux路径下那压缩包,
进入ASUS/Xtion2/lib,将里面那个rules拷贝到系统目录的/etc/udev/rules.d目录下
如果要尝试有没有成功就运行内置linux里面的samples 自己装的openni的sample不能运行
ros的话 只要装 ros-indigo-openni2-camera
和ros-indigo-openni2-launch
sudo apt-get install libopenni2-dev libopenni2-0
ros-kinect-openni2_launch
ros-kinect-openni2_camera
$ cd /home/myname/xtion2/ASUS-Linux-x64-OpenNI2.2/ $ sudo ./install.sh $ sudo cp Redist/ASUS/Xtion2/lib/libSenDuck.so /usr/lib/OpenNI2/Drivers/ 只要找到光盘内的。so文件复制就可以了 参考网站:https://answers.ros.org/question/269961/openni2_launch-asus-xtion-2-no-devices-connected/