ros-drivers / openni_tracker

24 stars 45 forks source link

Find user generator failed: This operation is invalid! #5

Closed pirobot closed 10 years ago

pirobot commented 10 years ago

I am using the latest ROS Hydro Debian installation under Ubuntu 12.04 64-bit and a Microsoft Kinect camera. When I try to run the openni_tracker node I get the following error:

$ rosrun openni_tracker openni_tracker

[ERROR] [1387635816.474418567]: Find user generator failed: This operation is invalid!

My Kinect works fine otherwise. For example, when used with openni_launch/openni_launch I get RGB and depth images OK.

bit-pirate commented 10 years ago

I just tested the tracker with a xtion pro live - no issues here. I'm also running Ubuntu 12.04 64-bit.

Your issue has been raised and discussed on ROS Answers before, e.g. here. Have you tried the solutions posted there?

One common problem is a zombie "XnServer", which sometimes remains after shutting down the tracker. Killing it and restarting the tracker solves many issues.

pirobot commented 10 years ago

Thanks for the pointer to ROS Answers. Yes, that worked for me and here is my summary of how I implemented the fix:

  1. Download the NiTE v1.5.2.23 binary package from one of the following links depending on whether you are using a 32-bit or 64-bit installation of Ubuntu:

    a. 32-bit: http://www.openni.org/wp-content/uploads/2013/10/NITE-Bin-Linux-x86-v1.5.2.23.tar.zip b. 64-bit: http://www.openni.org/wp-content/uploads/2013/10/NITE-Bin-Linux-x64-v1.5.2.23.tar.zip

  2. Unzip and extract the archive to a location of your choice (e.g. ~/tmp)
  3. The unzipped archive is actually another archive in bz2 format so unzip and extract the archive to the same location as in Step 2.
  4. The resulting folder should be called NITE-Bin-Dev-Linux-x64-v1.5.2.23 (64-bit) or NITE-Bin-Linux-x86-v1.5.2.23 (32-bit)/ Move into this folder and then run the uninstall.sh script followed by the install.sh scripts. For the 64-bit version this would look like the following:

    $ cd ~/tmp/NITE-Bin-Dev-Linux-x64-v1.5.2.23 $ sudo ./uninstall.sh $ sudo ./install.sh

rojas70 commented 9 years ago

This fix still does not work for me.

bit-pirate commented 9 years ago

If you want to have a chance of a useful reply, you should provide more details on what is not working for you and what solutions you have tried.