ros-drivers / openni_camera

A ROS driver for OpenNI depth (+ RGB) cameras.
49 stars 60 forks source link

Error with Kinect using standalone OpenNI only after installing openni_launch for ROS too #61

Open 130s opened 6 years ago

130s commented 6 years ago

Issue by lynncodd Thursday Nov 07, 2013 at 18:06 GMT _Originally opened as https://github.com/ros-drivers/openni_launch/issues/12_


32 bit Ubuntu 12.04 LTS

Installed OpenNI v1.5.4.0 Installed NITE v1.5.2.21 Installed Sensor Kinect v5.1.2.1

Once done, I was able to run NiViewer just fine. I was also able to run other utilities that use the standalone OpenNI.

Because I also wanted to run some ROS groovy packages, I installed ros-groovy-openni-launch. When I go back to run ./NiViewer using the standalone OpenNI, I get the following error:

Open failed: Device Protocol: Bad Parameter sent! Press any key to continue . . .

Even if I remove ros-groovy-openni-launch, ./NiViewer still no longer works. What did installing that package do that is causing the standalone OpenNI or my Kinect Sensor to not be recognized?

130s commented 6 years ago

Comment by piyushk Thursday Nov 14, 2013 at 21:34 GMT


@lynncodd I have never tested the Kinect driver with a 32 bit system, so I cannot comment if the groovy driver ever worked correctly on it or if my answer below is correct.

There were problems with the earlier versions of openni-dev and nite-dev. The ROS repos now contained updated packages libopenni-dev and libopenni-sensor-primesense-dev which were pulled in when you installed ros-groovy-openni-launch. Furthermore these packages would have remove your previous openni packages. It may be possible that these packages do not work on a 32 bit system.

Try removing these packages from your system and reinstall the original OpenNI drivers that worked for you.