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

OpenNI 2 and Groovy [closed]

asked 2013-10-07 23:11:43 -0600

CarolineQ gravatar image

Hi !

I am currently using ROS Groovy with my robot. I was using OpenNI and NITE 1.5 but I had some bugs so I would like to change to OpenNI 2.

I found the drivers openni2_camera on Groovy. But I was also using openni_tracker with Groovy, and the new version openni2_tracker is only available for Hydro. Does someone know what I can do ? Is the Hydro version compatible with Groovy ?

Same thing for using the Kinect, I saw that openni2_camera is not working for Kinect, so I will try with freenect_stack, but will openni2_tracker work with Kinect and freenect_stack ?

Thanks for information,


edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by CarolineQ
close date 2013-10-09 03:06:13

1 Answer

Sort by ยป oldest newest most voted

answered 2013-10-08 06:36:26 -0600

I was able to successfully get openni2_camera and openni2_tracker compiled and working for both Groovy and Fuerte. But when I actually tried to run the tracker, I kept getting errors. Looking at the source code for the tracker, it became clear that the port to OpenNI2 wasn't quite complete yet. Since I last tried it, there have been a few commits, but it still doesn't quite look done (to me). I'm sure they wouldn't mind a pull request if you had time to help finish it off.

edit flag offensive delete link more



Thanks for the answer. When I try to compile openni2_tracker, it's looking for an include file nite.h and I get an error message. So I tried to download Nite 2.0 and install it but it doesn't change anything. Do you know what I need to get this include file ?

CarolineQ gravatar image CarolineQ  ( 2013-10-08 21:36:49 -0600 )edit

Ok I just found the solution to get it compile. I just needed to take the environment variable created by Nite and export them. I will test the tracker and say if it's working or not. Thanks again.

CarolineQ gravatar image CarolineQ  ( 2013-10-08 22:11:28 -0600 )edit

I managed to test the user_tracker and it works. At the beginning I had problems because I was not in the right directory. To make it run I needed to be in the 'Redist' directory of Nite2.0 and also you don't need to run openni2.launch as I was used to do with last version of openni. Hope this can help you.

CarolineQ gravatar image CarolineQ  ( 2013-10-08 23:58:11 -0600 )edit

Those are basically the same steps I had to take to get things running on my computer as well. Sorry for not posting a more complete solution! I haven't tried running running the tracker in a few weeks, maybe it's time to try again. Cheers!

jarvisschultz gravatar image jarvisschultz  ( 2013-10-09 03:05:08 -0600 )edit

Question Tools

1 follower


Asked: 2013-10-07 23:11:43 -0600

Seen: 583 times

Last updated: Oct 08 '13