Installation problem with kinect openni_launch
I wanted to set up the kinect with ROS. I am running ROS-electric. I installed opennikinect using sudo apt-get install ros-electric-openni-kinect. I then ran roslaunch opennilaunch openni.launch to see if it would launch. Now when I run this command it returns some error message.
process[camera_base_link3-22]: started with pid [5491]
ERROR [1330523120.680101862]: Failed to load nodelet [/camera/driver] of type [openni_camera/driver]: Failed to load library /home/janina/openni_kinect/openni_kinect/openni_camera/lib/libopenni_nodelet.so. Make sure that you are calling the PLUGINLIB_REGISTER_CLASS macro in the library code, and that names are consistent between this macro and your XML. Error string: Cannot load library: /home/janina/openni_kinect/openni_kinect/openni_camera/lib/libopenni_nodelet.so: cannot open shared object file: No such file or directory
WARN [1330523120.680775747]: Publisher on '/camera_nodelet_manager/bond' destroyed immediately after creation. Did you forget to store the handle?
WARN [1330523120.680923352]: WallTimer destroyed immediately after creation. Did you forget to store the handle?
WARN [1330523120.681183139]: WallTimer destroyed immediately after creation. Did you forget to store the handle?
ERROR [1330523121.650408609]: Tried to advertise a service that is already advertised in this node [/camera/depth_registered/image_rect_raw/compressed/set_parameters]
ERROR [1330523121.669420544]: Tried to advertise a service that is already advertised in this node [/camera/depth_registered/image_rect_raw/theora/set_parameters
What can I do?
Asked by Janina on 2012-02-29 02:48:37 UTC
Answers
It has been installed all new, so the package is not in my home directory, but I also get an error message:
process[camera_base_link2-21]: started with pid [7477] process[camera_base_link3-22]: started with pid [7481] ERROR [1330681362.470779314]: Failed to load nodelet [/camera/driver] of type [openni_camera/driver]: Failed to load library /opt/ros/electric/stacks/openni_kinect/openni_camera/lib/libopenni_nodelet.so. Make sure that you are calling the PLUGINLIB_REGISTER_CLASS macro in the library code, and that names are consistent between this macro and your XML. Error string: Cannot load library: libOpenNI.so: cannot open shared object file: No such file or directory [FATAL] [1330681362.471494569]: Service call failed! [camera/driver-3] process has died [pid 7309, exit code 255]. log files: /home/janina/.ros/log/0c0c9bea-644c-11e1-bcc7-bc7737b9bc48/camera-driver-3*.log
Asked by Janina on 2012-03-01 23:00:43 UTC
Comments
Hi I get the same error with Ubuntu 120.4 LTS and Groovy. Has anyone solved this prob ? Thanks
Asked by ap on 2013-02-04 02:44:05 UTC
Comments
It seems odd that apt-get would place the package in your home directory, are you sure that you haven't downloaded openni_kinect previously?
Asked by SL Remy on 2012-02-29 03:24:44 UTC
Please post what your environment is and how you have created it.
Asked by tfoote on 2012-03-02 06:04:04 UTC