报错:
需要用rqt_image_view查看compressed格式图片话题时,弹出如下报错:
Unable to load plugin for transport 'compressed', error string:
According to the loaded plugin descriptions the class image_transport/compressed_sub with base class type image_transport::SubscriberPlugin does not exist. Declared types are image_transport/raw_sub
解决方案:
安装
sudo apt-get install ros-melodic-image-transport-plugins
其中melodic对应ros的版本
并重新启动 rqt_imager_view