Ask Your Question
2

simple way to view a depth image topic from command line?

asked 2015-08-18 07:46:58 -0500

drewm1980 gravatar image

image_view pukes when you try to view a depth image (typically 16 bit single channel):

$ rosrun image_view image_view image:=/hsrb/head_rgbd_sensor/depth_registered/image_raw all of the rqt stuff works, but it all seems to require you to launch a gui and use the mouse to mess around with widgets to view any given topic.

Is there something that ships with ROS that I can just run from the command line to view a depth image topic?

edit retag flag offensive close merge delete

Comments

Note, I can and did hack together my own crappy version of image_view, but there has to be a better way.

drewm1980 gravatar imagedrewm1980 ( 2015-08-18 08:22:20 -0500 )edit
1

Have you tried rqt_image_view?

Dirk Thomas gravatar imageDirk Thomas ( 2015-08-18 10:49:28 -0500 )edit
1

Hi Dirk, I haven't figured out how to launch rqt_image_view from the command line so that it just displays what I want; always have to use the mouse. I am caring less and less, though; I spend so much time debugging ros connections that it is better to use the mouse and leave rqt open. Thanks!

drewm1980 gravatar imagedrewm1980 ( 2015-09-10 08:41:52 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
3

answered 2015-09-10 16:23:48 -0500

Dirk Thomas gravatar image

The latest code of rqt_image_view allows passing a command line argument with the topic name ( https://github.com/ros-visualization/... ). This change has not been released yet but will likely be released in the next couple of weeks.

edit flag offensive delete link more

Comments

Should rqt_image_view /image_raw or similar work now? It doesn't for me in Ubuntu 14.04 Jade

lucasw gravatar imagelucasw ( 2015-11-21 06:27:11 -0500 )edit

A new release of this repo was done early March 2016: https://github.com/ros-visualization/...

Dirk Thomas gravatar imageDirk Thomas ( 2016-04-12 16:00:05 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2015-08-18 07:46:58 -0500

Seen: 1,133 times

Last updated: Sep 10 '15