# Revision history [back]

The problem was that I installed the Primesense drivers for v1.5, but my OpenNI version was v2.2. I downloaded OpenNI v1.5 from here instead and it worked.

Alternatively, if you choose to use v2.2, then you should install the packages openni2_camera and openni2_launch instead (see here).

The problem was that I installed the Primesense drivers for v1.5, but my OpenNI version was v2.2. I downloaded OpenNI v1.5 from here instead and it worked.

EDIT: Also, there is an issue with the openni_camera package. You can leave the deb package installed, as long as your compiled sources have priority. Use echo $ROS_PACKAGE_PATH and see if your source directory is first. This is what I have: $ echo $ROS_PACKAGE_PATH /home/andrew/catkin_ws/src:/opt/ros/groovy/share:/opt/ros/groovy/stacks  Go to your sources directory, get the source code using git and use the rollback_usb branch. cd ~/catkin_ws/src git clone https://github.com/ros-drivers/openni_camera.git git checkout rollback_usb  Compile using catkin_make in the root of your catkin directory cd ~/catkin_ws catkin_make  You can read more about this issue here. Alternatively, if you choose to use v2.2, then you should install the packages openni2_camera and openni2_launch instead (see here). The problem was that I installed the Primesense drivers for v1.5, but my OpenNI version was v2.2. I downloaded OpenNI v1.5 from here instead and it worked. EDIT: Also, there is an issue with the openni_camera package. You can leave the deb package installed, as long as your compiled sources have priority. Use echo$ROS_PACKAGE_PATH and see if your source directory is first. This is what I have:

$echo$ROS_PACKAGE_PATH
/home/andrew/catkin_ws/src:/opt/ros/groovy/share:/opt/ros/groovy/stacks


Go to your sources directory, get the source code using git and use the rollback_usb branch.

cd ~/catkin_ws/src
git clone https://github.com/ros-drivers/openni_camera.git
git checkout rollback_usb


Compile using catkin_make in the root of your catkin directory

cd ~/catkin_ws
catkin_make


Finally, test it out with roslaunch openni_launch openni.launch.

Alternatively, if you choose to use v2.2, then you should install the packages openni2_camera and openni2_launch instead (see here).

The problem was that I installed the Primesense drivers for v1.5, but my OpenNI version was v2.2. I downloaded OpenNI v1.5 from here instead and it worked.

EDIT: Also, there is an issue with the openni_camera package. You can leave the deb package installed, as long as your compiled sources have priority. Use echo $ROS_PACKAGE_PATH and see if your source directory is first. This is what I have: $ echo $ROS_PACKAGE_PATH /home/andrew/catkin_ws/src:/opt/ros/groovy/share:/opt/ros/groovy/stacks  Go to your sources directory, get the source code using git and use the rollback_usb branch. cd ~/catkin_ws/src git clone https://github.com/ros-drivers/openni_camera.git git checkout rollback_usb  Compile using catkin_make in the root of your catkin directory cd ~/catkin_ws catkin_make  Finally, test it out with roslaunch openni_launch openni.launch. You can read more about this issue here. Primesense drivers can be downloaded from the OpenNI website. I'm using v5.1.2.1 from here (32-bit). 64-bit version is here. I think there are more recent versions over here if you like, but I haven't tried them. Alternatively, if you choose to use v2.2, then you should install the packages openni2_camera and openni2_launch instead (see here). The problem was that I installed the Primesense drivers for v1.5, but my OpenNI version was v2.2. I downloaded OpenNI v1.5 from here instead and it worked. EDIT: Also, there is an issue with the openni_camera package. You can leave the deb package installed, as long as your compiled sources have priority. Use echo$ROS_PACKAGE_PATH and see if your source directory is first. This is what I have:

$echo$ROS_PACKAGE_PATH
/home/andrew/catkin_ws/src:/opt/ros/groovy/share:/opt/ros/groovy/stacks


Go to your sources directory, get the source code using git and use the rollback_usb branch.

cd ~/catkin_ws/src
git clone https://github.com/ros-drivers/openni_camera.git
git checkout rollback_usb


Compile using catkin_make in the root of your catkin directory

cd ~/catkin_ws
catkin_make


Finally, test it out with roslaunch openni_launch openni.launch.

Primesense drivers can be downloaded from the OpenNI website. I'm using v5.1.2.1 from here (32-bit). 64-bit version is here. I think there are more recent versions over here if you like, but I haven't tried them.

Alternatively, if you choose to use v2.2, then you should install the packages openni2_camera and openni2_launch instead (see here).

 6 No.6 Revision 130s 10180 ●193 ●309 ●320 http://www.linkedin.co...

The problem was that I installed the Primesense drivers for v1.5, but my OpenNI version was v2.2. I downloaded OpenNI v1.5 from here instead and it worked.

EDIT: Also, there is an issue with the openni_camera package. You can leave the deb package installed, as long as your compiled sources have priority. Use echo $ROS_PACKAGE_PATH and see if your source directory is first. This is what I have: $ echo \$ROS_PACKAGE_PATH
/home/andrew/catkin_ws/src:/opt/ros/groovy/share:/opt/ros/groovy/stacks


Go to your sources directory, get the source code using git and use the rollback_usb branch.

cd ~/catkin_ws/src
git clone https://github.com/ros-drivers/openni_camera.git
git checkout rollback_usb


Compile using catkin_make in the root of your catkin directory

cd ~/catkin_ws
catkin_make


Finally, test it out with roslaunch openni_launch openni.launch.