Error with openni.launch groovy in Raspbian
Hi!
I'm trying to use Openni to use the Kinect in my Raspberry Pi, but I can't make it run.
I'm using the image from the installation tutorial, and installed the openni_launch package in my workspace using wstool.
I installed Openni as follow:
$ cd &myCatkinWs&
$ mkdir src
$ cd src
$ wstool init
$ wstool set openni_launch --git git://github.com/ros-drivers/openni_launch.git
$ wstool set openni_camera --git git://github.com/ros-drivers/openni_camera.git
$ sudo wstool update
$ cd ..
$ source devel/setup.bash
$ catkin_make
When I use the roslaunch openni_launch openni.launch, I get the next error msg:
[ERROR] [1364061846.229535130]: Failed to load nodelet [/camera/driver] of type [openni_camera/driver]: Could not find library corresponding to plugin openni_camera/driver. Make sure the plugin description XML file has the correct name of the library and that the library actually exists. [camera/driver-3] process has died [pid 3297, exit code 255, cmd /opt/ros/groovy/lib/nodelet/nodelet load openni_camera/driver /camera_nodelet_manager --no-bond ir:=ir rgb:=rgb depth:=depth depth_registered:=depth_registered projector:=projector __name:=driver __log:=/home/pi/.ros/log/db4f0fba-93e3-11e2-b03f-b827eb51381c/camera-driver-3.log].
The plugin description XML of the openni_camera is:
<!-- OpenNI driver nodelet publisher -->
<library path="lib/libopenni_nodelet">
<class name="openni_camera/driver" type="openni_camera::DriverNodelet" base_c$
<description>`
OpenNI camera driver nodelet.
</description>
</class>
</library>
The error says that it couldn't find a library, and the xml file calls a library path that I can't find.
so: what can I do? How can I find or make the missing path and files?
how did you install openni_launch? I've used sudo wstool init src -j1 https://github.com/ros-drivers/openni_launch.git
from a catkin workspace but I get the following error:
..Invalid multiproject yaml format in [https://github.com/ros-drivers/openni_launch.git]: mapping values are not allowed
I added the steps to the original post. I hope it helps.
Thanks. It helped me a lot indeed. I can launch openni_launch but get: "Failed to load nodelet [/camera/driver] of type [openni_camera/driver]: According to the loaded plugin descriptions the class openni_camera/driver with base class type nodelet::Nodelet ..."
Did you manage to fix the error you had @fsotosan?