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

How can i add and detect qrcode on my map?

asked 2014-01-27 02:33:31 -0500

programmer gravatar image

How can i detect and add qrcodes on my map with ros hector slam?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-01-27 05:06:27 -0500

hector_slam provides localization and mapping capabilities and does not perform detection and tracking of QR codes. These two tasks are performed mainly by the hector_qrcode_detection and hector_object_tracker packages. We have not released extensive documentation or tutorials for those, but launch files used on our Hector UGV robot for this video are available (here and here). See also the Hector Open Source Modules overview paper for some high level information on which components are responsible for which task.

edit flag offensive delete link more


How can i set input of drives (video0 or video1) for cameras using hector_qrcode_detection ?

programmer gravatar image programmer  ( 2014-02-26 00:50:09 -0500 )edit

You have to remap topics as done in the qrcode_detection.launch file linked above.

Stefan Kohlbrecher gravatar image Stefan Kohlbrecher  ( 2014-02-26 03:54:52 -0500 )edit

Thanks for your time dear Stefan, I want to detect Qr code by usb camera(/dev/video0), what i must to do?

programmer gravatar image programmer  ( 2014-03-02 00:41:56 -0500 )edit

You have to run a camera driver that provides images via ROS topics, basics are for example described here:

Stefan Kohlbrecher gravatar image Stefan Kohlbrecher  ( 2014-03-02 09:16:23 -0500 )edit

I have detected the QR codes with visp_auto_tracker in which the data in the QR code will be retrieved by using it.Now I want that data and coordinates to publish to mark a point in the map. What I have to modify in order to get the markers into the hector_geotiff_map. Thanks in advance.

rahul puram gravatar image rahul puram  ( 2020-01-21 06:12:13 -0500 )edit

@programmer have u remapped the topic /image or /image_raw to qrcode_detection.launch file in hector_qrcode_detection file??? If done, can u just share that code for us..... Thanks in advance

rahul puram gravatar image rahul puram  ( 2020-01-21 08:33:39 -0500 )edit

I have modified the code of hector_geotiff.cpp file by subscribing the qr code data and the coordinates of the detected qr code detected.Now I want to modify the geotiff_writer.cpp file in order to get the points on to the map. I dont have any idea what to do in that file.Can anyone please help me in this problem as I have to participate in German RoboCup 2020.Thanks in advance....

rahul puram gravatar image rahul puram  ( 2020-02-04 07:27:34 -0500 )edit

Yeah, I finally got my markers on to the map using hector_slam. I can actually show the map but my points are less in order to upload an image. Thanks!!

rahul puram gravatar image rahul puram  ( 2020-03-21 06:58:48 -0500 )edit

Question Tools

1 follower


Asked: 2014-01-27 02:33:31 -0500

Seen: 700 times

Last updated: Jan 27 '14