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


asked 2014-04-23 01:24:10 -0600

Kirill_Sokolov gravatar image

updated 2014-04-26 06:04:10 -0600

I can't to start work with hector_qrcode_detection. I edited this launch file I only change this sector

<remap from="openni/image"             to="/image_raw" />
<remap from="openni/image_percept"     to="worldmodel/image_percept" />
<remap from="openni/image/qrcode"      to="image/qrcode" />
<remap from="openni/image/camera_info" to="/camera_info" />

Because I use uvc_camera for testing, but I going to use this package with kinect. So when I start this launch file, I didn't see that any topic supsribes to image_raw. Where is problem? What I'm doing wrong?

rostopic info /image_raw

Type: sensor_msgs/Image

 * /uvc_camera (http://turtle-comp:34051/)

Subscribers: None

rostopic list | grep image


rosnode list


rosnode info /qrcode_detection_kinect

Node [/qrcode_detection_]
Publications: None

Subscriptions: None

Services: None
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-04-23 22:07:19 -0600

Normally, camera nodes publish their topics (image_raw, camera_info etc.) to a sub namespace (/camera/image_raw, /camera/camera_info etc.) as opposed directly to the root namespace. Note also that the example launch file uses nodelets, and loads the qr detection nodelets into already pre-existing camera nodelet managers. It would help if you can edit your original question and post the output of the following commands:

rostopic info /image_raw

 rostopic list | grep image
edit flag offensive delete link more


I edited question with outputs. I hope it helps. Honestly I don't know a lot about nodelets, but I'll of course read about it.

Kirill_Sokolov gravatar image Kirill_Sokolov  ( 2014-04-23 23:52:03 -0600 )edit

Ok, looks like the qr code detection node might not be running. What's the output of "rosnode list"?

Stefan Kohlbrecher gravatar image Stefan Kohlbrecher  ( 2014-04-24 23:17:43 -0600 )edit

I added output rosnode list and output rosnode info /qrcode_detection_kinect. But how we can see the node is runnig, but it doesn't have any subscribers or publisher.

Kirill_Sokolov gravatar image Kirill_Sokolov  ( 2014-04-26 06:07:31 -0600 )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


Asked: 2014-04-23 01:24:10 -0600

Seen: 198 times

Last updated: Apr 26 '14