How to subscribe to image_transport topic in RViz?

asked 2017-06-15 14:47:23 -0600

Is it not possible for RViz to subscribe to compressed image topics? I'm using the raspicam_node to publish a compressed image stream from a camera on a raspberry pi:

https://github.com/fpasteau/raspicam_...

I can display in RViz fine if I republish the topic locally on my desktop, but it would be nice to have RViz subscribe directly. Is that possible?

edit retag flag offensive close merge delete

Comments

You may be able to make rviz subscribe to the compressed image by changing the Transport Hint property of the Image View or Camera View.

ahendrix gravatar imageahendrix ( 2017-06-16 00:29:18 -0600 )edit

I also thought that, but the only hint listed is 'raw'; I can't change it to something else.

Jeffrey Kane Johnson gravatar imageJeffrey Kane Johnson ( 2017-06-16 19:28:00 -0600 )edit

Typing compressed in the Transport Hint might work.

ahendrix gravatar imageahendrix ( 2017-06-16 23:59:45 -0600 )edit

Would be nice, but it's only a dropdown box; can't type anything in it.

Jeffrey Kane Johnson gravatar imageJeffrey Kane Johnson ( 2017-06-18 00:59:47 -0600 )edit