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

Republishing CompressedDepth image to Raw image

asked 2018-04-12 17:24:28 -0500

R gravatar image

updated 2018-04-13 03:48:26 -0500

gvdhoorn gravatar image

I am using the following command to republish compressed depth images to raw message topics:

rosrun image_transport republish compressedDepth in:=/camera/depth/image_raw/ raw out:=/camera/depth/image_raw

However, the above command throws the following error at runtime:

terminate called after throwing an instance of 'std::runtime_error'
  what():  Unknown encoding png
[1]    1475 abort (core dumped)  rosrun image_transport republish compressedDepth  raw
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-04-08 07:39:04 -0500

Irikefe gravatar image

Hi, try changing your image_transport from 'raw'

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2018-04-12 17:24:28 -0500

Seen: 1,916 times

Last updated: Apr 13 '18