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

ROS+Astra camera: Failed to open the USB device!

asked 2020-09-29 15:38:34 -0500

Varun gravatar image

updated 2020-09-29 15:39:03 -0500

I have a astra camera and ros melodic.

I catkin_make the workspace and followed the tutorial of ASTRA CAMERA ROS TUTORIAL

I sourced my workspace and also ran roslaunch astra_camera astra.launch

But i get the below error

  6023131 INFO       Setting Device.UsbInterface to 2...
  6023140 INFO       Device.UsbInterface value did not change.
  6023968 INFO       Module 'Device' configuration was loaded from file.
  6023985 VERBOSE    Connecting to USB device...
  6023991 VERBOSE    Trying to open sensor '2bc5/0401@1/6'...
  6024032 VERBOSE    Shutting down USB depth read thread...
  6024042 VERBOSE    Shutting down USB image read thread...
  6024048 VERBOSE    Device closed successfully
  6024062 VERBOSE    Shutting down Scheduler thread..

No matching device found.... waiting for devices. Reason: astra_wrapper::AstraDevice::AstraDevice(const string&) @ /home/varun-flox/camera_ws/src/ros_astra_camera/src/astra_device.cpp @ 79 : 

Device open failed Could not open "2bc5/0401@1/6": Failed to open the USB device!

Please help me in this issue

thanks in advance

edit retag flag offensive close merge delete

Comments

Are you sure that this packages is compatible with melodic? At wiki there is only kinetic (http://wiki.ros.org/astra_camera)

Solrac3589 gravatar image Solrac3589  ( 2020-10-01 02:33:47 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-10-01 10:56:58 -0500

Varun gravatar image

I solved it issue myself using the following commands

in src/ros_astra_camera

$ sudo cp 56-orbbec-usb.rules /etc/udev/rules.d/

$ sudo touch /etc/udev/rules.d/orbbec-usb.rules

$ sudo udevadm control  --reload -rules

unplug and replug the camera to the usb port of the pi

$ source devel/setup.bash

$ roslaunch astra_camera astra.launch

The udev rules of the astra camera has to be in the /etc/udev/rules.d/ folder with chmod +x permission

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2020-09-29 15:38:34 -0500

Seen: 1,693 times

Last updated: Oct 01 '20