ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Image transport issue in rviz groovy beta 1

asked 2012-12-10 03:31:23 -0600

Felipe Bacim gravatar image

updated 2012-12-16 03:43:48 -0600


I am having problems running rviz in ros groovy beta 1 (the one that comes with the groovy binaries when you do apt-get install ros-groovy-visualization). It says it is unable to subscribe to the left/right camera topic. I'm able to add the plugin in the UI, but when I try to change the topic to one of the cameras, this is what I get:

Error subscribing: Unable to load plugin for transport 'raw', error string: MultiLibraryClassLoader: Could not create class of type image_transport::RawSubscriber

I've tried this in a clean install of ubuntu 12.04 and it did not work. I've also downloaded fuerte and the visualization stack on the same machine and tested rviz, and it works fine.

Does anyone have any idea what could be causing this issue? I'm using the DRC sim and gazebo 1.3 with fuerte. Is it possible this is some sort of incompatibility issue between messages from fuerte and groovy?

I installed every groovy package available (apt-get install ros-groovy-*) just in case, so I'm not sure if I'm doing something wrong. There is a "fix" to this error that has been committed in github, but it's really just so it shows a msgbox with the error, so it doesn't really solve it.

Thanks, Felipe

edit retag flag offensive close merge delete


Just tested with Beta2, doesn't work there either (Spawning a PR2 in gazebo and trying to visualize images in rviz).

Stefan Kohlbrecher gravatar image Stefan Kohlbrecher  ( 2012-12-10 04:38:17 -0600 )edit

Could you tell me what version of ros-groovy-class-loader you have from .debs?

mirzashah gravatar image mirzashah  ( 2012-12-10 10:12:22 -0600 )edit

Just checked again, issue seems to be related to something in the ROS_PACKAGE_PATH that screws up the plugin finding. Investigating..

Stefan Kohlbrecher gravatar image Stefan Kohlbrecher  ( 2012-12-10 19:55:56 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2012-12-10 20:55:18 -0600

This error was related to having additional directories in the LD_LIBRARY_PATH, among them '/opt/ros/fuerte/lib', which is clearly is not optimal :) With a completely clean groovy install, transmitting images work (and with a proper workspace setup, transmitting images from a fuerte source to a groovy rviz also works).

edit flag offensive delete link more


>and with a proper workspace setup, transmitting images from a fuerte source to a groovy rviz also works How would you suggest properly setting up both these distros so that the library from Fuerte doesn't interfere?

Athoesen gravatar image Athoesen  ( 2014-01-20 13:00:23 -0600 )edit

Question Tools



Asked: 2012-12-10 03:31:23 -0600

Seen: 733 times

Last updated: Dec 10 '12