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

Revision history [back]

click to hide/show revision 1
initial version

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

Update 2023/06/28: Years passed I ran into a very similar error that was hard to debug moveit2_tutorials!700.

I think in my case because moveit was configured to activate sensor_plugin: occupancy_map_monitor/DepthImageOctomapUpdater (in sensors_3d.yaml) but there was no topics being published that matches the type the plug-in in question can subscribe. I'm not sure. I just resolved this issue by disabling non-pointcloud sensor in my sensors_3d.yaml.


Original post:

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

Update 2023/06/28: Years passed I ran into a very similar error that was hard to debug moveit2_tutorials!700.

[move_group-5] [ERROR] [1687966130.962836492] [move_group]: Failed to load plugin image_transport/raw_pub, error string: could not create publisher: create_publisher() called for existing topic name rt/kinect/filtered_cloud with incompatible type sensor_msgs::msg::dds_::Image_, at ./src/publisher.cpp:145, at ./src/rcl/publisher.c:116                             
[move_group-5]                           
[move_group-5] terminate called after throwing an instance of 'image_transport::Exception'
[move_group-5]   what():  No plugins found! Does `rospack plugins --attrib=plugin image_transport` find any packages?
[move_group-5] Stack trace (most recent call last):

I think in my case because moveit was configured to activate sensor_plugin: occupancy_map_monitor/DepthImageOctomapUpdater (in sensors_3d.yaml) but there was no topics being published that matches the type the plug-in in question can subscribe. I'm not sure. I just resolved this issue by disabling non-pointcloud sensor in my sensors_3d.yaml.


Original post:

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