Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ROS2] image_transport: theora error #113

Open
Myzhar opened this issue Jan 21, 2019 · 3 comments
Open

[ROS2] image_transport: theora error #113

Myzhar opened this issue Jan 21, 2019 · 3 comments

Comments

@Myzhar
Copy link

Myzhar commented Jan 21, 2019

Using image_transport::CameraPublisher I get this error for each publisher I create:

Failed to load plugin image_transport/theora_pub, error string: Could not find library corresponding to plugin image_transport/theora_pub. Make sure the plugin description XML file has the correct name of the library and that the library actually exists.

The error comes with this warning associated to pluginlib.ClassLoader:

given plugin name 'lib/theora_image_transport' should be '/theora_image_transport' for better portability

@klintan
Copy link
Contributor

klintan commented Jan 21, 2019

Might be obvious suggestions however; have you downloaded and symlinked image_transport_plugins? if you need "theora" support? https://github.com/ros-perception/image_transport_plugins/tree/ros2

I used the image_transport ros2 branch successfully in this project https://github.com/klintan/ros2-usb-camera , creating publishers using the image_transport. Had to download the transport plugins for the image_transport "republish" -command to work though, but not for the camera-package (which just publishes regular sensor-images messages.

@Myzhar
Copy link
Author

Myzhar commented Jan 21, 2019

I installed image_transport from binaries using apt, so I think that the package is correct.

I checked and the theory library is installed.

What is weird is the kind of error, it seems that the library plugin is wrongly described in the XML

@kervel
Copy link

kervel commented Jun 7, 2019

i have the same error. when i do a trace i see that it looks for a libtheora_image_transport.so which is not found. however, on my system, there is a libtheora_image_transport_component.so .

i changed the theora_plugins.xml so that the first line now reads
<library path="theora_image_transport_component">

and the error is gone here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants