sensor_msgs/CompressedImage to sensor_msgs/Image

asked 2022-09-23 09:19:03 -0500

aihustle gravatar image

updated 2022-09-23 12:20:10 -0500

ravijoshi gravatar image

I am using ROS 2 foxy and trying to convert the compressed image messages from my USBL PC camera to regular image messages. To do this, I am using image transport with the following command:

ros2 run image_transport republish compressed --ros-args -r in:=/topic/compressed_image -r out:=/target/image_repub

The target topic is created with the proper message type. However, when I echo the topic, I get no data. Any help would be great!

edit retag flag offensive close merge delete


this may help #q35183

ravijoshi gravatar image ravijoshi  ( 2022-09-23 12:20:28 -0500 )edit