Ask Your Question
1

Openni or Freenect?

asked 2016-04-04 06:20:05 -0600

thepirate16 gravatar image

Hi guys,

I'm quite new in ROS and I would like to know a general opinion about which one would you use, or which are you using nowadays and why. I would like to use a KINECT to do a SLAM and try to subscribe to topics related with the measured depth.

Thanks everyone.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-04-04 13:13:08 -0600

fabian77 gravatar image

I will quote an answer which I found on Stackoverflow belonging to that question i found as i stood before that decision myself:

Libfreenect is mainly a driver which exposes the Kinect device's features: - depth stream - IR stream - color(RGB) stream - motor control - LED control - accelerometer

If does not provide any advanced processing features like scene segmentation, skeleton tracking, etc.

On the other hand, OpenNI allows generic access to Kinect's feature (mainly the image streams), but also provides rich processing features such as: - scene segmentation - skeleton tracking - hand detection and tracking - gesture recognition - user interface elements etc. but no low level controls to device features like motor/LED/accelerometer.

As opposed to libfreenect which AFAIK works only with the Kinect sensor, OpenNI works with Kinect but with other sensors as well like Asus Xtion Pro, Carmine, etc.

I am using freenect at the moment with success and haven't tried out out OpenNi so long. You can find some info on my projects website here (in german) and see what i have done so long with my kinect and ROS. Project is still under development.

On point i struggle at the moment is, that the ros-freenect-stack is just supported until ROS-Indigo and i want to update to Jade or Kinectic soon, if someone could help out here please contact me!

Fabian

edit flag offensive delete link more

Comments

Xtion is openni2 only. Taking a short look at your document you mainly seem to use the kinect for depthimage_to_laserscan, there shouldn't be any problem for you in using openni(2) instead.

Humpelstilzchen gravatar imageHumpelstilzchen ( 2016-04-04 13:43:20 -0600 )edit

I will have a look at OpenNi too, do you have a clue if both drivers work in parallel? In my opinion installing freenect on ubuntu is better documented or easier then OpenNi, or i haven't researched that well enough. Must have a look, cause openni_camera and openni_launch seems better supported

fabian77 gravatar imagefabian77 ( 2016-04-04 15:44:41 -0600 )edit
1

I never used freenect, but installing both on the same computer should be no problem. Using both at the same time of course not, openni1 & 2 are packaged, so it should just be a matter of

apt-get install libopenni-dev (or libopenni2-dev)
Humpelstilzchen gravatar imageHumpelstilzchen ( 2016-04-05 00:00:40 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2016-04-04 06:20:05 -0600

Seen: 2,365 times

Last updated: Apr 04 '16