kinect failed openni_launch
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 ...
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.
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..
I have just upgraded my ubuntu and now it works fine ( rviz is lagging but it works!!)