ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

OpenNI 2.0

asked 2013-03-03 23:32:27 -0600

damonkohler gravatar image

Is anyone working on upgrading to OpenNI 2.0?

edit retag flag offensive close merge delete


Hey! I'd like to update this question, as I'm also interested if working with Openni 2.0 and ROS will be soon possible?

da-na gravatar image da-na  ( 2013-04-08 07:20:36 -0600 )edit

I'm also interested on this

fsotosan gravatar image fsotosan  ( 2013-05-21 05:22:53 -0600 )edit

4 Answers

Sort by ยป oldest newest most voted

answered 2013-09-20 19:20:00 -0600

fergs gravatar image

Under hydro, you can use the following:

  • openni2_camera and openni2_launch drivers support Primesense/Asus devices.
  • freenect_stack drivers support Kinect

Both packages end up using rgbd_launch for shared functionality (such as loading image_proc and depth_proc nodelets), so it is somewhat easier to switch between the two drivers as they support similar parameters and topic names.

edit flag offensive delete link more

answered 2013-09-15 19:57:38 -0600

bit-pirate gravatar image

openni2_camera and openni2_launch have been released. Currently they are only available on the shadow-fixed repository. The next sync should make them available on the public repo as well.

edit flag offensive delete link more

answered 2013-09-15 22:47:10 -0600

Hi Everybody, as this is "the thread" for OpenNI 2, I would like to let you know of a procedure to make it work with Ubuntu and kinects. Here is the procedure :

1) Install Ubuntu 12.10 (the version 13.04 doesn't work with kinects)

2) sudo apt-get install freenect

3) Download and install OpenNI 2.2 :

cd OpenNI-2.2/
sudo ./install.h

4) Download and install NITE 2.2 :

cd Nite-2.2/
sudo ./install.h

5) Download Driver FreenectDriver

<a href=""></a>

6) Build driver

./waf configure build

7) Copy .so files (build/ ), and paste it in :


Have a good day everybody !

edit flag offensive delete link more


Did the driver and launchers in the ROS freenect stack ( not work for you?

bit-pirate gravatar image bit-pirate  ( 2013-09-15 22:51:04 -0600 )edit

Good question. in fact, we didn't try/search, as OpenNI 2 was not (yet) supported in ROS, we tried to see if it was possible to have OpenNI 2.2 working with kinect and Ubuntu, without ROS. But it's good to see some packages exist !

Stephane.M gravatar image Stephane.M  ( 2013-09-15 22:54:34 -0600 )edit

answered 2013-03-03 23:58:51 -0600

Hansg91 gravatar image

Is there a Kinect driver available for OpenNI2 which works under Ubuntu? As far as I had read from their forums they only support the Kinect under Windows with the official SDK. Perhaps some third party driver is available, I'm not sure, but without this it seems less useful.

On a side note, I am using OpenNI2 at the moment with an Xtion on OSX (and is also tested on Ubuntu) and it is working fine. I am using my own code to publish the data, it is not much different from OpenNI 1.0, the API is a lot better though in my opinion.

edit flag offensive delete link more

Question Tools



Asked: 2013-03-03 23:32:27 -0600

Seen: 2,556 times

Last updated: Sep 20 '13