Astra Failed to set USB interface
UPDATE :
I have followed all instructions on https://github.com/orbbec/ros_astra_c... and installed the launcher from : https://github.com/orbbec/ros_astra_l... , I also uninstalled ros-indigo-openni2-*
and configured 56-orbbec-usb.rules
. Now, I encountering a new issue when I start roslaunch astra_launch astra.launch
it shows fail info:
[ INFO] [1485844378.423165924]: Device "2bc5/0401@3/6" found.
[ INFO] [1485844378.430540517]: No matching device found.... waiting for devices. Reason: astra_wrapper::AstraDevice::AstraDevice(const string&) @ /home/dwikyerl/catkin_ws/src/ros_astra_camera/src/astra_device.cpp @ 76 : Device open failed
Could not open "2bc5/0401@3/6": Failed to set USB interface!
rosrun astra_camera astra_list_device
's output (no serial number ?) :
[ INFO] [1485844451.350552419]: Device "2bc5/0401@3/6" found.
Found 1 devices:
Device #0:
Uri: 2bc5/0401@3/6 (Vendor: Orbbec, Name: Astra, Vendor ID: 2bc5, Product ID: 401)
Serial number:
lsusb -v ouput
's output:
Bus 003 Device 011: ID 2bc5:0401
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x2bc5
idProduct 0x0401
bcdDevice 0.01
iManufacturer 1 (error)
iProduct 2 (error)
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 145
bNumInterfaces 3
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 500mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 3 (error)
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 1 Audio
bInterfaceSubClass 1 Control Device
bInterfaceProtocol 0
iInterface 4 (error)
AudioControl Interface Descriptor:
bLength 9
bDescriptorType 36
bDescriptorSubtype 1 (HEADER)
bcdADC 1.00
wTotalLength 43
bInCollection 1
baInterfaceNr( 0) 2
AudioControl Interface Descriptor:
bLength 12
bDescriptorType 36
bDescriptorSubtype 2 (INPUT_TERMINAL)
bTerminalID 1
wTerminalType 0x0201 Microphone
bAssocTerminal 0
bNrChannels 2
wChannelConfig 0x0003
Left Front (L)
Right Front (R)
iChannelNames 0
iTerminal 0
AudioControl Interface Descriptor:
bLength 9
bDescriptorType 36
bDescriptorSubtype 3 (OUTPUT_TERMINAL)
bTerminalID 2
wTerminalType 0x0101 USB Streaming
bAssocTerminal 0
bSourceID 3
iTerminal 0
AudioControl Interface Descriptor:
bLength 13
bDescriptorType 36
bDescriptorSubtype 6 (FEATURE_UNIT)
bUnitID 3
bSourceID 1
bControlSize 2
bmaControls( 0) 0x03
bmaControls( 0) 0x00
Mute Control
Volume Control
bmaControls( 1) 0x03
bmaControls( 1) 0x00
Mute Control
Volume Control
bmaControls( 2) 0x03
bmaControls( 2) 0x00
Mute Control
Volume Control
iFeature 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 1 Audio
bInterfaceSubClass 2 Streaming
bInterfaceProtocol 0
iInterface 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 1
bNumEndpoints 1
bInterfaceClass 1 Audio
bInterfaceSubClass 2 Streaming
bInterfaceProtocol 0
iInterface 0
AudioStreaming Interface Descriptor:
bLength 7
bDescriptorType 36
bDescriptorSubtype 1 (AS_GENERAL)
bTerminalLink 2
bDelay 1 frames
wFormatTag 1 PCM
AudioStreaming Interface Descriptor:
bLength 20
bDescriptorType ...
Have you tried run the standalone camera and reload udev system service? Type
$ sudo service udev reload; sudo service udev restart; roslaunch astra_launch astra.launch
and check output: e.g.$ rostopic echo /camera/depth/points
I have done it, I checked /camera/depth/image topic and /camera/depth/image/compressed but it doesn't show anything. Also I noticed, everytime I run
roslaunch astra_launch astra.launch
and check the topics usingrostopic list
, some topics won't run e.g :/camera/rgb/image_raw
I am guessing incompatible OpenNI library with Astra. You have probably installed OpenNI from
ros-*-openni2-*
, Astra doesn't working for me too with this package.You can try uninstall it and call
ros-*-openni-camera
or even better take steps to https://3dclub.orbbec3d.com/t/univers...Yes, I installed openni2 from
ros-indigo-openni2-camera
. But I'm usingastra_camera
from here : https://github.com/orbbec/ros_astra_c... . Is theros-*-openni2-
affecting astra SDK ? Okay I will try install OpenNI2 from that link, thank youYes, It should be affected, even though https://github.com/orbbec/ros_astra_c...
I have problem uninstalling
ros-indigo-openni2-*
because turtlebot packages depend on it. And how to fixDevice open failed Could not open "2bc5/0401@3/10": Failed to set USB interface!
?hmm, maybe this post will help you: https://3dclub.orbbec3d.com/t/orbbec-... , it is only guessing, there is a lot of things that can go wrong.