use kinect and zbar_ros to identify QRcodes [closed]

asked 2015-05-21 10:47:37 -0500

wsAndy gravatar image

Hello everyone,

I want to use kinect and zbar_ros to identify QRcodes .

In my launch file .

> <node pkg="nodelet" type="nodelet" name="openni_manager" output="screen" respawn="true" args="manager"/> <node pkg="nodelet" type="nodelet" name="openni_launch" args="load openni_camera/OpenNINodelet openni_manager" respawn="true">

<param name="rgb_frame_id" value="camera_rgb_optical_frame" />
<param name="depth_frame_id" value="camera_depth_optical_frame" />
<param name="depth_registration" value="true" />
<param name="image_mode" value="2" />
<param name="depth_mode" value="2" />
<param name="debayering" value="2" />
<param name="depth_time_offset" value="-0.055" />
<param name="image_time_offset" value="0" />
<rosparam command="load" />

</node> <include file="$(find openni_launch)/launch/kinect_frames.launch"/>

<node pkg="zbar_ros" type="barcode_reader_node" name="barcode_reader">
    <param name="throttle_repeated_barcodes" type="double" value="2.0"/>

</launch> `

but when I roslaunch zbar_ros example.launch

some error occur.

terminate called after throwing an instance of 'std::logic_error' what(): basic_string::_S_construct null not valid [openni_manager-2] process has died [pid 4840, exit code -6, cmd /opt/ros/indigo/lib/nodelet/nodelet manager __name:=openni_manager __log:=/home/exbot/.ros/log/fe13ce48-ffcd-11e4-a942-485ab6072ea3/openni_manager-2.log]. log file: /home/exbot/.ros/log/fe13ce48-ffcd-11e4-a942-485ab6072ea3/openni_manager-2*.log

what(): basic_string::_S_construct null not valid REQUIRED process [kinect_frames_deprecated-4] has died! process has finished cleanly log file: /home/exbot/.ros/log/fe13ce48-ffcd-11e4-a942-485ab6072ea3/kinect_frames_deprecated-4*.log Initiating shutdown!

So , could you help me ? Thanks first!

edit retag flag offensive reopen merge delete

Closed for the following reason too subjective or argumentative by wsAndy
close date 2015-05-29 07:18:57.726942