ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

image_transport republish One Time Use

asked 2016-12-12 17:35:15 -0500

Pototo gravatar image

updated 2016-12-12 17:36:10 -0500


I have several rosbags, 8 seconds long each, which only contain compressed depth images. Since rospy does not support compressedDepth (as far as I know) I am using

rosrun image_transport republish

to go from compressedDepth to raw. But I noticed that only the first rosbag's image gets republished, but not any rosbag after that, unless I re-run the image transport code above after each rosbag finishes playing...kind of a lame behavior in my opinion. Is there an option to tell republish to continue republishing?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2016-12-12 18:15:13 -0500

Pototo gravatar image

Never mind. I added image_transport to my lunch file instead of doing rosrun, and now it works...still weird that it does not continuously tries to resubscribe after the original publishers stops publishing, though.

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



Asked: 2016-12-12 17:35:15 -0500

Seen: 741 times

Last updated: Dec 12 '16