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

Error in executing usbcam_node by using raspberrypi2 (indigo)

asked 2017-03-15 07:22:50 -0600

sasadasd gravatar image

updated 2017-03-15 08:14:16 -0600

Hello,

I 'd like to use usbcam_node in raspberrypi2.I have already installed indigo . And I installed somethings and execute some commands as following procedures.

(1)$ ls /dev/video* ->/dev/video0 is displayed.

(2)$ sudo apt-get update (3)$ sudo apt-get install ros-indigo-usb-cam (4)$ roscore (5)$ rosparam set usb_cam/pixel_format yuyv (6)$ rosrun usb_cam usb_cam_node (7)$ rostopic list ->/rosout /rosout_agg /usb_cam/camera_info / usb_cam/image_raw

(8)$ rosrun image_view image_view image:=/usb_cam/image_raw

Then the window is appeared but the screen is gray and the error is appeared.

[INFO][148578891.02916418]:Using transport "raw" /opt/ros/indigo/lib/image_view/image_view:symbol lookup error :/opt/ros/indigo/lib/image_view/image_view: undefined symbol :_ZN9cv_bridge18cvtColorForDisplayERKN5boost10shared_ptrIKNS_7CvImageEEERKSsNS_25CvtColorForDisplayOptionE

Could you let me know how to resolve the problem?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2017-03-15 09:45:41 -0600

sasadasd gravatar image

updated 2018-01-27 22:02:45 -0600

jayess gravatar image

I really appreciated your help.

When I executed the following command, I succeded.

$ sudo apt-get update 
$ sudo apt-get install ros-indigo-image-view
edit flag offensive delete link more
1

answered 2017-03-15 08:49:38 -0600

It seems to be the same error described here and here.

Should be fixed in latest image_view releases.

Anyway you can try to execute this

rostopic echo /usb_cam/image_raw

if the message in printed without errors you can be more confidential that the problem rely on image_view.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2017-03-15 07:22:50 -0600

Seen: 255 times

Last updated: Jan 27 '18