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

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

Folks,

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
0

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

Question Tools

2 followers

Stats

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

Seen: 855 times

Last updated: Dec 12 '16