Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

detect qrcode with zbar_ros

I could use zbar_ros with a webcamera to detect QRcode successfully. But when I change the camera ,and add <remap from="device" to="/dev/video1"/>.

I can't start zbar_ros successfully.

The detail indormation is here.

 exbot@ubuntu:~/zbar_ros$ roslaunch zbar_ros example.launch 
... logging to /home/exbot/.ros/log/693c9cd0-fbab-11e4-b783-485ab6072ea3/roslaunch-ubuntu-9697.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://ubuntu:45860/

SUMMARY
========

PARAMETERS
 * /barcode_reader/throttle_repeated_barcodes: 2.0
 * /rosdistro: indigo
 * /rosversion: 1.11.10
 * /uvc_camera/device: /dev/video1

NODES
  /
    barcode_reader (zbar_ros/barcode_reader_node)
    uvc_camera (nodelet/nodelet)
    zbar_manager (nodelet/nodelet)

auto-starting new master
process[master]: started with pid [9709]
ROS_MASTER_URI=http://localhost:11311

setting /run_id to 693c9cd0-fbab-11e4-b783-485ab6072ea3
process[rosout-1]: started with pid [9722]
started core service [/rosout]
process[zbar_manager-2]: started with pid [9739]
process[uvc_camera-3]: started with pid [9740]
process[barcode_reader-4]: started with pid [9775]
**[zbar_manager-2] process has died [pid 9739, exit code -11, cmd /opt/ros/indigo/lib/nodelet/nodelet manager __name:=zbar_manager __log:=/home/exbot/.ros/log/693c9cd0-fbab-11e4-b783-485ab6072ea3/zbar_manager-2.log].**
log file: /home/exbot/.ros/log/693c9cd0-fbab-11e4-b783-485ab6072ea3/zbar_manager-2*.log
[uvc_camera-3] process has finished cleanly
log file: /home/exbot/.ros/log/693c9cd0-fbab-11e4-b783-485ab6072ea3/uvc_camera-3*.log