Ask Your Question
3

kinect failed openni_launch

asked 2012-05-30 20:26:07 -0600

Brioche gravatar image

updated 2016-10-24 09:02:34 -0600

ngrennan gravatar image

Hello everyone, I'm using ubuntu 11.04 and ros electric. I'm trying to use my kinect to "play" with rviz with it, but when I run "roslaunch openni_launch openni.launch", I have a lot of errors:

[ERROR] [1338444270.129531457]: Failed to load nodelet [/camera/depth/metric_rect] of type [depth_image_proc/convert_metric]: Failed to load library /opt/ros/electric/stacks/openni_kinect/depth_image_proc/lib/libdepth_image_proc.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: /opt/ros/electric/stacks/perception_pcl/pcl/lib/libpcl_visualization.so.1.1: symbol __cxa_pure_virtual, version libmysqlclient_16 not defined in file libmysqlclient.so.16 with link time reference
[FATAL] [1338444270.129984353]: Service call failed!
[camera/depth/metric_rect-8] process has died [pid 13516, exit code 255].
log files: /home/ken/.ros/log/6cbc0d00-aae6-11e1-a5f0-001422ad9fc2/camera-depth-metric_rect-8*.log
[ERROR] [1338444270.508399698]: Failed to load nodelet [/camera/depth/metric] of type [depth_image_proc/convert_metric]: Failed to load library /opt/ros/electric/stacks/openni_kinect/depth_image_proc/lib/libdepth_image_proc.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: /opt/ros/electric/stacks/perception_pcl/pcl/lib/libpcl_visualization.so.1.1: symbol __cxa_pure_virtual, version libmysqlclient_16 not defined in file libmysqlclient.so.16 with link time reference
[FATAL] [1338444270.508836324]: Service call failed!
[camera/depth/metric-9] process has died [pid 13525, exit code 255].
log files: /home/ken/.ros/log/6cbc0d00-aae6-11e1-a5f0-001422ad9fc2/camera-depth-metric-9*.log
[ERROR] [1338444271.056389706]: Failed to load nodelet [/camera/depth/points] of type [depth_image_proc/point_cloud_xyz]: Failed to load library /opt/ros/electric/stacks/openni_kinect/depth_image_proc/lib/libdepth_image_proc.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: /opt/ros/electric/stacks/perception_pcl/pcl/lib/libpcl_visualization.so.1.1: symbol __cxa_pure_virtual, version libmysqlclient_16 not defined in file libmysqlclient.so.16 with link time reference
[FATAL] [1338444271.056824167]: Service call failed!
[camera/depth/points-10] process has died [pid 13532, exit code 255].
log files: /home/ken/.ros/log/6cbc0d00-aae6-11e1-a5f0-001422ad9fc2/camera-depth-points-10*.log
[ERROR] [1338444272.950893886]: 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: /opt/ros/electric/stacks/perception_pcl/pcl/lib/libpcl_visualization.so.1.1: symbol __cxa_pure_virtual, version libmysqlclient_16 not defined in file libmysqlclient.so.16 with link time reference
[FATAL] [1338444272.953776888]: Service call failed!
[ERROR] [1338444273.133584291]: Failed to load nodelet [/camera/register_depth_rgb] of type [depth_image_proc/register]: Failed to load library /opt/ros/electric/stacks/openni_kinect/depth_image_proc/lib/libdepth_image_proc.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 ...
(more)
edit retag flag offensive close merge delete

Comments

I had the same errors yesterday and now I fixed. I'm not a master, and I use fuerte and ubuntu 12.04 so I don't know if it works also for you, but I noticed that for me works only kinect for xbox, kinect for pc tell me no devices connected.

marco.puni gravatar imagemarco.puni ( 2012-05-30 22:27:17 -0600 )edit

then in my case I also see, don't know why, that works just once, then I have same errors more or less, and i have to restart ubuntu and works again.. try this, if not, somebody more expert than me maybe can help..

marco.puni gravatar imagemarco.puni ( 2012-05-30 22:29:17 -0600 )edit

I have just upgraded my ubuntu and now it works fine ( rviz is lagging but it works!!)

Brioche gravatar imageBrioche ( 2012-06-03 20:15:19 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted
0

answered 2012-05-30 22:36:07 -0600

karthik gravatar image

Hi, Try openni_camera

roslaunch openni_camera openni_node.launch

It works for me.

Thanks, Karthik

edit flag offensive delete link more
0

answered 2012-05-31 14:15:51 -0600

Brioche gravatar image

Thanks for your answers, I'm thinking to upgrade my ros and my ubuntu but my system and a lot of stuff develop on it are in ubuntu 11.04 and electric. When I tried to run openni_camera I have this error:

roslaunch openni_camera openni_node.launch 
... logging to /home/ken/.ros/log/29af6870-ab7e-11e1-94a3-001422ad9fc2/roslaunch-ken-2401.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://localhost:56676/

SUMMARY
========

PARAMETERS
 * /rosdistro
 * /openni_node1/use_indices
 * /openni_node1/depth_registration
 * /openni_node1/image_time_offset
 * /openni_node1/depth_frame_id
 * /openni_node1/depth_mode
 * /openni_node1/debayering
 * /rosversion
 * /openni_node1/projector_depth_baseline
 * /openni_node1/rgb_frame_id
 * /openni_node1/depth_rgb_translation
 * /openni_node1/depth_time_offset
 * /openni_node1/image_mode
 * /openni_node1/shift_offset
 * /openni_node1/device_id
 * /openni_node1/depth_rgb_rotation

NODES
  /
    openni_node1 (openni_camera/openni_node)
    kinect_base_link (tf/static_transform_publisher)
    kinect_base_link1 (tf/static_transform_publisher)
    kinect_base_link2 (tf/static_transform_publisher)
    kinect_base_link3 (tf/static_transform_publisher)

auto-starting new master
process[master]: started with pid [2415]
ROS_MASTER_URI=http://localhost:11311

setting /run_id to 29af6870-ab7e-11e1-94a3-001422ad9fc2
process[rosout-1]: started with pid [2428]
started core service [/rosout]
process[openni_node1-2]: started with pid [2435]
process[kinect_base_link-3]: started with pid [2437]
process[kinect_base_link1-4]: started with pid [2439]
process[kinect_base_link2-5]: started with pid [2443]
process[kinect_base_link3-6]: started with pid [2449]
/opt/ros/electric/stacks/openni_kinect/openni_camera/bin/openni_node: relocation error: /opt/ros/electric/stacks/perception_pcl/pcl/lib/libpcl_visualization.so.1.1: symbol __cxa_pure_virtual, version libmysqlclient_16 not defined in file libmysqlclient.so.16 with link time reference
[openni_node1-2] process has died [pid 2435, exit code 127].
log files: /home/ken/.ros/log/29af6870-ab7e-11e1-94a3-001422ad9fc2/openni_node1-2*.log

I really don't understand what's going on...

edit flag offensive delete link more

Comments

Have you sloved the problem? I have the same problem!

sven_007 gravatar imagesven_007 ( 2012-10-30 16:51:36 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2012-05-30 20:26:07 -0600

Seen: 3,328 times

Last updated: May 31 '12