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

Not able to find rosbridge_server [closed]

asked 2015-10-20 23:08:49 -0500

hemant T gravatar image

updated 2015-10-21 02:33:36 -0500

gvdhoorn gravatar image

Hello, I am new to use zbar_ros package. I can use zbarcam independently and read QR code using this command zbarcam --raw /dev/video1.

I am on ros indigo and ubantu 14.04

Now I am trying to use zbar_ros to read QR code from by webcam at /dev/video1. My goal is to read the qr code and save in local file or database.

Here is the launch file, I am sure I am missing something here. Please advise.

sudo vi  /opt/ros/indigo/share/zbar_ros/launch/sample-roszbar.launch

<?xml version="1.0"?>
<launch>
<node pkg="nodelet" type="nodelet" name="zbar_manager" args="manager"/>
<!-- Example camera launch -->
<node pkg="nodelet" type="nodelet" name="uvc_camera" output="screen" args="load uvc_camera/CameraNodelet zbar_manager">

<param name="device" type="string"  value="/dev/video1"/>
</node>
<!--<node pkg="nodelet" type="nodelet" name="barcode_reader" args="load zbar_ros/barcode_reader_nodelet zbar_manager">-->
<!--<param name="throttle_repeated_barcodes" type="double" value="2.0"/>-->
<!--</node>-->
<node pkg="zbar_ros" type="barcode_reader_node" name="barcode_reader">
<param name="throttle_repeated_barcodes" type="double" value="2.0"/>
</node>
</launch>

Here is how I am launching it.

roslaunch zbar_ros  sample-roszbar.launch

Here is the error I get

started roslaunch server http://192.168.1.149:47556/

SUMMARY
========

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

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

ROS_MASTER_URI=http://localhost:11311

core service [/rosout] found
process[zbar_manager-1]: started with pid [5653]
process[uvc_camera-2]: started with pid [5654]
[ INFO] [1445397784.366668437]: Loading nodelet /uvc_camera of type uvc_camera/CameraNodelet to manager zbar_manager with the following remappings:
process[barcode_reader-3]: started with pid [5687]

[ERROR] [1445397784.416193993]: Failed to load nodelet [/uvc_camera] of type [uvc_camera/CameraNodelet] even after refreshing the cache: **According to the loaded plugin descriptions the class uvc_camera/CameraNodelet with base class type nodelet::Nodelet does not exist**. Declared types are  depth_image_proc/convert_metric depth_image_proc/disparity depth_image_proc/point_cloud_xyz depth_image_proc/point_cloud_xyz_radial depth_image_proc/point_cloud_xyzi depth_image_proc/point_cloud_xyzi_radial depth_image_proc/point_cloud_xyzrgb depth_image_proc/register image_proc/crop_decimate image_proc/debayer image_proc/rectify image_rotate/image_rotate image_view/disparity image_view/image nodelet_tutorial_math/Plus pcl/BAGReader pcl/BoundaryEstimation pcl/ConvexHull2D pcl/CropBox pcl/EuclideanClusterExtraction pcl/ExtractIndices pcl/ExtractPolygonalPrismData pcl/FPFHEstimation pcl/FPFHEstimationOMP pcl/MomentInvariantsEstimation pcl/MovingLeastSquares pcl/NodeletDEMUX pcl/NodeletMUX pcl/NormalEstimation pcl/NormalEstimationOMP pcl/NormalEstimationTBB pcl/PCDReader pcl/PCDWriter pcl/PFHEstimation pcl/PassThrough pcl/PointCloudConcatenateDataSynchronizer pcl/PointCloudConcatenateFieldsSynchronizer pcl/PrincipalCurvaturesEstimation pcl/ProjectInliers pcl/RadiusOutlierRemoval pcl/SACSegmentation pcl/SACSegmentationFromNormals pcl/SHOTEstimation pcl/SHOTEstimationOMP pcl/SegmentDifferences pcl/StatisticalOutlierRemoval pcl/VFHEstimation pcl/VoxelGrid pointcloud_to_laserscan/pointcloud_to_laserscan_nodelet stereo_image_proc/disparity stereo_image_proc/point_cloud2 zbar_ros/barcode_reader_nodelet
[ERROR] [1445397784.416298624]: The error before refreshing the cache was: According to the loaded plugin descriptions the class uvc_camera/CameraNodelet with base class type nodelet::Nodelet does not exist. Declared types are  depth_image_proc/convert_metric depth_image_proc/disparity depth_image_proc/point_cloud_xyz depth_image_proc/point_cloud_xyz_radial depth_image_proc/point_cloud_xyzi depth_image_proc/point_cloud_xyzi_radial depth_image_proc/point_cloud_xyzrgb depth_image_proc/register image_proc/crop_decimate image_proc/debayer image_proc/rectify image_rotate/image_rotate image_view/disparity image_view/image nodelet_tutorial_math/Plus pcl/BAGReader pcl/BoundaryEstimation pcl/ConvexHull2D pcl/CropBox pcl/EuclideanClusterExtraction pcl/ExtractIndices pcl/ExtractPolygonalPrismData pcl/FPFHEstimation pcl/FPFHEstimationOMP pcl/MomentInvariantsEstimation pcl/MovingLeastSquares pcl/NodeletDEMUX pcl/NodeletMUX pcl/NormalEstimation pcl/NormalEstimationOMP pcl/NormalEstimationTBB ...
(more)
edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2017-02-15 20:42:51.610155

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-01-10 20:31:41 -0500

crazymumu gravatar image

updated 2016-01-20 02:30:45 -0500

Please show the package.xml and your_nodelet.xml file in your package.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2015-10-20 23:08:49 -0500

Seen: 610 times

Last updated: Jan 20 '16