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

dwikyerl's profile - activity

2017-01-31 05:28:56 -0500 commented question Astra Failed to set USB interface

I think my astra is broken, I tried it on Windows 10 and other computer, it always produces same error. Maybe I'll replace it. Thank you for your help

2017-01-31 04:30:20 -0500 received badge  Famous Question (source)
2017-01-30 19:36:40 -0500 received badge  Editor (source)
2017-01-30 07:31:12 -0500 commented question Astra Failed to set USB interface

I have problem uninstalling ros-indigo-openni2-* because turtlebot packages depend on it. And how to fix Device open failed Could not open "2bc5/0401@3/10": Failed to set USB interface! ?

2017-01-30 07:00:22 -0500 received badge  Notable Question (source)
2017-01-30 06:58:29 -0500 commented question Astra Failed to set USB interface

Yes, I installed openni2 from ros-indigo-openni2-camera. But I'm using astra_camera from here : https://github.com/orbbec/ros_astra_c... . Is the ros-*-openni2- affecting astra SDK ? Okay I will try install OpenNI2 from that link, thank you

2017-01-30 05:56:17 -0500 received badge  Popular Question (source)
2017-01-30 05:07:17 -0500 commented question Astra Failed to set USB interface

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 using rostopic list, some topics won't run e.g : /camera/rgb/image_raw

2017-01-30 03:54:18 -0500 asked a question 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 ...
(more)
2017-01-29 22:04:07 -0500 commented answer cannot find -lOpenNI2Orbbec. ROS Orbbec Astra camera

There is no Astra OpenNI2 file in my /usr/lib