Ask Your Question
2

Unable to load plugin for transport 'image_transport/compressed_sub'

asked 2017-09-14 05:54:28 -0500

cduguet gravatar image

updated 2018-06-05 23:52:51 -0500

jayess gravatar image

I am using Kinect on Ubuntu 16.04.

After executing

rosrun image_view extract_images image_transport/compressed_sub

I get

terminate called after throwing an instance of 'image_transport::TransportLoadException'
what():  Unable to load plugin for transport 'image_transport/compressed_sub', error string:
According to the loaded plugin descriptions the class image_transport/image_transport/compressed_sub_sub with base class type image_transport::SubscriberPlugin does not exist. Declared types are  image_transport/compressedDepth_sub image_transport/compressed_sub image_transport/raw_sub image_transport/theora_sub
Aborted (core dumped)

What surprises me is the name of the class, which seems to me a little redundant. image_transport/image_transport/compressed_sub_sub instead of image_transport/compressed_sub

Is this maybe be a bug?

EDIT: I do have compressed_image_transport installed

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted
0

answered 2021-04-16 09:46:32 -0500

Sidet gravatar image

Hey, for anyone having the same problem:

I just fixed it by renaming the topic i publish the CompressedImage on to 'XXX/XXX/compressed'

It seems like the overall structure as well as the '/compressed' at the end of the topic name is important.

Hope it helps someone.

edit flag offensive delete link more
0

answered 2019-11-15 15:08:35 -0500

Link gravatar image

I needed to install image_transport_plugins

The fix for ubuntu users:

apt install ros-${ROS_DISTRO}-image-transport-plugins
edit flag offensive delete link more
0

answered 2018-06-05 23:39:42 -0500

130s gravatar image

After executing rosrun image_view extract_images image_transport/compressed_sub

Where did you find that syntax? Looks like extract_images takes an argument with a name image. So you call something like:

rosrun image_view extract_images image:=image_transport/compressed_sub
edit flag offensive delete link more

Your Answer

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

Add Answer

Question Tools

1 follower

Stats

Asked: 2017-09-14 05:54:28 -0500

Seen: 2,813 times

Last updated: Apr 16