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

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

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

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 image drewm1980  ( 2015-08-18 08:22:20 -0600 )edit
1

Have you tried rqt_image_view?

Dirk Thomas gravatar image Dirk Thomas  ( 2015-08-18 10:49:28 -0600 )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 image drewm1980  ( 2015-09-10 08:41:52 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
3

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

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 image lucasw  ( 2015-11-21 06:27:11 -0600 )edit

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

Dirk Thomas gravatar image Dirk Thomas  ( 2016-04-12 16:00:05 -0600 )edit

Question Tools

1 follower

Stats

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

Seen: 2,874 times

Last updated: Sep 10 '15